Searched refs:GsA (Results 1 - 4 of 4) sorted by path

/external/skia/src/core/
H A DSkScalerContext.cpp662 SkMatrix* GsA, SkMatrix* G_inv, SkMatrix* A_out)
713 if (GsA) {
714 GsA->setScale(0, 0);
764 // The 'remainingWithoutRotation' matrix GsA is the non-rotational part of A without the scale.
765 if (GsA) {
766 *GsA = GA;
768 GsA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY));
661 computeMatrices(PreMatrixScale preMatrixScale, SkVector* s, SkMatrix* sA, SkMatrix* GsA, SkMatrix* G_inv, SkMatrix* A_out) argument
/external/skia/src/ports/
H A DSkFontHost_win.cpp630 // When GDI hinting, remove the entire Y scale from sA and GsA. (Prevents 'linear' metrics.)
631 // When not hinting, remove only the integer Y scale from sA and GsA. (Applied by GDI.)
638 SkMatrix GsA; local
640 fRec.computeMatrices(scaleConstraints, &scale, &sA, &GsA, &fG_inv, &A);
642 fGsA.eM11 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleX));
643 fGsA.eM12 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewY)); // This should be ~0.
644 fGsA.eM21 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewX));
645 fGsA.eM22 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleY));
648 // The sA and GsA transforms will be used to create 'linear' metrics.
651 // non-integer scales. This is done so that sA and GsA ar
[all...]
/external/skqp/src/core/
H A DSkScalerContext.cpp668 SkMatrix* GsA, SkMatrix* G_inv, SkMatrix* A_out)
719 if (GsA) {
720 GsA->setScale(0, 0);
770 // The 'remainingWithoutRotation' matrix GsA is the non-rotational part of A without the scale.
771 if (GsA) {
772 *GsA = GA;
774 GsA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY));
667 computeMatrices(PreMatrixScale preMatrixScale, SkVector* s, SkMatrix* sA, SkMatrix* GsA, SkMatrix* G_inv, SkMatrix* A_out) argument
/external/skqp/src/ports/
H A DSkFontHost_win.cpp630 // When GDI hinting, remove the entire Y scale from sA and GsA. (Prevents 'linear' metrics.)
631 // When not hinting, remove only the integer Y scale from sA and GsA. (Applied by GDI.)
638 SkMatrix GsA; local
640 fRec.computeMatrices(scaleConstraints, &scale, &sA, &GsA, &fG_inv, &A);
642 fGsA.eM11 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleX));
643 fGsA.eM12 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewY)); // This should be ~0.
644 fGsA.eM21 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewX));
645 fGsA.eM22 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleY));
648 // The sA and GsA transforms will be used to create 'linear' metrics.
651 // non-integer scales. This is done so that sA and GsA ar
[all...]

Completed in 249 milliseconds