diff options
author | Romain Guy <romainguy@google.com> | 2013-07-29 19:17:59 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-07-30 10:51:24 -0700 |
commit | 8018c8db8221aa604b3c083e09d173cc27e53d83 (patch) | |
tree | 60cbc26ddde4fa65a476a7e869d88f358b734210 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 93d34a61dbdfd9ece9ac4a53d78e896638172895 (diff) |
Add path ops API
Path ops can be used to combine two paths instances in a single path
object. The following operations can be used:
- Difference
- Reverse difference
- Union
- XOR
- Intersection
To use the API:
Path p1 = createCircle();
Path p2 = createRect();
Path result = new Path();
result.op(p1, p2, Path.Op.DIFFERENCE);
This code will subtract the rectangle from the circle and generate
the resulting path in "result."
Change-Id: Ic25244665b6691a7df0b0002a09da73d937b553b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions