diff options
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkMatrix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index 0252bc7101..fa7a63a4e8 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -719,6 +719,12 @@ private: SkScalar fMat[9]; mutable uint32_t fTypeMask; + /** Are all elements of the matrix finite? + */ + bool isFinite() const; + + static void ComputeInv(SkScalar dst[9], const SkScalar src[9], SkScalar invDet, bool isPersp); + void setScaleTranslate(SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) { fMat[kMScaleX] = sx; fMat[kMSkewX] = 0; |