Searched refs:setAttribute (Results 1 - 25 of 154) sorted by relevance

1234567

/inkscape/src/xml/
H A Drepr.cpp39 doc->setAttribute("version", "1.0");
40 doc->setAttribute("standalone", "no");
H A Dnode.h207 virtual void setAttribute(char const *key, char const *value, bool is_interactive=false)=0;
209 void setAttribute(char const *key, Glib::ustring const &value, bool is_interactive=false) function in class:Inkscape::XML::Node
211 setAttribute(key, value.empty() ? NULL : value.c_str(), is_interactive);
214 void setAttribute(Glib::ustring const &key, Glib::ustring const &value, bool is_interactive=false) function in class:Inkscape::XML::Node
216 setAttribute( key.empty() ? NULL : key.c_str(),
H A Dlog-builder.h64 void setAttribute(Node &node, GQuark name,
/inkscape/src/
H A Dsp-ellipse.cpp277 repr->setAttribute("cx", NULL );
278 repr->setAttribute("cy", NULL );
279 repr->setAttribute("rx", NULL );
280 repr->setAttribute("ry", NULL );
281 repr->setAttribute("r", NULL );
285 repr->setAttribute("sodipodi:type", "arc");
296 repr->setAttribute("sodipodi:open", (!_closed) ? "true" : NULL);
298 repr->setAttribute("sodipodi:end", NULL);
299 repr->setAttribute("sodipodi:start", NULL);
300 repr->setAttribute("sodipod
[all...]
H A Dpath-chemistry.cpp152 repr->setAttribute("id", id);
154 repr->setAttribute("transform", transform);
156 repr->setAttribute("style", style);
158 repr->setAttribute("inkscape:path-effect", path_effect);
164 repr->setAttribute("inkscape:original-d", dstring);
166 repr->setAttribute("d", dstring);
244 repr->setAttribute("style", style);
246 repr->setAttribute("inkscape:path-effect", path_effect);
250 repr->setAttribute("inkscape:original-d", str);
252 repr->setAttribute("
[all...]
H A Dsp-marker.cpp237 repr->setAttribute("markerUnits", "strokeWidth");
239 repr->setAttribute("markerUnits", "userSpaceOnUse");
242 repr->setAttribute("markerUnits", NULL);
248 repr->setAttribute("refX", NULL);
254 repr->setAttribute("refY", NULL);
260 repr->setAttribute("markerWidth", NULL);
266 repr->setAttribute("markerHeight", NULL);
271 repr->setAttribute("orient", "auto");
273 repr->setAttribute("orient", "auto-start-reverse");
278 repr->setAttribute("orien
[all...]
H A Dtext-chemistry.cpp141 text->getRepr()->setAttribute("transform", NULL);
153 textpath->setAttribute("xlink:href", href_str);
156 textpath->setAttribute("startOffset", "100%");
158 textpath->setAttribute("startOffset", "50%");
167 copy->setAttribute("sodipodi:role", NULL);
168 copy->setAttribute("x", NULL);
169 copy->setAttribute("y", NULL);
178 text->getRepr()->setAttribute("x", NULL);
179 text->getRepr()->setAttribute("y", NULL);
224 o->getRepr()->setAttribute("d
[all...]
H A Dfilter-chemistry.cpp138 repr->setAttribute("mode", "normal");
147 repr->setAttribute("order", "3 3");
148 repr->setAttribute("kernelMatrix", "0 0 0 0 0 0 0 0 0");
157 repr->setAttribute("stdDeviation", "1");
166 repr->setAttribute("dx", "0");
167 repr->setAttribute("dy", "0");
208 //repr->setAttribute("inkscape:collect", "always");
225 //b_repr->setAttribute("inkscape:collect", "always");
272 repr->setAttribute("inkscape:collect", "always");
297 b_repr->setAttribute("inkscap
[all...]
H A Dsp-filter.cpp293 repr->setAttribute("filterUnits", "userSpaceOnUse");
296 repr->setAttribute("filterUnits", "objectBoundingBox");
304 repr->setAttribute("primitiveUnits", "objectBoundingBox");
307 repr->setAttribute("primitiveUnits", "userSpaceOnUse");
315 repr->setAttribute("x", NULL);
321 repr->setAttribute("y", NULL);
327 repr->setAttribute("width", NULL);
333 repr->setAttribute("height", NULL);
338 repr->setAttribute("filterRes", tmp);
341 repr->setAttribute("filterRe
[all...]
H A Dsp-tag.cpp123 repr->setAttribute("inkscape:expanded", "true");
125 repr->setAttribute("inkscape:expanded", NULL);
H A Dsp-path.cpp257 repr->setAttribute("d", str);
260 repr->setAttribute("d", NULL);
266 repr->setAttribute("inkscape:original-d", str);
269 repr->setAttribute("inkscape:original-d", NULL);
349 repr->setAttribute("d", str);
352 repr->setAttribute("d", NULL);
H A Dstyle.cpp676 tempnode->setAttribute(i->getEntryName().data(), i->getString().data());
861 this->object->getRepr()->setAttribute("clip-path", val);
873 this->object->getRepr()->setAttribute("mask", val);
1624 repr->setAttribute("opacity", NULL);
1627 repr->setAttribute("color", NULL);
1630 repr->setAttribute("color-interpolation", NULL);
1633 repr->setAttribute("color-interpolation-filters", NULL);
1636 repr->setAttribute("solid-color", NULL);
1639 repr->setAttribute("solid-opacity", NULL);
1642 repr->setAttribute("fil
[all...]
H A Dsp-stop.cpp154 repr->setAttribute("style", os.str().c_str());
155 repr->setAttribute("stop-color", NULL);
156 repr->setAttribute("stop-opacity", NULL);
H A Dsp-root.cpp59 repr->setAttribute("version", SVG_VERSION);
317 repr->setAttribute("inkscape:version", Inkscape::version_string);
322 repr->setAttribute("version", myversion);
337 repr->setAttribute("width", sp_svg_length_write_with_units(this->width).c_str());
338 repr->setAttribute("height", sp_svg_length_write_with_units(this->height).c_str());
345 repr->setAttribute("viewBox", os.str().c_str());
H A Dsp-anchor.cpp78 #define COPY_ATTR(rd,rs,key) (rd)->setAttribute((key), rs->attribute(key));
85 repr->setAttribute("xlink:href", this->href);
H A Did-clash.cpp236 elem->getRepr()->setAttribute("id", new_id);
268 it->elem->getRepr()->setAttribute(it->attr, new_uri);
278 it->elem->getRepr()->setAttribute(it->attr, url);
289 it->elem->getRepr()->setAttribute("style", style_string);
336 it->elem->getRepr()->setAttribute(it->attr, new_uri);
346 it->elem->getRepr()->setAttribute(it->attr, url);
357 it->elem->getRepr()->setAttribute("style", style_string);
403 elem->getRepr()->setAttribute("id", new_name2);
H A Dsp-symbol.cpp102 repr->setAttribute("viewBox", this->getRepr()->attribute("viewBox"));
105 repr->setAttribute("preserveAspectRatio", this->getRepr()->attribute("preserveAspectRatio"));
H A Dsp-namedview.cpp160 newnode->setAttribute("id", "GridFromPre046Settings");
161 newnode->setAttribute("type", Inkscape::CanvasGrid::getSVGName(Inkscape::GRID_RECTANGULAR));
162 newnode->setAttribute("originx", gridoriginx);
163 newnode->setAttribute("originy", gridoriginy);
164 newnode->setAttribute("spacingx", gridspacingx);
165 newnode->setAttribute("spacingy", gridspacingy);
166 newnode->setAttribute("color", gridcolor);
167 newnode->setAttribute("empcolor", gridempcolor);
168 newnode->setAttribute("opacity", gridopacity);
169 newnode->setAttribute("empopacit
[all...]
/inkscape/share/extensions/
H A DjessyInk.js133 ROOT_NODE.setAttribute("viewBox", "0 0 " + WIDTH + " " + HEIGHT);
136 ROOT_NODE.setAttribute("width", "100%");
137 ROOT_NODE.setAttribute("height", "100%");
154 ROOT_NODE.setAttribute("style", newAttribute);
171 rectNode.setAttribute("x", 0);
172 rectNode.setAttribute("y", 0);
173 rectNode.setAttribute("width", WIDTH);
174 rectNode.setAttribute("height", HEIGHT);
176 clipPath.setAttribute("id", "jessyInkSlideClipPath");
177 clipPath.setAttribute("clipPathUnit
[all...]
/inkscape/src/extension/internal/filter/
H A Dfilter.cpp83 to->setAttribute(attr, from->attribute(attr));
87 to->setAttribute(attr, srcGraphic);
91 to->setAttribute(attr, srcGraphicAlpha);
107 to_child->setAttribute("in", srcGraphic);
181 filternode->lastChild()->setAttribute("result", FILTER_SRC_GRAPHIC);
183 alpha->setAttribute("result", FILTER_SRC_GRAPHIC_ALPHA);
184 alpha->setAttribute("in", FILTER_SRC_GRAPHIC); // not required, but we're being explicit
185 alpha->setAttribute("values", "0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0");
/inkscape/src/filters/
H A Dcomposite.cpp59 repr->setAttribute("in2", sp_filter_name_for_image(parent, this->in2));
203 this->getRepr()->setAttribute("in2", sp_filter_name_for_image(parent, this->in2));
238 repr->setAttribute("in2", in2_name);
281 repr->setAttribute("operator", comp_op);
289 repr->setAttribute("k1", 0);
290 repr->setAttribute("k2", 0);
291 repr->setAttribute("k3", 0);
292 repr->setAttribute("k4", 0);
H A Ddisplacementmap.cpp55 repr->setAttribute("in2", sp_filter_name_for_image(parent, this->in2));
160 this->getRepr()->setAttribute("in2", sp_filter_name_for_image(parent, this->in2));
210 repr->setAttribute("in2", in2_name);
216 repr->setAttribute("xChannelSelector",
218 repr->setAttribute("yChannelSelector",
/inkscape/src/ui/tools/
H A Dfreehand-base.cpp264 lpe->getRepr()->setAttribute("start_linecap_type", "zerowidth");
265 lpe->getRepr()->setAttribute("end_linecap_type", "zerowidth");
266 lpe->getRepr()->setAttribute("cusp_linecap_type", "round");
267 lpe->getRepr()->setAttribute("sort_points", "true");
268 lpe->getRepr()->setAttribute("interpolator_type", "CubicBezierJohan");
269 lpe->getRepr()->setAttribute("interpolator_beta", "0.2");
270 lpe->getRepr()->setAttribute("offset_points", s.str().c_str());
286 lpe->getRepr()->setAttribute("prop_scale", "1");
287 lpe->getRepr()->setAttribute("scale_y_rel", "false");
288 lpe->getRepr()->setAttribute("vertica
[all...]
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp87 _root->setAttribute("xml:space", "preserve");
92 _preferences->setAttribute("embedImages", "1");
93 _preferences->setAttribute("localFonts", "1");
152 _container->setAttribute("inkscape:groupmode", "layer");
154 _container->setAttribute("inkscape:label", layer_name);
260 node->setAttribute("transform", transform_text);
445 path->setAttribute("d", pathtext);
466 path_node->setAttribute("d", pathtext);
505 node->setAttribute("clip-path", NULL);
528 clip_path->setAttribute("clipPathUnit
[all...]
/inkscape/src/extension/internal/
H A Dsvg.cpp63 repr->setAttribute(*it, 0);
256 new_rdoc->setAttribute("version", "1.0");
257 new_rdoc->setAttribute("standalone", "no");

Completed in 113 milliseconds

1234567