summaryrefslogtreecommitdiff
path: root/libs/hwui/Matrix.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-07-14 16:34:53 -0700
committerRomain Guy <romainguy@google.com>2010-07-14 16:35:43 -0700
commit3d58c03de0d8877b36cdb78b0ca8b5cac7f600e2 (patch)
tree81d20a1aac231574266c696b82c36a67ff6772be /libs/hwui/Matrix.h
parent756088482fb102f0c728151553210dca254b575f (diff)
Do not apply transforms when using drawColor().
This fixes an issue in the way the clip transformations were applied. Change-Id: I91e7b5d15baf244d1280e48938282bb33609081d
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r--libs/hwui/Matrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h
index 40c80fa5313a..ba5be03469c5 100644
--- a/libs/hwui/Matrix.h
+++ b/libs/hwui/Matrix.h
@@ -88,6 +88,9 @@ public:
void copyTo(float* v) const;
void copyTo(SkMatrix& v) const;
+ /**
+ * Does not apply rotations!
+ */
void mapRect(Rect& r) const;
float getTranslateX();