Index: include/core/SkMatrix.h |
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h |
index dad5ff92f58904f4b8ed7c18e3d4375a9de23cfe..d7726f6d4dc7a1d6fcdf47ebac5cc995cc43b926 100644 |
--- a/include/core/SkMatrix.h |
+++ b/include/core/SkMatrix.h |
@@ -574,6 +574,14 @@ public: |
SkDEVCODE(void toString(SkString*) const;) |
/** |
+ * Calculates the minimum stretching factor of the matrix. If the matrix has |
+ * perspective -1 is returned. |
+ * |
+ * @return minumum strecthing factor |
+ */ |
+ SkScalar getMinStretch() const; |
+ |
+ /** |
* Calculates the maximum stretching factor of the matrix. If the matrix has |
* perspective -1 is returned. |
* |