sp-clippath.h revision a34103bb11674e2d8489be2022aea65ea639c6b9
#ifndef SEEN_SP_CLIPPATH_H
#define SEEN_SP_CLIPPATH_H
/*
* SVG <clipPath> implementation
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Abhishek Sharma
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2001-2002 authors
* Copyright (C) 2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#define SP_TYPE_CLIPPATH (sp_clippath_get_type())
#define SP_CLIPPATH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_CLIPPATH, SPClipPathClass))
struct SPClipPathView;
#include "sp-object-group.h"
#include "uri-references.h"
} // namespace Inkscape
unsigned int clipPathUnits_set : 1;
unsigned int clipPathUnits : 1;
static const gchar *create(GSList *reprs, SPDocument *document, Geom::Affine const* applyTransform);
static GType sp_clippath_get_type(void);
};
};
SPClipPath *getObject() const {
}
/**
* If the owner element of this reference (the element with <... clippath="...">)
* is a child of the clippath it refers to, return false.
* \return false if obj is not a clippath or if obj is a parent of this
* reference's owner element. True otherwise.
*/
if (!SP_IS_CLIPPATH(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 clippath reference "
"<%s clippath=\"%s\"> in <%s id=\"%s\">",
return false;
}
return true;
}
};
#endif // SEEN_SP_CLIPPATH_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :