DescriptionAdd SkPath::isLastContourClosed()
Adds a simple method for checking if the last command/verb in the
current contour is a 'close'.
This will simplify determining "closedness" for blink::Path, and aid
in the implementation of algorithms such as:
https://drafts.fxtf.org/motion-1/#motion-processing (second item in list)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1601103006
Committed: https://skia.googlesource.com/skia/+/b1475b0d41efc580207183a4e25d14e920b57360
Patch Set 1 #
Total comments: 4
Patch Set 2 : isClosed -> isLastContourClosed; add braces #
Messages
Total messages: 21 (9 generated)
|