diff options
author | Derek Sollenberger <djsollen@google.com> | 2015-03-25 11:32:17 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2015-03-25 11:39:40 -0400 |
commit | 289e1b871656b04c0a7edf6e578c9094f5fb3b81 (patch) | |
tree | 5af2641c60f90b609892a890b280bf20a48e60cb /libs | |
parent | a91e9e5403bdafe3df9d40a94035618e4f98eb9f (diff) | |
download | frameworks_base-289e1b871656b04c0a7edf6e578c9094f5fb3b81.zip frameworks_base-289e1b871656b04c0a7edf6e578c9094f5fb3b81.tar.gz frameworks_base-289e1b871656b04c0a7edf6e578c9094f5fb3b81.tar.bz2 |
Update ShadowTesslator to support conics
bug:19732872
Change-Id: I8b539ab3677219fa5bb7de7caf0aad9fc47ef7e9
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/ShadowTessellator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/ShadowTessellator.cpp b/libs/hwui/ShadowTessellator.cpp index 9509c48..30d3f41 100644 --- a/libs/hwui/ShadowTessellator.cpp +++ b/libs/hwui/ShadowTessellator.cpp @@ -197,6 +197,7 @@ bool ShadowTessellator::isClockwisePath(const SkPath& path) { case SkPath::kLine_Verb: arrayForDirection.add((Vector2){pts[1].x(), pts[1].y()}); break; + case SkPath::kConic_Verb: case SkPath::kQuad_Verb: arrayForDirection.add((Vector2){pts[1].x(), pts[1].y()}); arrayForDirection.add((Vector2){pts[2].x(), pts[2].y()}); |