diff options
| author | 2010-09-20 19:04:33 -0700 | |
|---|---|---|
| committer | 2010-09-21 16:48:50 -0700 | |
| commit | ddb80bebb0776e6d852aab6e8bba5d5591847a55 (patch) | |
| tree | 460e39e115bf75648a3b4dbc9788c911751bd848 /libs/hwui/Matrix.h | |
| parent | ee916f14cbd1fe1422c063ce2ef7b185e2bc5c6f (diff) | |
Add support for circular gradients to the GL renderer.
This change also adds full support for local transformation matrices on
sweep and radial gradients.
Change-Id: Id8773bc0766575190e3f3d51984fc5e57b266c3f
Diffstat (limited to 'libs/hwui/Matrix.h')
| -rw-r--r-- | libs/hwui/Matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index c247a670998b..0608efe988fe 100644 --- a/libs/hwui/Matrix.h +++ b/libs/hwui/Matrix.h @@ -83,6 +83,8 @@ public: load(u); } + void multiply(float v); + void translate(float x, float y, float z) { Matrix4 u; u.loadTranslate(x, y, z); |