Searched refs:ascent (Results 1 - 14 of 14) sorted by relevance

/inkscape/src/libnrtype/
H A Done-box.h12 double ascent, descent, xheight; member in struct:one_box
H A Dfont-instance.h74 bool FontMetrics(double &ascent, double &descent, double &leading);
83 // Find ascent, descent, x-height, and baselines.
99 double _ascent; // Typographic ascent.
102 double _ascent_max; // Maxiumum ascent of all glyphs in font.
H A DLayout-TNG-Input.cpp100 void Layout::appendControlCode(TextControlCode code, void *source_cookie, double width, double ascent, double descent) argument
107 new_code->ascent = ascent;
H A DLayout-TNG.h267 \param ascent The number of pixels above the text baseline that this
282 void appendControlCode(TextControlCode code, void *source_cookie, double width = 0.0, double ascent = 0.0, double descent = 0.0);
613 * 1. Keep track of ascent, descent, and x-height of an individual font.
614 * 2. Keep track of effective ascent and descent that includes half-leading.
619 * the font's em size which is 'ascent' + 'descent'.
631 ascent = 0.8;
640 // CSS 2.1 dictates that font-size is based on em-size which is defined as ascent + descent
641 inline double emSize() const {return ascent + descent;}
643 inline double lineSize() const { return ascent + descent; }
644 inline void setZero() {ascent
666 double ascent; // Typographic ascent. member in class:Inkscape::Text::Layout::FontMetrics
737 double ascent; member in class:Inkscape::Text::Layout::InputStreamControlCode
[all...]
H A DLayout-TNG-Output.cpp99 ascent = font->GetTypoAscent();
109 if (other.ascent > ascent ) ascent = other.ascent;
118 ascent += half_leading;
204 // Use maximum ascent and descent to ensure glpyhs that extend outside the embox
615 + Glib::ustring::compose(" line height: ascent %1, descent %2\n", _spans[span_index].line_height.ascent, _spans[span_index].line_height.descent)
H A DLayout-TNG-OutIter.cpp110 && local_y >= _spans[span_index].line(this).baseline_y + _spans[span_index].baseline_shift - _spans[span_index].line_height.ascent
131 if (local_y < _lines[_chunks[chunk_index].in_line].baseline_y - line_height.ascent)
132 this_y_range = _lines[_chunks[chunk_index].in_line].baseline_y - line_height.ascent - local_y;
319 top_left[Geom::Y] = midpoint[Geom::Y] - span.line_height.ascent;
350 top_left[Geom::Y] = baseline_y - _spans[_characters[char_index].in_span].line_height.ascent;
414 top_left[Geom::Y] = baseline_y - vertical_scale * _spans[span_index].line_height.ascent;
423 top_left[Geom::Y] + _spans[span_index].line_height.ascent);
H A DLayout-TNG-Compute.cpp473 TRACE((" Start _outputLine: ascent %f, descent %f, top of box %f\n", line_height.ascent, line_height.descent, _scanline_maker->yCoordinate() ));
744 new_glyph.x += new_span.line_height.ascent;
1005 // input_item.sub_flow->appendControlCode(control_code->code, control_code->source_cookie, control_code->width, control_code->ascent, control_code->descent);
1203 new_span.line_height.ascent = control_code->ascent * _flow.getTextLengthMultiplierDue();
1451 * \a line_box_height set with the largest ascent and the largest
1573 if ( new_span_height.ascent > line_height->ascent + std::numeric_limits<float>::epsilon() ||
1851 font->FontMetrics(line_height.ascent, line_heigh
[all...]
H A DFontInstance.cpp526 bool font_instance::FontMetrics(double &ascent,double &descent,double &xheight) argument
536 ascent = _ascent;
681 // The otmAscent and otmDescent values are the maxiumum ascent and maxiumum descent of all the
695 // In CSS em size is ascent + descent... which should be 1. If not,
758 // In CSS em size is ascent + descent... which should be 1. If not,
827 // std::cout << " ascent: " << _ascent << std::endl;
830 // std::cout << " max ascent: " << _ascent_max << std::endl;
H A DTextWrapper.cpp863 boxes[i].ascent = 0;
873 curF->FontMetrics(boxes[i].ascent, boxes[i].descent, boxes[i].xheight);
/inkscape/src/display/
H A Ddrawing-text.h59 float width, float ascent, float descent, float phase_length);
H A Ddrawing-text.cpp83 characters in a font use the same ascent and descent, but different widths. This lets leading
220 float width, float ascent, float descent, float phase_length)
235 ng->_asc = ascent; // of font, not of this one character
219 addComponent(font_instance *font, int glyph, Geom::Affine const &trans, float width, float ascent, float descent, float phase_length) argument
/inkscape/src/
H A Dsp-font-face.h90 double ascent; member in class:SPFontFace
H A Dsp-font-face.cpp294 this->ascent = 0;
335 this->readAttr( "ascent" );
531 if (number != this->ascent){
532 this->ascent = number;
713 this->readAttr( "ascent" );
759 sp_repr_set_svg_double(repr, "ascent", this->ascent);
796 COPY_ATTR(repr, this->getRepr(), "ascent");
/inkscape/cxxtest/cxxtest/
H A DX11Gui.h167 _textHeight = _fontInfo->ascent + _fontInfo->descent;

Completed in 179 milliseconds