Lines Matching defs:flags
33 void SPDefs::update(SPCtx *ctx, guint flags) {
34 if (flags & SP_OBJECT_MODIFIED_FLAG) {
35 flags |= SP_OBJECT_PARENT_MODIFIED_FLAG;
38 flags &= SP_OBJECT_MODIFIED_CASCADE;
42 if (flags || (child->uflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
43 child->updateDisplay(ctx, flags);
49 void SPDefs::modified(unsigned int flags) {
50 if (flags & SP_OBJECT_MODIFIED_FLAG) {
51 flags |= SP_OBJECT_PARENT_MODIFIED_FLAG;
54 flags &= SP_OBJECT_MODIFIED_CASCADE;
67 if (flags || (child->mflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
68 child->emitModified(flags);
74 Inkscape::XML::Node* SPDefs::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
75 if (flags & SP_OBJECT_WRITE_BUILD) {
83 Inkscape::XML::Node *crepr = child->updateRepr(xml_doc, NULL, flags);
97 child->updateRepr(flags);
101 SPObject::write(xml_doc, repr, flags);