Descriptionfix the error that path is inversed for stroke and strokeAndFill styles.
However, because hairline stroke + fill = fill (see src/core/SkStrokeRec.cpp), strokeAndFill will be thought as fill style when paint.getStrokeWidth() <= 0, this edge case can be inverse-filled.
BUG=skia:2222
Committed: http://code.google.com/p/skia/source/detail?r=14561
Patch Set 1 #Patch Set 2 : this fix changed some gm cases, add them to ignore-tests.txt #Patch Set 3 : fix the error when path inversed for StrokeAndFill style #
Total comments: 3
Patch Set 4 : update code according to Brian's suggestion #Patch Set 5 : update ignore-tests.txt #Patch Set 6 : update unittest EmptyPath accordingly #
Messages
Total messages: 24 (0 generated)
|