Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/core/
DSkMatrix.cpp398 const float invX = 1.f / divx; in postIDiv() local
401 fMat[kMScaleX] *= invX; in postIDiv()
402 fMat[kMSkewX] *= invX; in postIDiv()
403 fMat[kMTransX] *= invX; in postIDiv()
834 SkScalar invX = fMat[kMScaleX]; in invertNonIdentity() local
836 if (0 == invX || 0 == invY) { in invertNonIdentity()
839 invX = SkScalarInvert(invX); in invertNonIdentity()
848 inv->fMat[kMScaleX] = invX; in invertNonIdentity()
851 inv->fMat[kMTransX] = -fMat[kMTransX] * invX; in invertNonIdentity()
/third_party/skia/src/core/
DSkMatrix.cpp394 const float invX = 1.f / divx; in postIDiv() local
397 fMat[kMScaleX] *= invX; in postIDiv()
398 fMat[kMSkewX] *= invX; in postIDiv()
399 fMat[kMTransX] *= invX; in postIDiv()
831 SkScalar invX = fMat[kMScaleX]; in invertNonIdentity() local
833 if (0 == invX || 0 == invY) { in invertNonIdentity()
836 invX = SkScalarInvert(invX); in invertNonIdentity()
845 inv->fMat[kMScaleX] = invX; in invertNonIdentity()
848 inv->fMat[kMTransX] = -fMat[kMTransX] * invX; in invertNonIdentity()