diff options
author | Romain Guy <romainguy@google.com> | 2010-09-30 16:59:29 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-09-30 16:59:29 -0700 |
commit | be0488db81f6e156c25899cd1001e4d50a513df3 (patch) | |
tree | 744ea6c3fcaa4909d21dbb64b35904cd52e5b36f /graphics/java | |
parent | 02f41705199336f808ece50d81585450e7f8f61f (diff) | |
parent | d79991277043d6bdbd90bb63fd8aff73ef9e06a5 (diff) | |
download | frameworks_base-be0488db81f6e156c25899cd1001e4d50a513df3.zip frameworks_base-be0488db81f6e156c25899cd1001e4d50a513df3.tar.gz frameworks_base-be0488db81f6e156c25899cd1001e4d50a513df3.tar.bz2 |
Merge "Make simple paths made of lines work."
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/Path.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Path.java b/graphics/java/android/graphics/Path.java index c3416a0..1324431 100644 --- a/graphics/java/android/graphics/Path.java +++ b/graphics/java/android/graphics/Path.java @@ -236,6 +236,7 @@ public class Path { * @param y The y-coordinate of the end of a line */ public void lineTo(float x, float y) { + isSimplePath = false; native_lineTo(mNativePath, x, y); } @@ -250,6 +251,7 @@ public class Path { * this contour, to specify a line */ public void rLineTo(float dx, float dy) { + isSimplePath = false; native_rLineTo(mNativePath, dx, dy); } |