sp-mask.h revision a34103bb11674e2d8489be2022aea65ea639c6b9
#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 ())
struct SPMaskView;
} // namespace Inkscape
unsigned int maskUnits_set : 1;
unsigned int maskUnits : 1;
unsigned int maskContentUnits_set : 1;
unsigned int maskContentUnits : 1;
};
struct SPMaskClass {
};
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