Lines Matching defs:layout
206 this->layout.show(g, paintbox);
231 this->layout.show(g, paintbox);
328 Geom::OptRect bbox = SP_TEXT(this)->layout.bounds(transform);
345 this->layout.show(flowed, this->geometricBounds());
377 Inkscape::Text::Layout const *layout = te_get_layout((SPItem *) this);
379 if (layout && layout->inputTruncated()) {
393 Inkscape::Text::Layout const *layout = te_get_layout(this);
395 if (layout != NULL && layout->outputExists()) {
396 boost::optional<Geom::Point> pt = layout->baselineAnchorPoint();
467 this->layout.print(ctx,pbox,dbox,bbox,ctm);
521 layout.appendWrapShape( uncross );
538 if (SP_TEXT(root)->attributes.getTextLength()->_set) { // set textLength on the entire layout, see note in TNG-Layout.h
539 layout.textLength._set = true;
540 layout.textLength.value = SP_TEXT(root)->attributes.getTextLength()->value;
541 layout.textLength.computed = SP_TEXT(root)->attributes.getTextLength()->computed;
542 layout.textLength.unit = SP_TEXT(root)->attributes.getTextLength()->unit;
543 layout.lengthAdjust = (Inkscape::Text::Layout::LengthAdjust) SP_TEXT(root)->attributes.getLengthAdjust();
548 // x, y attributes are stripped from some tspans marked with role="line" as we do our own line layout.
549 // This should be checked carefully, as it can undo line layout in imported SVG files.
572 if (!layout.inputExists()) {
573 layout.appendText("", prev_object->style, prev_object, &optional_attrs);
575 layout.appendControlCode(Inkscape::Text::Layout::PARAGRAPH_BREAK, prev_object);
578 layout.appendText("", root->style, root, &optional_attrs);
593 layout.appendText(string, root->style, child, &optional_attrs, child_attrs_offset + length);
606 layout.clear();
609 layout.calculateFlow();
614 //g_print("%s", layout.dumpAsText().c_str());
615 layout.fitToPathAlign(textpath->startOffset, *textpath->originalPath);
619 //g_print("%s", layout.dumpAsText().c_str());
627 Inkscape::Text::Layout::iterator iter = layout.sourceToIterator(tspan);
628 Geom::Point anchor_point = layout.chunkAnchorPoint(iter);