Lines Matching defs:text
2 * SVG <text> and <tspan> implementation
41 #include "text-editing.h"
140 // find out the ancestor text which holds our layout
455 SPObject *text = tp->parent;
457 Geom::OptRect bbox = SP_ITEM(text)->geometricBounds(SP_ITEM(text)->i2doc_affine());
475 Inkscape::XML::Node *copy = ((Inkscape::XML::Node *) i->data)->duplicate(text->getRepr()->document());
478 // put its copy under text
479 text->getRepr()->addChild(copy, NULL); // fixme: copy id
486 // set x/y on text (to be near where it was when on path)
489 sp_repr_set_svg_double(text->getRepr(), "x", xy[Geom::X]);
490 sp_repr_set_svg_double(text->getRepr(), "y", xy[Geom::Y]);