This uses quad approximations of the outer and inner paths describing a stroke. Cubic...
authorcaryclark <caryclark@google.com>
Fri, 20 Feb 2015 14:33:57 +0000 (06:33 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 14:33:57 +0000 (06:33 -0800)
commit04e4d08556750ff6be4576a4cd4925964c63376f
treea311cbe718948f35a5408ed175cb93f3be34316b
parenta1f1ee98a1f6d0770f6243270ca2f0e6c92efaba
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
gyp/common.gypi
samplecode/SampleQuadStroker.cpp
src/core/SkStroke.cpp
src/core/SkStroke.h
src/core/SkStrokeRec.cpp