Lines Matching defs:layout
51 return &(SP_TEXT(item)->layout);
53 return &(SP_FLOWTEXT(item)->layout);
84 Inkscape::Text::Layout const *layout = te_get_layout(item);
85 return layout->begin() == layout->end();
111 Inkscape::Text::Layout const *layout = te_get_layout(item);
112 return layout->getNearestCursorPositionTo(p);
119 Inkscape::Text::Layout const *layout = te_get_layout(item);
120 if (layout == NULL)
123 return layout->createSelectionShape(start, end, transform);
129 Inkscape::Text::Layout const *layout = te_get_layout(item);
131 layout->queryCursorShape(position, p0, height, rotation);
144 Inkscape::Text::Layout const *layout = te_get_layout(text);
145 if (layout == NULL) {
150 layout->getSourceOfCharacter(position, &rawptr);
397 Inkscape::Text::Layout const *layout = te_get_layout(item);
400 if (position != layout->end()) {
402 layout->getSourceOfCharacter(position, &rawptr, &split_text_iter);
442 unsigned char_index = layout->iteratorToCharIndex(position);
445 return layout->charIndexToIterator(char_index + 1);
504 Inkscape::Text::Layout const *layout = te_get_layout(item);
512 bool cursor_at_end = position == layout->end();
513 layout->getSourceOfCharacter(it_prev_char, &rawptr, &iter_text);
573 unsigned char_index = layout->iteratorToCharIndex(position);
576 return layout->charIndexToIterator(char_index + g_utf8_strlen(utf8, -1));
753 Inkscape::Text::Layout const *layout = te_get_layout(item);
757 layout->getSourceOfCharacter(iter_pair.first, &rawptr, &start_text_iter);
759 layout->getSourceOfCharacter(iter_pair.second, &rawptr, &end_text_iter);
844 layout->validateIterator(&iter_pair.first);
845 layout->validateIterator(&iter_pair.second);
901 Inkscape::Text::Layout const *layout = te_get_layout(text);
908 layout->getSourceOfCharacter(first, &rawptr, &text_iter);
1000 text->layout.getSourceOfCharacter(position, &rawptr, &source_text_iter);
1081 Inkscape::Text::Layout const *layout = te_get_layout(text);
1082 if (layout == NULL) return;
1085 layout->getSourceOfCharacter(std::min(start, end), &rawptr);
1141 Inkscape::Text::Layout const *layout = te_get_layout(text);
1147 layout->getSourceOfCharacter(std::min(start, end), &rawptr);
1180 nb_let = abs(layout->iteratorToCharIndex(end) - layout->iteratorToCharIndex(start));
1222 Inkscape::Text::Layout const *layout = te_get_layout(text);
1223 if (!layout)
1226 unsigned line_count = layout->lineIndex(layout->end());
1227 double all_lines_height = layout->characterAnchorPoint(layout->end())[Geom::Y] - layout->characterAnchorPoint(layout->begin())[Geom::Y];
1239 Inkscape::Text::Layout const *layout = te_get_layout(text);
1250 unsigned line_count = layout->lineIndex(layout->end());
1251 double all_lines_height = layout->characterAnchorPoint(layout->end())[Geom::Y] - layout->characterAnchorPoint(layout->begin())[Geom::Y];
1971 Inkscape::Text::Layout const *layout = te_get_layout(text);
1975 layout->getSourceOfCharacter(first, &rawptr, &start_text_iter);
1977 layout->getSourceOfCharacter(last, &rawptr, &end_text_iter);