diff options
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r-- | include/core/SkMatrix.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index 8ba4e1bb28..9733590167 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -1575,6 +1575,14 @@ public: */ void dump() const; + /** Creates string representation of SkMatrix. Floating point values + are written with limited precision; it may not be possible to reconstruct + original SkMatrix from output. + + @param str storage for string representation of SkMatrix + */ + void toString(SkString* str) const; + /** Returns the minimum scaling factor of SkMatrix by decomposing the scaling and skewing elements. Returns -1 if scale factor overflows or SkMatrix contains perspective. |