DescriptionThis 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.
Committed: https://skia.googlesource.com/skia/+/04e4d08556750ff6be4576a4cd4925964c63376f
Patch Set 1 #Patch Set 2 : remove sampleapp changes #Patch Set 3 : add conic support #Patch Set 4 : add conic support to experimental stroking #Patch Set 5 : adjust error term; add circle test #Patch Set 6 : remove unneeded stuff from sample #Patch Set 7 : add macro to suppress uninitialized warning #
Messages
Total messages: 12 (5 generated)
|