| Index: include/core/SkMatrix.h
|
| diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
|
| index 19103843bfe4bbf4023cb8adcbccf2e1c7c483a8..f565a537ba422cc6fd6fd15ea9bba10c7416ae59 100644
|
| --- a/include/core/SkMatrix.h
|
| +++ b/include/core/SkMatrix.h
|
| @@ -736,6 +736,11 @@ public:
|
| this->setTypeMask(mask | kRectStaysRect_Mask);
|
| }
|
|
|
| + /**
|
| + * Are all elements of the matrix finite?
|
| + */
|
| + bool isFinite() const { return SkScalarsAreFinite(fMat, 9); }
|
| +
|
| private:
|
| enum {
|
| /** Set if the matrix will map a rectangle to another rectangle. This
|
| @@ -768,10 +773,6 @@ private:
|
| SkScalar fMat[9];
|
| mutable uint32_t fTypeMask;
|
|
|
| - /** Are all elements of the matrix finite?
|
| - */
|
| - bool isFinite() const { return SkScalarsAreFinite(fMat, 9); }
|
| -
|
| static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp);
|
|
|
| uint8_t computeTypeMask() const;
|
|
|