/inkscape/doc/ |
H A D | keys.css | 21 margin: 1em; 22 font: 1em serif; 31 margin-top: 0.5em; 33 padding-bottom: 0em; 34 margin-bottom: 0em; 35 letter-spacing: -0.02em; 40 font-size: 0.7em; 53 padding: 1em; 56 font-size: 0.8em; 57 line-height: 1.5em; [all...] |
/inkscape/src/ |
H A D | sp-line.cpp | 79 double const em = style->font_size.computed; local 80 double const ex = em * 0.5; // fixme: get from pango or libnrtype. 82 this->x1.update(em, ex, w); 83 this->x2.update(em, ex, w); 84 this->y1.update(em, ex, h); 85 this->y2.update(em, ex, h);
|
H A D | sp-rect.cpp | 58 double const em = style->font_size.computed; local 59 double const ex = em * 0.5; 64 this->x.update( em, ex, w ); 70 this->y.update( em, ex, h ); 78 this->width.update( em, ex, w ); 86 this->height.update( em, ex, h ); 94 this->rx.update( em, ex, w ); 102 this->ry.update( em, ex, h ); 118 double const em = style->font_size.computed; local 119 double const ex = 0.5 * em; // fixm [all...] |
H A D | sp-ellipse.cpp | 116 double const em = style->font_size.computed; local 117 double const ex = em * 0.5; 124 cx.update( em, ex, w ); 131 cy.update( em, ex, h ); 138 rx.update( em, ex, w ); 145 ry.update( em, ex, h ); 153 rx.update( em, ex, d ); 154 ry.update( em, ex, d ); 196 double const em = this->style->font_size.computed; local 197 double const ex = em * 0. [all...] |
H A D | sp-tspan.cpp | 115 double const em = style->font_size.computed; local 116 double const ex = 0.5 * em; // fixme: get x height from pango or libnrtype. 118 attributes.update( em, ex, w, h ); 330 double const em = style->font_size.computed; local 331 double const ex = 0.5 * em; // fixme: get x height from pango or libnrtype. 333 attributes.update( em, ex, w, h );
|
H A D | sp-text.cpp | 189 double const em = style->font_size.computed; local 190 double const ex = 0.5 * em; // fixme: get x height from pango or libnrtype. 192 attributes.update( em, ex, w, h ); 738 double const em = style->font_size.computed; local 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 ) argument 772 it->update( em, ex, w ); 775 it->update( em, e [all...] |
H A D | text-tag-attributes.h | 40 void update( double em, double ex, double w, double h );
|
H A D | style-internal.cpp | 272 } else if (!strcmp(e, "em")) { 346 os << name << ":" << this->value << "em;"; 373 double const em = style->font_size.computed; local 375 computed = value * em; 378 computed = value * em * 0.5; 381 computed = value * em; 2105 // ex/em 2342 css << this->value << (this->unit == SP_CSS_UNIT_EM ? "em" : "ex");
|
/inkscape/src/svg/ |
H A D | svg-length.h | 64 void update(double em, double ex, double scale); // Updates computed value
|
H A D | svg-length.cpp | 519 void SVGLength::update(double em, double ex, double scale) 522 computed = value * em; 561 case SVGLength::EM: return "em";
|
/inkscape/src/2geom/numeric/ |
H A D | symmetric-matrix-fs-trace.h | 265 int em; local 266 std::frexp(*maxp, &em); 272 double r = std::fabs (std::ldexp (d, -em)); // relative error 298 int em; local 299 std::frexp(*maxp, &em); 306 double r = std::fabs (std::ldexp (d, -em)); // relative error
|
/inkscape/src/ui/tool/ |
H A D | control-point.cpp | 255 GdkEventMotion em; local 283 em = event->motion; 284 combine_motion_events(Ca, em, 0); 290 bool t = fabs(em.x - _drag_event_origin[Geom::X]) <= drag_tolerance && 291 fabs(em.y - _drag_event_origin[Geom::Y]) <= drag_tolerance; 298 transferred = grabbed(&em); 311 dragged(new_pos, &em); 313 _updateDragTip(&em); // update dragging tip after moving to new position
|
/inkscape/src/libnrtype/ |
H A D | FontInstance.cpp | 479 // synthisize them. No method is specified. The SVG 1.1 spec suggests using the em 480 // height (which is not theFace->height as that includes leading). The em height 483 // solid" which implies that vertical (and horizontal) advance should be 1em. 695 // In CSS em size is ascent + descent... which should be 1. If not, 697 double em = _ascent + _descent; local 698 if( em > 0 ) { 699 _ascent /= em; 700 _descent /= em; 758 // In CSS em size is ascent + descent... which should be 1. If not, 760 double em [all...] |