diff options
author | Romain Guy <romainguy@google.com> | 2010-08-04 15:40:07 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-08-05 17:23:49 -0700 |
commit | 7fbcc0492fca03857e3c45064f4aa040af817d55 (patch) | |
tree | a2422b4694ae589a60f2571070c53c7b918ec732 /graphics | |
parent | bc9151bcad5d1b1d14bb900fcc50ba08c06f87d4 (diff) | |
download | frameworks_base-7fbcc0492fca03857e3c45064f4aa040af817d55.zip frameworks_base-7fbcc0492fca03857e3c45064f4aa040af817d55.tar.gz frameworks_base-7fbcc0492fca03857e3c45064f4aa040af817d55.tar.bz2 |
Add support for paths.
Rendering is implementing by rasterizing the paths into A8 textures.
This cna be extremely inefficient if the path changes often.
Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/Path.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/Path.java b/graphics/java/android/graphics/Path.java index 281823a..cb2c6a2 100644 --- a/graphics/java/android/graphics/Path.java +++ b/graphics/java/android/graphics/Path.java @@ -593,5 +593,8 @@ public class Path { private static native void native_transform(int nPath, int matrix); private static native void finalizer(int nPath); - private final int mNativePath; + /** + * @hide + */ + public final int mNativePath; } |