commit | 3d58c03de0d8877b36cdb78b0ca8b5cac7f600e2 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Jul 14 16:34:53 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Wed Jul 14 16:35:43 2010 -0700 |
tree | 81d20a1aac231574266c696b82c36a67ff6772be | |
parent | 756088482fb102f0c728151553210dca254b575f [diff] [blame] |
Do not apply transforms when using drawColor(). This fixes an issue in the way the clip transformations were applied. Change-Id: I91e7b5d15baf244d1280e48938282bb33609081d
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 @@ void copyTo(float* v) const; void copyTo(SkMatrix& v) const; + /** + * Does not apply rotations! + */ void mapRect(Rect& r) const; float getTranslateX();