diff options
| author | Romain Guy <romainguy@google.com> | 2010-07-14 16:34:53 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-07-14 16:35:43 -0700 |
| commit | 3d58c03de0d8877b36cdb78b0ca8b5cac7f600e2 (patch) | |
| tree | 81d20a1aac231574266c696b82c36a67ff6772be /libs/hwui/Matrix.h | |
| parent | 756088482fb102f0c728151553210dca254b575f (diff) | |
| download | frameworks_base-3d58c03de0d8877b36cdb78b0ca8b5cac7f600e2.zip frameworks_base-3d58c03de0d8877b36cdb78b0ca8b5cac7f600e2.tar.gz frameworks_base-3d58c03de0d8877b36cdb78b0ca8b5cac7f600e2.tar.bz2 | |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index 40c80fa..ba5be03 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(); |
