summaryrefslogtreecommitdiff
path: root/core/SkMatrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/SkMatrix.h')
-rw-r--r--core/SkMatrix.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/SkMatrix.h b/core/SkMatrix.h
index dad5ff9..d7726f6 100644
--- a/core/SkMatrix.h
+++ b/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.
*