Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrix.cpp420 const float invX = 1.f / divx; in postIDiv() local
423 fMat[kMScaleX] *= invX; in postIDiv()
424 fMat[kMSkewX] *= invX; in postIDiv()
425 fMat[kMTransX] *= invX; in postIDiv()
846 SkScalar invX = fMat[kMScaleX]; in invertNonIdentity() local
848 if (0 == invX || 0 == invY) { in invertNonIdentity()
851 invX = SkScalarInvert(invX); in invertNonIdentity()
860 inv->fMat[kMScaleX] = invX; in invertNonIdentity()
863 inv->fMat[kMTransX] = -fMat[kMTransX] * invX; in invertNonIdentity()