Index: include/core/SkMatrix.h |
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h |
index dad5ff92f58904f4b8ed7c18e3d4375a9de23cfe..606b5cd72df81a74159b72f5d3263a18db994422 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. |
* |
@@ -581,7 +589,7 @@ public: |
*/ |
SkScalar getMaxStretch() const; |
robertphillips
2013/12/04 23:31:55
Don't think we want this extra space.
bsalomon
2013/12/09 18:44:31
Done.
|
- /** |
+ /** |
* Return a reference to a const identity matrix |
*/ |
static const SkMatrix& I(); |