diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkMatrix44.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/utils/SkMatrix44.h b/include/utils/SkMatrix44.h index af61a11c68..4789e7e209 100644 --- a/include/utils/SkMatrix44.h +++ b/include/utils/SkMatrix44.h @@ -103,6 +103,17 @@ struct SkVector4 { class SK_API SkMatrix44 { public: + + enum Uninitialized_Constructor { + kUninitialized_Constructor + }; + enum Identity_Constructor { + kIdentity_Constructor + }; + + SkMatrix44(Uninitialized_Constructor) { } + SkMatrix44(Identity_Constructor) { this->setIdentity(); } + SkMatrix44() { this->setIdentity(); } SkMatrix44(const SkMatrix44&); SkMatrix44(const SkMatrix44& a, const SkMatrix44& b); |