DescriptionExpand GrStyle's interface.
Adds some basic getters on GrStyle as well as static const instances for fill and hairline.
Adds the ability to apply a GrStyle to a SkPath to produce an output SkPath.
Moves style key functions from GrShape to GrStyle.
Also fixes some issues with SkPath creation when applying style to GrShapes.
Adds tests that GrShape produces the correct SkPath when its GrStyle is applied.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1951613002
Committed: https://skia.googlesource.com/skia/+/fb08327e592a1dd19a0c3107243ccd01f6b7f848
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : rebase #Patch Set 4 : comment cleanup #Patch Set 5 : uncomment reporter_assert #Patch Set 6 : remove unneeded zero dash length check #Patch Set 7 : Remove GrStyle cons with initstyle override #
Total comments: 8
Patch Set 8 : Address comments #Patch Set 9 : Don't use temp for stroke in GrShape::GrShape() #
Messages
Total messages: 18 (8 generated)
|