diff options
| author | Romain Guy <romainguy@google.com> | 2010-10-13 14:18:18 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-13 14:18:18 -0700 |
| commit | 79c92540877d6683290511617aac8e3108b68ad1 (patch) | |
| tree | a9543a887788e776c4f766394300b20087a6c8a6 /graphics/java/android | |
| parent | a338ca83396ecdad89f4d4dd9aa403d04c0d36e4 (diff) | |
| parent | 41030da16856c8869e1e51d4a0405432fa96614e (diff) | |
| download | frameworks_base-79c92540877d6683290511617aac8e3108b68ad1.zip frameworks_base-79c92540877d6683290511617aac8e3108b68ad1.tar.gz frameworks_base-79c92540877d6683290511617aac8e3108b68ad1.tar.bz2 | |
Merge "Add a getNativeMatrix() API."
Diffstat (limited to 'graphics/java/android')
| -rw-r--r-- | graphics/java/android/graphics/Canvas.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java index 952f2b5..07fe66c 100644 --- a/graphics/java/android/graphics/Canvas.java +++ b/graphics/java/android/graphics/Canvas.java @@ -447,6 +447,16 @@ public class Canvas { public void getMatrix(Matrix ctm) { native_getCTM(mNativeCanvas, ctm.native_instance); } + + /** + * Returns a pointer to an internal 4x4 native matrix. The returned + * pointer is a pointer to an array of 16 floats. + * + * @hide + */ + public int getNativeMatrix() { + return 0; + } /** * Return a new matrix with a copy of the canvas' current transformation |
