DescriptionSkPaintFilterCanvas should inherit the target canvas state
Currently, SkPaintFilterCanvas does not provide any help in cloning
target canvas state. While that could be handled in subclasses, it is
easy to miss (see linked bug).
This CL adds a new constructor variant which ensures that the initial
matrix and clip bounds are inherited from the target canvas.
BUG=516790
R=reed@google.com,robertphillips@google.com
Committed: https://skia.googlesource.com/skia/+/f433bb2bebd441cc0b2b152e8fbf79eac43baf5d
Patch Set 1 #Patch Set 2 : comment tweak #Patch Set 3 : cleanup #
Messages
Total messages: 11 (4 generated)
|