summaryrefslogtreecommitdiff
path: root/libs/hwui/Matrix.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-07-16 14:12:24 -0700
committerRomain Guy <romainguy@android.com>2010-07-16 14:12:24 -0700
commit079ba2c85b15e882629b8d188f5fbdb42f7f8eea (patch)
treedcdad4233c75952bea11e4d5b945996a0f930a9a /libs/hwui/Matrix.h
parentebd6f94dbdafdb14d620d2bd8e08535a309f266a (diff)
Improve clip support (add intersect, union and replace.)
This change also modifies the way the clip is stored. The clip is now always stored in screen-space coordinates. Change-Id: I96375784d82dfe975bc6477a159e6866e7052487
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r--libs/hwui/Matrix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h
index ba5be03469c5..b8a4da77619c 100644
--- a/libs/hwui/Matrix.h
+++ b/libs/hwui/Matrix.h
@@ -54,6 +54,8 @@ public:
void load(const Matrix4& v);
void load(const SkMatrix& v);
+ void loadInverse(const Matrix4& v);
+
void loadTranslate(float x, float y, float z);
void loadScale(float sx, float sy, float sz);
void loadRotate(float angle, float x, float y, float z);