DescriptionApply vector-effect transform to path geometry - not stroke geometry
When drawing line caps for zero-length subpaths, the path-derived
geometry is the position of the linecap, and not the generated shape.
Hence the non-scaling-stroke transform should be applied to the position
where the line cap shape should be drawn, and no the shape itself.
This also means that we can simplify the code, by calling drawRect/Oval
directly instead of going through a Path object.
BUG=497498
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196684
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|