Home
last modified time | relevance | path

Searched refs:invY (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkMatrix.cpp395 const float invY = 1.f / divy; in postIDiv() local
401 fMat[kMScaleY] *= invY; in postIDiv()
402 fMat[kMSkewY] *= invY; in postIDiv()
403 fMat[kMTransY] *= invY; in postIDiv()
832 SkScalar invY = fMat[kMScaleY]; in invertNonIdentity() local
833 if (0 == invX || 0 == invY) { in invertNonIdentity()
837 invY = SkScalarInvert(invY); in invertNonIdentity()
846 inv->fMat[kMScaleY] = invY; in invertNonIdentity()
849 inv->fMat[kMTransY] = -fMat[kMTransY] * invY; in invertNonIdentity()
/external/skqp/src/core/
DSkMatrix.cpp413 const float invY = 1.f / divy; in postIDiv() local
419 fMat[kMScaleY] *= invY; in postIDiv()
420 fMat[kMSkewY] *= invY; in postIDiv()
421 fMat[kMTransY] *= invY; in postIDiv()
840 SkScalar invY = fMat[kMScaleY]; in invertNonIdentity() local
841 if (0 == invX || 0 == invY) { in invertNonIdentity()
845 invY = SkScalarInvert(invY); in invertNonIdentity()
854 inv->fMat[kMScaleY] = invY; in invertNonIdentity()
857 inv->fMat[kMTransY] = -fMat[kMTransY] * invY; in invertNonIdentity()