Lines Matching refs:scale
585 /** fGsA is the non-rotational part of total matrix without the text height scale.
598 /** The total matrix which also removes EM scale. */
651 // When GDI hinting, remove the entire Y scale from sA and GsA. (Prevents 'linear' metrics.)
652 // When not hinting, remove only the integer Y scale from sA and GsA. (Applied by GDI.)
657 SkVector scale;
661 fRec.computeMatrices(scaleConstraints, &scale, &sA, &GsA, &fG_inv, &A);
668 // When not hinting, scale was computed with kVerticalInteger, so is already an integer.
671 // When hinting, scale was computed with kVertical, stating that our port can handle
673 // scale in them, preventing 'linear' metrics. However, GDI cannot actually handle non-integer
674 // scales so we need to round in this case. This is fine, since all of the scale has been
675 // removed from sA and GsA, so GDI will be handling the scale completely.
676 SkScalar gdiTextSize = SkScalarRoundToScalar(scale.fY);
679 // If the size was non-zero, the scale factors will also be non-zero and 1px tall text is drawn.
680 // If the size actually was zero, the scale factors will also be zero, so GDI will draw nothing.
993 * This will invert the gamma applied by GDI (gray-scale antialiased), so we