Lines Matching defs:ex
190 double const ex = 0.5 * em; // fixme: get x height from pango or libnrtype.
192 attributes.update( em, ex, w, h );
428 double const ex = xform.descrim();
429 if (ex == 0) {
434 ret[0] /= ex;
435 ret[1] /= ex;
436 ret[2] /= ex;
437 ret[3] /= ex;
440 this->_adjustCoordsRecursive (this, xform * ret.inverse(), ex);
443 this->_adjustFontsizeRecursive (this, ex);
446 this->adjust_stroke_width_recursive (ex);
636 void SPText::_adjustFontsizeRecursive(SPItem *item, double ex, bool is_root)
640 if (style && !Geom::are_near(ex, 1.0)) {
645 style->font_size.computed *= ex;
646 style->letter_spacing.computed *= ex;
647 style->word_spacing.computed *= ex;
653 style->line_height.computed *= ex;
660 _adjustFontsizeRecursive(SP_ITEM(o), ex, false);
664 void SPText::_adjustCoordsRecursive(SPItem *item, Geom::Affine const &m, double ex, bool is_root)
667 SP_TSPAN(item)->attributes.transform(m, ex, ex, is_root);
670 SP_TEXT(item)->attributes.transform(m, ex, ex, is_root);
672 SP_TEXTPATH(item)->attributes.transform(m, ex, ex, is_root);
674 SP_TREF(item)->attributes.transform(m, ex, ex, is_root);
679 _adjustCoordsRecursive(SP_ITEM(o), m, ex, false);
739 double const ex = em * 0.5;
742 it->update( em, ex, w );
744 it->update( em, ex, h );
769 void TextTagAttributes::update( double em, double ex, double w, double h )
772 it->update( em, ex, w );
775 it->update( em, ex, h );
778 it->update( em, ex, w );
781 it->update( em, ex, h );