26 if (is<SPMeshrow>(obj)) {
27 result = cast<SPMeshrow>(obj);
40 if (is<SPMeshrow>(obj)) {
41 auto meshrow = cast<SPMeshrow>(obj);
43 if (meshrow->getNextMeshrow() ==
this) {
46 g_warning(
"SPMeshrow previous/next relationship broken");
80 flags &= SP_OBJECT_MODIFIED_CASCADE;
81 std::vector<SPObject *> l;
88 if (flags || (
child->mflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
89 child->emitModified(flags);
100 if ((flags & SP_OBJECT_WRITE_BUILD) && !
repr) {
Interface for refcounted XML nodes.
Typed SVG document implementation.
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags) override
Virtual set: set attribute to value.
SPMeshrow * getPrevMeshrow()
SPMeshrow * getNextMeshrow()
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void set(SPAttr key, const char *value) override
Virtual build: set meshrow attributes from its associated XML node.
void modified(unsigned int flags) override
modified
SPObject is an abstract base class of all of the document nodes at the SVG document level.
Inkscape::XML::Node * repr
virtual Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags)
SPObject * getPrev()
Returns previous object in sibling list or NULL.
virtual void build(SPDocument *doc, Inkscape::XML::Node *repr)
SPMeshrow: SVG <meshrow> implementation.
SPObject * sp_object_unref(SPObject *object, SPObject *owner)
Decrease reference count of object, with possible debugging and finalization.
SPObject * sp_object_ref(SPObject *object, SPObject *owner)
Increase reference count of object, with possible debugging.
Interface for XML documents.
virtual Node * createElement(char const *name)=0
SPStyle - a style object for SPItem objects.