Searched defs:repr (Results 1 - 25 of 170) sorted by relevance

1234567

/inkscape/src/
H A Dsp-desc.cpp13 #include "xml/repr.h"
22 * Writes it's settings to an incoming repr object, if any.
24 Inkscape::XML::Node* SPDesc::write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags) { argument
25 if (!repr) {
26 repr = this->getRepr()->duplicate(doc);
29 SPObject::write(doc, repr, flags);
31 return repr;
H A Dsp-title.cpp13 #include "xml/repr.h"
21 Inkscape::XML::Node* SPTitle::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) { argument
24 if (!repr) {
25 repr = object->getRepr()->duplicate(xml_doc);
28 SPObject::write(xml_doc, repr, flags);
30 return repr;
H A Dknotholder.h74 Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners. member in class:KnotHolder
81 bool local_change; ///< if true, no need to recreate knotholder if repr was changed.
H A Dsp-linear-gradient.cpp6 #include "xml/repr.h"
21 void SPLinearGradient::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
22 SPGradient::build(document, repr);
62 * Callback: write attributes to associated repr.
64 Inkscape::XML::Node* SPLinearGradient::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) { argument
65 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
66 repr = xml_doc->createElement("svg:linearGradient");
70 sp_repr_set_svg_double(repr, "x1", this->x1.computed);
74 sp_repr_set_svg_double(repr, "y1", this->y1.computed);
78 sp_repr_set_svg_double(repr, "x
[all...]
H A Dsp-defs.cpp20 #include "xml/repr.h"
74 Inkscape::XML::Node* SPDefs::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) { argument
77 if (!repr) {
78 repr = xml_doc->createElement("svg:defs");
90 repr->addChild((Inkscape::XML::Node *) l->data, NULL);
101 SPObject::write(xml_doc, repr, flags);
103 return repr;
H A Dsp-mesh-patch.cpp21 #include "xml/repr.h"
69 void SPMeshpatch::build(SPDocument* doc, Inkscape::XML::Node* repr) { argument
70 SPObject::build(doc, repr);
98 Inkscape::XML::Node* SPMeshpatch::write(Inkscape::XML::Document* xml_doc, Inkscape::XML::Node* repr, guint flags) { argument
99 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
100 repr = xml_doc->createElement("svg:meshpatch");
103 SPObject::write(xml_doc, repr, flags);
105 return repr;
109 * Virtual write: write object attributes to repr.
H A Dsp-mesh-row.cpp20 #include "xml/repr.h"
66 void SPMeshrow::build(SPDocument* doc, Inkscape::XML::Node* repr) { argument
67 SPObject::build(doc, repr);
81 Inkscape::XML::Node* SPMeshrow::write(Inkscape::XML::Document* xml_doc, Inkscape::XML::Node* repr, guint flags) { argument
82 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
83 repr = xml_doc->createElement("svg:meshrow");
86 SPObject::write(xml_doc, repr, flags);
88 return repr;
92 * Virtual write: write object attributes to repr.
H A Dsp-missing-glyph.cpp17 #include "xml/repr.h"
34 void SPMissingGlyph::build(SPDocument* doc, Inkscape::XML::Node* repr) { argument
35 SPObject::build(doc, repr);
106 Inkscape::XML::Node* SPMissingGlyph::write(Inkscape::XML::Document* xml_doc, Inkscape::XML::Node* repr, guint flags) { argument
107 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
108 repr = xml_doc->createElement("svg:glyph");
112 repr->setAttribute("d", glyph->d);
113 sp_repr_set_svg_double(repr, "horiz-adv-x", glyph->horiz_adv_x);
114 sp_repr_set_svg_double(repr, "vert-origin-x", glyph->vert_origin_x);
115 sp_repr_set_svg_double(repr, "ver
[all...]
H A Dsp-object-group.cpp16 #include "xml/repr.h"
46 Inkscape::XML::Node *SPObjectGroup::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) { argument
48 if (!repr) {
49 repr = xml_doc->createElement("svg:g");
62 repr->addChild(static_cast<Inkscape::XML::Node *>(l->data), NULL);
72 SPObject::write(xml_doc, repr, flags);
74 return repr;
H A Dsp-script.cpp26 void SPScript::build(SPDocument* doc, Inkscape::XML::Node* repr) { argument
27 SPObject::build(doc, repr);
37 * our name must be associated with a repr via "sp_object_type_register". Best done through
38 * sp-object-repr.cpp's repr_name_entries array.
74 Inkscape::XML::Node* SPScript::write(Inkscape::XML::Document* /*doc*/, Inkscape::XML::Node* repr, guint /*flags*/) { argument
75 return repr;
78 //static Inkscape::XML::Node *sp_script_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
87 if (!repr) {
88 repr = xml_doc->createElement("svg:script");
100 repr
[all...]
H A Dsp-solid-color.cpp17 #include "xml/repr.h"
32 void SPSolidColor::build(SPDocument* doc, Inkscape::XML::Node* repr) { argument
33 SPPaintServer::build(doc, repr);
58 Inkscape::XML::Node* SPSolidColor::write(Inkscape::XML::Document* xml_doc, Inkscape::XML::Node* repr, guint flags) { argument
59 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
60 repr = xml_doc->createElement("svg:solidColor");
63 SPObject::write(xml_doc, repr, flags);
65 return repr;
78 * Virtual write: write object attributes to repr.
H A Dsp-tag.cpp15 #include "xml/repr.h"
59 * our name must be associated with a repr via "sp_object_type_register". Best done through
60 * sp-object-repr.cpp's repr_name_entries array.
63 SPTag::build(SPDocument *document, Inkscape::XML::Node *repr) argument
66 SPObject::build(document, repr);
111 * Writes its settings to an incoming repr object, if any.
114 SPTag::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) argument
116 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
117 repr = doc->createElement("inkscape:tag");
123 repr
[all...]
H A Dpersp3d.h47 // Also write the list of boxes into the xml repr and vice versa link boxes to their persp3d?
65 virtual void build(SPDocument* doc, Inkscape::XML::Node* repr);
72 virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags);
77 inline Persp3D * persp3d_get_from_repr (Inkscape::XML::Node *repr) { argument
78 return SP_PERSP3D(SP_ACTIVE_DOCUMENT->getObjectByRepr(repr));
H A Dsp-glyph.cpp17 #include "xml/repr.h"
37 void SPGlyph::build(SPDocument *document, Inkscape::XML::Node *repr) argument
39 SPObject::build(document, repr);
243 Inkscape::XML::Node* SPGlyph::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) argument
245 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
246 repr = xml_doc->createElement("svg:glyph");
250 repr->setAttribute("unicode", glyph->unicode);
251 repr->setAttribute("glyph-name", glyph->glyph_name);
252 repr->setAttribute("d", glyph->d);
253 sp_repr_set_svg_double(repr, "orientatio
[all...]
/inkscape/src/filters/
H A Dmergenode.cpp17 #include "xml/repr.h"
31 * our name must be associated with a repr via "sp_object_type_register". Best done through
32 * sp-object-repr.cpp's repr_name_entries array.
34 void SPFeMergeNode::build(SPDocument */*document*/, Inkscape::XML::Node */*repr*/) {
75 * Writes its settings to an incoming repr object, if any.
77 Inkscape::XML::Node* SPFeMergeNode::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) { argument
80 if (repr) {
82 //repr->mergeFrom(object->getRepr(), "id");
84 repr = this->getRepr()->duplicate(doc);
88 SPObject::write(doc, repr, flag
[all...]
H A Dtile.cpp17 #include "xml/repr.h"
29 * our name must be associated with a repr via "sp_object_type_register". Best done through
30 * sp-object-repr.cpp's repr_name_entries array.
32 void SPFeTile::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
33 SPFilterPrimitive::build(document, repr);
70 * Writes its settings to an incoming repr object, if any.
72 Inkscape::XML::Node* SPFeTile::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) { argument
73 /* TODO: Don't just clone, but create a new repr node and write all
75 if (!repr) {
76 repr
[all...]
H A Ddistantlight.cpp23 #include "xml/repr.h"
38 * our name must be associated with a repr via "sp_object_type_register". Best done through
39 * sp-object-repr.cpp's repr_name_entries array.
41 void SPFeDistantLight::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
42 SPObject::build(document, repr);
136 * Writes its settings to an incoming repr object, if any.
138 Inkscape::XML::Node* SPFeDistantLight::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) { argument
139 if (!repr) {
140 repr = this->getRepr()->duplicate(doc);
144 sp_repr_set_css_double(repr, "azimut
[all...]
H A Dpointlight.cpp23 #include "xml/repr.h"
38 * our name must be associated with a repr via "sp_object_type_register". Best done through
39 * sp-object-repr.cpp's repr_name_entries array.
41 void SPFePointLight::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
42 SPObject::build(document, repr);
160 * Writes its settings to an incoming repr object, if any.
162 Inkscape::XML::Node* SPFePointLight::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) { argument
163 if (!repr) {
164 repr = this->getRepr()->duplicate(doc);
168 sp_repr_set_css_double(repr, "
[all...]
H A Dspotlight.cpp23 #include "xml/repr.h"
42 * our name must be associated with a repr via "sp_object_type_register". Best done through
43 * sp-object-repr.cpp's repr_name_entries array.
45 void SPFeSpotLight::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
46 SPObject::build(document, repr);
284 * Writes its settings to an incoming repr object, if any.
286 Inkscape::XML::Node* SPFeSpotLight::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) { argument
287 if (!repr) {
288 repr = this->getRepr()->duplicate(doc);
292 sp_repr_set_css_double(repr, "
[all...]
/inkscape/src/widgets/
H A Dsp-xmlview-content.h27 Inkscape::XML::Node * repr; member in struct:SPXMLViewContent
37 GtkWidget * sp_xmlview_content_new (Inkscape::XML::Node * repr);
39 #define SP_XMLVIEW_CONTENT_GET_REPR(text) (SP_XMLVIEW_CONTENT (text)->repr)
41 void sp_xmlview_content_set_repr (SPXMLViewContent * text, Inkscape::XML::Node * repr);
H A Dsp-xmlview-tree.h32 Inkscape::XML::Node * repr; member in struct:SPXMLViewTree
43 GtkWidget * sp_xmlview_tree_new (Inkscape::XML::Node * repr, void * factory, void * data);
45 #define SP_XMLVIEW_TREE_REPR(tree) (SP_XMLVIEW_TREE (tree)->repr)
47 void sp_xmlview_tree_set_repr (SPXMLViewTree * tree, Inkscape::XML::Node * repr);
50 gboolean sp_xmlview_tree_get_repr_node (SPXMLViewTree * tree, Inkscape::XML::Node * repr, GtkTreeIter *node);
H A Dsp-xmlview-attr-list.h27 Inkscape::XML::Node * repr; member in struct:SPXMLViewAttrList
38 GtkWidget * sp_xmlview_attr_list_new (Inkscape::XML::Node * repr);
40 #define SP_XMLVIEW_ATTR_LIST_GET_REPR(list) (SP_XMLVIEW_ATTR_LIST (list)->repr)
42 void sp_xmlview_attr_list_set_repr (SPXMLViewAttrList * list, Inkscape::XML::Node * repr);
/inkscape/src/xml/
H A Dnode-event-vector.h29 inline void sp_repr_synthesize_events (Inkscape::XML::Node *repr, const Inkscape::XML::NodeEventVector *vector, void* data) { argument
30 repr->synthesizeEvents(vector, data);
36 inline void sp_repr_add_listener (Inkscape::XML::Node *repr, const Inkscape::XML::NodeEventVector *vector, void* data) { argument
37 repr->addListener(vector, data);
43 inline void sp_repr_remove_listener_by_data (Inkscape::XML::Node *repr, void* data) { argument
44 repr->removeListenerByData(data);
56 void (* child_added) (Node *repr, Node *child, Node *ref, void* data);
57 void (* child_removed) (Node *repr, Node *child, Node *ref, void* data);
58 void (* attr_changed) (Node *repr, char const *key, char const *oldval, char const *newval, bool is_interactive, void* data);
59 void (* content_changed) (Node *repr, cha
[all...]
H A Drepr.h56 void sp_repr_write_stream(Inkscape::XML::Node *repr, Inkscape::IO::Writer &out,
80 SPCSSAttr *sp_repr_css_attr(Inkscape::XML::Node *repr, char const *attr);
82 SPCSSAttr *sp_repr_css_attr_inherited(Inkscape::XML::Node *repr, char const *attr);
91 void sp_repr_css_set(Inkscape::XML::Node *repr, SPCSSAttr *css, char const *key);
94 void sp_repr_css_change(Inkscape::XML::Node *repr, SPCSSAttr *css, char const *key);
95 void sp_repr_css_change_recursive(Inkscape::XML::Node *repr, SPCSSAttr *css, char const *key);
100 /// Remove \a repr from children of its parent node.
101 inline void sp_repr_unparent(Inkscape::XML::Node *repr) { argument
102 if (repr) {
103 Inkscape::XML::Node *parent=repr
[all...]
/inkscape/src/extension/
H A Dloader.cpp44 Inkscape::XML::Node *repr = doc->root(); local
45 Inkscape::XML::Node *child_repr = repr->firstChild();

Completed in 408 milliseconds

1234567