summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-07-16 14:12:24 -0700
committerRomain Guy <romainguy@android.com>2010-07-16 14:12:24 -0700
commit079ba2c85b15e882629b8d188f5fbdb42f7f8eea (patch)
treedcdad4233c75952bea11e4d5b945996a0f930a9a /graphics
parentebd6f94dbdafdb14d620d2bd8e08535a309f266a (diff)
downloadframeworks_base-079ba2c85b15e882629b8d188f5fbdb42f7f8eea.zip
frameworks_base-079ba2c85b15e882629b8d188f5fbdb42f7f8eea.tar.gz
frameworks_base-079ba2c85b15e882629b8d188f5fbdb42f7f8eea.tar.bz2
Improve clip support (add intersect, union and replace.)
This change also modifies the way the clip is stored. The clip is now always stored in screen-space coordinates. Change-Id: I96375784d82dfe975bc6477a159e6866e7052487
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/Region.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/Region.java b/graphics/java/android/graphics/Region.java
index 2b080aa..489ef83 100644
--- a/graphics/java/android/graphics/Region.java
+++ b/graphics/java/android/graphics/Region.java
@@ -33,7 +33,11 @@ public class Region implements Parcelable {
Op(int nativeInt) {
this.nativeInt = nativeInt;
}
- final int nativeInt;
+
+ /**
+ * @hide
+ */
+ public final int nativeInt;
}
/** Create an empty region