Searched defs:span (Results 1 - 6 of 6) sorted by relevance

/inkscape/src/2geom/
H A Dangle.h289 Coord span = extent(); local
290 Angle ret = _start_angle.radians0() + span * (_sweep ? t : -t);
/inkscape/src/libnrtype/
H A DLayout-TNG-OutIter.cpp33 double this_x_difference = fabs(_characters[char_index].x + _characters[char_index].span(this).x_start + _characters[char_index].chunk(this).left_x - local_x);
43 else this_x_difference = fabs(_characters[char_index - 1].span(this).x_end + _characters[char_index - 1].chunk(this).left_x - local_x);
207 return _glyphs[it._glyph_index].span(this).font->BBox(_glyphs[it._glyph_index].glyph);
221 + _characters[it._char_index].span(this).baseline_shift);
285 else chunk_index = _characters[it._char_index].span(this).in_chunk;
309 double midpoint_offset = _characters[char_index].span(this).x_start + _characters[char_index].x + cluster_half_width;
315 Span const &span = _characters[char_index].span(this); local
319 top_left[Geom::Y] = midpoint[Geom::Y] - span.line_height.ascent;
321 bottom_right[Geom::Y] = midpoint[Geom::Y] + span
441 Span const *span; local
[all...]
H A DLayout-TNG-Output.cpp42 ky (vertical kerning for entire span)
74 sprintf(cptr," %6f",ky); // y kern for span
76 sprintf(cptr," %6d",(int) rtl); // rtl multiplier for span
124 Span const &span = _glyphs[glyph_index].span(this); local
126 if ( (span.block_progression == LEFT_TO_RIGHT || span.block_progression == RIGHT_TO_LEFT) &&
133 (*matrix)[0] = span.font_size * cos_rotation;
134 (*matrix)[1] = span.font_size * sin_rotation;
135 (*matrix)[2] = span
266 Span const &span = _spans[_characters[_glyphs[glyph_index].in_character].in_span]; local
298 Span const &span = _spans[span_index]; local
437 Span const &span = _spans[_characters[_glyphs[glyph_index].in_character].in_span]; local
683 Span const &span = _characters[char_index].span(this); local
799 Span const &span = _glyphs[glyph_index].span(this); local
[all...]
H A DLayout-TNG-Compute.cpp122 unsigned char_index_in_para; /// the index of the first character in this span in the paragraph, for looking up char_attributes
123 SVGLength x, y, dx, dy, rotate; // these are reoriented copies of the <tspan> attributes. We change span when we encounter one.
262 /** computes the width of a single UnbrokenSpan (pointed to by span->start.iter_span)
263 and outputs its vital statistics into the other fields of \a span.
267 \a last_break_span will contain the vital statistics for the span only
269 characters in the span then \a last_break_span will not be altered.
271 statistics for the span up to the last inter-character boundary,
273 bool _measureUnbrokenSpan(ParagraphInfo const &para, BrokenSpan *span, BrokenSpan *last_break_span, BrokenSpan *last_emergency_break_span, double maximum_width) const argument
276 span->setZero();
278 if (span
[all...]
H A DLayout-TNG.h81 - This is where it gets weird because a span will contain one or more
307 spans inside. For spans, we will need to add markers of start and end of a textLength span
309 calculation, we would go through the input stream and, for each end of a textLength span,
310 go through its items, choose those where it wasn't yet set by a nested span, calculate
333 /** Get actual length of layout, by summing span lengths. For one-line non-flowed text, just
402 /** Returns the font family of the indexed span */
448 which is also just past the end of the last chunk, span, etc, etc. */
825 inline Span const & span(Layout const *l) const {return l->_spans[l->_characters[in_character].in_span];} function in struct:Inkscape::Text::Layout::Glyph
831 float x; /// relative to the start of the *span* (so we can do block-progression)
834 inline Span const & span(Layou function in struct:Inkscape::Text::Layout::Character
[all...]
/inkscape/src/ui/dialog/
H A Dalign-and-distribute.cpp327 //overall bboxes span
331 float span = 0; local
334 span += sorted[i].bbox[_orientation].extent();
337 float step = (dist - span) / (len - 1);
355 //overall anchor span

Completed in 180 milliseconds