summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Matrix.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-08-12 15:37:00 -0700
committerRomain Guy <romainguy@google.com>2010-08-12 15:37:00 -0700
commit0ba681bce12d522c5575dfccb5a6ca12f0fba746 (patch)
tree5e99242b4abb19331003338fabea81ddf1111ce3 /libs/hwui/Matrix.h
parentaf28b514964861d81b48902f942f706050936d38 (diff)
downloadframeworks_base-0ba681bce12d522c5575dfccb5a6ca12f0fba746.zip
frameworks_base-0ba681bce12d522c5575dfccb5a6ca12f0fba746.tar.gz
frameworks_base-0ba681bce12d522c5575dfccb5a6ca12f0fba746.tar.bz2
Fix GC issue, fix local shader transformations.
Change-Id: I208bdf89815dcd18dcadd43df932a77362918435
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r--libs/hwui/Matrix.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h
index ebc8b29..c247a67 100644
--- a/libs/hwui/Matrix.h
+++ b/libs/hwui/Matrix.h
@@ -104,10 +104,8 @@ public:
void copyTo(float* v) const;
void copyTo(SkMatrix& v) const;
- /**
- * Does not apply rotations!
- */
void mapRect(Rect& r) const;
+ void mapPoint(float& x, float& y) const;
float getTranslateX();
float getTranslateY();