summaryrefslogtreecommitdiff
path: root/libs/hwui/Matrix.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-09-20 19:04:33 -0700
committer Romain Guy <romainguy@google.com> 2010-09-21 16:48:50 -0700
commitddb80bebb0776e6d852aab6e8bba5d5591847a55 (patch)
tree460e39e115bf75648a3b4dbc9788c911751bd848 /libs/hwui/Matrix.h
parentee916f14cbd1fe1422c063ce2ef7b185e2bc5c6f (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.h2
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);