aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r--include/core/SkMatrix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index aa008cb2d9..9dd4fc9c5c 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -399,6 +399,11 @@ public:
friend bool operator!=(const SkMatrix& a, const SkMatrix& b) {
return memcmp(a.fMat, b.fMat, sizeof(a.fMat)) != 0;
}
+
+ // return the number of bytes written, whether or not buffer is null
+ uint32_t flatten(void* buffer) const;
+ // return the number of bytes read
+ uint32_t unflatten(const void* buffer);
void dump() const;
void toDumpString(SkString*) const;