Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(63)

Unified Diff: include/utils/SkMatrix44.h

Issue 6882043: add enums to distinguish different constructors for matrix44 Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 12 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/SkMatrix44.h
===================================================================
--- include/utils/SkMatrix44.h (revision 6672)
+++ include/utils/SkMatrix44.h (working copy)
@@ -103,6 +103,24 @@
class SK_API SkMatrix44 {
public:
+ enum Uninitialized_Constructor {
+ kUnitialized_Constructor
+ };
+ enum Identity_Constructor {
+ kIdentity_Constructor
+ };
+ enum Scale_Constructor {
+ kScale_Constructor
+ };
+ enum Translate_Constructor {
+ kTranslate_Constructor
+ };
+
+ SkMatrix44(Uninitialized_Constructor);
+ SkMatrix44(Identity_Constructor);
+ SkMatrix44(Scale_Constructor, SkMScalar sx, SkMScalar sy, SkMScalar sz);
+ SkMatrix44(Translate_Constructor, SkMScalar tx, SkMScalar ty, SkMScalar tz);
+
SkMatrix44() { this->setIdentity(); }
SkMatrix44(const SkMatrix44&);
SkMatrix44(const SkMatrix44& a, const SkMatrix44& b);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b