Lines Matching defs:metrics
185 float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const
192 // of 180 degrees, then the current text position is incremented according to the vertical metrics of the glyph.
195 // 180 degrees, then the current text position is incremented according to the horizontal metrics of the glyph.
203 xOrientationShift = (ascentMinusDescent - metrics.width()) / 2;
206 xOrientationShift = (ascentMinusDescent + metrics.width()) / 2;
208 yOrientationShift = metrics.width();
214 return metrics.width();
216 return metrics.height();
221 yOrientationShift = -metrics.width();
223 xOrientationShift = metrics.width();
226 xOrientationShift = metrics.width();
230 return metrics.height();
232 return metrics.width();