sp-filter.cpp revision 2a67507e7a675c7c516ab207418d3a5c7bfe5989
2521N/A#define __SP_FILTER_CPP__
2521N/A#ifdef HAVE_CONFIG_H
2521N/A#include "attributes.h"
2521N/A#include "document.h"
2521N/A#include "sp-filter.h"
2521N/A#include "sp-filter-reference.h"
2521N/A#define SP_MACROS_SILENT
3998N/Astatic void sp_filter_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr);
2521N/Astatic Inkscape::XML::Node *sp_filter_write(SPObject *object, Inkscape::XML::Node *repr, guint flags);
3998N/A if (!filter_type) {
2892N/A sizeof(SPFilterClass),
2521N/A filter_type = g_type_register_static(SP_TYPE_OBJECT, "SPFilter", &filter_info, (GTypeFlags)0);
6850N/A return filter_type;
2521N/A filter->href->changedSignal().connect(sigc::bind(sigc::ptr_fun(filter_ref_changed), filter));
* sp-object-repr.cpp's repr_name_entries array.
switch (key) {
case SP_ATTR_FILTERUNITS:
if (value) {
case SP_ATTR_PRIMITIVEUNITS:
if (value) {
case SP_ATTR_X:
case SP_ATTR_Y:
case SP_ATTR_WIDTH:
case SP_ATTR_HEIGHT:
case SP_ATTR_FILTERRES:
case SP_ATTR_XLINK_HREF:
if (value) {
if (!repr) {
return repr;
if (old_ref) {
return primitive;