aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-02-20 06:33:57 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-20 06:33:57 -0800
commit04e4d08556750ff6be4576a4cd4925964c63376f (patch)
treea311cbe718948f35a5408ed175cb93f3be34316b /gyp
parenta1f1ee98a1f6d0770f6243270ca2f0e6c92efaba (diff)
This uses quad approximations of the outer and inner paths describing a stroke. Cubics and conics' thick strokes are approximated with quads as well.
The approximation uses a similar error term as the fill scan converter to determine the number of quads to use. This also updates SampleApp QuadStroker test with conics, ovals, and stroked text. Review URL: https://codereview.chromium.org/932113002
Diffstat (limited to 'gyp')
-rw-r--r--gyp/common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi
index ce3fc2669d..9e48c17b96 100644
--- a/gyp/common.gypi
+++ b/gyp/common.gypi
@@ -15,6 +15,7 @@
'SK_INTERNAL',
'SK_GAMMA_SRGB',
'SK_GAMMA_APPLY_TO_A8',
+ 'SK_QUAD_STROKE_APPROXIMATION',
'SK_SCALAR_TO_FLOAT_EXCLUDED', # temporary to allow Chrome to call SkFloatToScalar
# 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', # TODO(reed): Re-enable when tests don't crash with this.
],