Descriptionsupport gradients and stroke+fill
To draw paths that are stroked and filled with a pair of colors,
reduce the fill by the width of the stroke. This is implemented
with path ops subtracting the resolved stroke shape from the
fill shape. This permits rendering the result without requiring
an offscreen bitmap.
The implementation for stroke+fill requires a new entry into
the graphics engine, so a bit was added to device caps for that.
Extract the gradient information out of the axial gradient
function descriptions, and when possible, use Skia to draw
the linear gradient directly. This requires making the function
descriptions non-opaque, and adding a bit to device caps for
another entry into the graphics engine.
BUG=
Committed: https://pdfium.googlesource.com/pdfium/+/342f6fa66f6d843fe07d9b6a133656f83c8d62f6
Patch Set 1 #
Total comments: 34
Patch Set 2 : address comments #
Messages
Total messages: 10 (3 generated)
|