Searched refs:descent (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.
100 double _descent; // Typographic descent.
103 double _descent_max; // Maxiumum descent 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
108 new_code->descent = descent;
H A DLayout-TNG.h269 \param descent The number of pixels below 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'.
632 descent = -0.2;
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 = descent
667 double descent; // Typographic descent. member in class:Inkscape::Text::Layout::FontMetrics
738 double descent; member in class:Inkscape::Text::Layout::InputStreamControlCode
[all...]
H A DLayout-TNG-Output.cpp100 descent = font->GetTypoDescent();
110 if (other.descent > descent ) descent = other.descent;
119 descent += 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.cpp111 && local_y <= _spans[span_index].line(this).baseline_y + _spans[span_index].baseline_shift + _spans[span_index].line_height.descent) {
133 else if (local_y > _lines[_chunks[chunk_index].in_line].baseline_y + line_height.descent)
134 this_y_range = local_y - (_lines[_chunks[chunk_index].in_line].baseline_y + line_height.descent);
321 bottom_right[Geom::Y] = midpoint[Geom::Y] + span.line_height.descent;
351 bottom_right[Geom::Y] = baseline_y + _spans[_characters[char_index].in_span].line_height.descent;
415 bottom_right[Geom::Y] = baseline_y + vertical_scale * _spans[span_index].line_height.descent;
452 x -= span->line_height.descent;
510 // up to now *position is the baseline point, not the final point which will be the bottom of the descent
528 position[Geom::X] -= sin(rotation) * vertical_scale * span->line_height.descent;
529 position[Geom::Y] += cos(rotation) * vertical_scale * span->line_height.descent;
[all...]
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() ));
1005 // input_item.sub_flow->appendControlCode(control_code->code, control_code->source_cookie, control_code->width, control_code->ascent, control_code->descent);
1204 new_span.line_height.descent = control_code->descent * _flow.getTextLengthMultiplierDue();
1452 * descent (individually per CSS) on the line. The return
1574 new_span_height.descent > line_height->descent + std::numeric_limits<float>::epsilon() ) {
1851 font->FontMetrics(line_height.ascent, line_height.descent, line_height.xheight);
H A DFontInstance.cpp526 bool font_instance::FontMetrics(double &ascent,double &descent,double &xheight) argument
537 descent = _descent;
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,
828 // std::cout << " descent: " << _descent << std::endl;
831 // std::cout << " max descent: " << _descent_max << std::endl;
H A DTextWrapper.cpp864 boxes[i].descent = 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)
236 ng->_dsc = descent; // 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.h91 double descent; member in class:SPFontFace
H A Dsp-font-face.cpp295 this->descent = 0;
336 this->readAttr( "descent" );
541 if (number != this->descent){
542 this->descent = number;
714 this->readAttr( "descent" );
760 sp_repr_set_svg_double(repr, "descent", this->descent);
797 COPY_ATTR(repr, this->getRepr(), "descent");
/inkscape/cxxtest/cxxtest/
H A DX11Gui.h167 _textHeight = _fontInfo->ascent + _fontInfo->descent;
168 _textDescent = _fontInfo->descent;

Completed in 54 milliseconds