Home
last modified time | relevance | path

Searched refs:GsA (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/src/core/
H A DSkScalerContext.cpp804 SkMatrix* GsA, SkMatrix* G_inv, SkMatrix* A_out) in computeMatrices()
857 if (GsA) { in computeMatrices()
858 GsA->setScale(0, 0); in computeMatrices()
908 // The 'remainingWithoutRotation' matrix GsA is the non-rotational part of A without the scale. in computeMatrices()
909 if (GsA) { in computeMatrices()
910 *GsA = GA; in computeMatrices()
912 GsA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices()
803 computeMatrices(PreMatrixScale preMatrixScale, SkVector* s, SkMatrix* sA, SkMatrix* GsA, SkMatrix* G_inv, SkMatrix* A_out) computeMatrices() argument
/third_party/skia/src/ports/
H A DSkFontHost_win.cpp651 // When GDI hinting, remove the entire Y scale from sA and GsA. (Prevents 'linear' metrics.) in SkScalerContext_GDI()
652 // When not hinting, remove only the integer Y scale from sA and GsA. (Applied by GDI.) in SkScalerContext_GDI()
659 SkMatrix GsA; in SkScalerContext_GDI() local
661 fRec.computeMatrices(scaleConstraints, &scale, &sA, &GsA, &fG_inv, &A); in SkScalerContext_GDI()
663 fGsA.eM11 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI()
664 fGsA.eM12 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewY)); // This should be ~0. in SkScalerContext_GDI()
665 fGsA.eM21 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewX)); in SkScalerContext_GDI()
666 fGsA.eM22 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleY)); in SkScalerContext_GDI()
669 // The sA and GsA transforms will be used to create 'linear' metrics. in SkScalerContext_GDI()
672 // non-integer scales. This is done so that sA and GsA ar in SkScalerContext_GDI()
[all...]

Completed in 5 milliseconds