sp-mask.h revision bd9c691d934ed2c727b54c8d3a658cbcddc97754
#ifndef SEEN_SP_MASK_H
#define SEEN_SP_MASK_H
/*
* SVG <mask> implementation
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Abhishek Sharma
*
* Copyright (C) 2003 authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-object-group.h"
#include "uri-references.h"
#define SP_TYPE_MASK (sp_mask_get_type ())
} // namespace Inkscape
unsigned int maskUnits_set : 1;
unsigned int maskUnits : 1;
unsigned int maskContentUnits_set : 1;
unsigned int maskContentUnits : 1;
};
struct SPMaskClass {
};
virtual Inkscape::XML::Node* onWrite(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
};
GType sp_mask_get_type (void);
}
/**
* If the owner element of this reference (the element with <... mask="...">)
* is a child of the mask it refers to, return false.
* \return false if obj is not a mask or if obj is a parent of this
* reference's owner element. True otherwise.
*/
if (!SP_IS_MASK(obj)) {
return false;
}
//XML Tree being used directly here while it shouldn't be...
//XML Tree being used directly here while it shouldn't be...
if (owner_repr != NULL) {
}
}
g_warning("Ignoring recursive mask reference "
"<%s mask=\"%s\"> in <%s id=\"%s\">",
return false;
}
return true;
}
};
const gchar *sp_mask_create (GSList *reprs, SPDocument *document, Geom::Affine const* applyTransform);
#endif // SEEN_SP_MASK_H