Lines Matching refs:invScale
1709 float invScale = 1 / scale.fY; in Poly2Proc() local
1711 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1712 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc()
1714 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc()
1715 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1726 float invScale = 1 / scale.fX; in Poly3Proc() local
1727 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc()
1728 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc()
1731 invScale = 1 / scale.fY; in Poly3Proc()
1732 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc()
1733 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly3Proc()
1785 float invScale = 1 / scale.fX; in Poly4Proc() local
1787 srcPt[3].fX - srcPt[0].fX, invScale); in Poly4Proc()
1789 srcPt[3].fY - srcPt[0].fY, invScale); in Poly4Proc()
1790 dst->fMat[kMPersp0] = SkScalarMul(a2, invScale); in Poly4Proc()
1791 invScale = 1 / scale.fY; in Poly4Proc()
1793 srcPt[1].fX - srcPt[0].fX, invScale); in Poly4Proc()
1795 srcPt[1].fY - srcPt[0].fY, invScale); in Poly4Proc()
1796 dst->fMat[kMPersp1] = SkScalarMul(a1, invScale); in Poly4Proc()