94e34f7a1b
This CL adds two new APIs to SkCanvas: getBaseProps, and getTopProps. SkCavas::getBaseProps is functionally identical to getProps, but returns the SkSurfaceProps by value, rather than via an 'out' parameter. SkCanvas::getProps is now considered deprecated. SkCanvas::getTopProps returns the 'currently active' SkSurfaceProps, i.e., it returns the props from the "top device". This is useful because the SkSurfaceProps can change when creating new layers. Bug: skia:13483 Change-Id: Ia1d9a10ffdd929427f1f2c0a7c4ba6965d4bd3c0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/554736 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: Ian Prest <iapres@microsoft.com> |
||
---|---|---|
.. | ||
mac | ||
BUILD.bazel | ||
SkAnimCodecPlayer.h | ||
SkBase64.h | ||
SkCamera.h | ||
SkCanvasStateUtils.h | ||
SkCustomTypeface.h | ||
SkEventTracer.h | ||
SkNoDrawCanvas.h | ||
SkNullCanvas.h | ||
SkNWayCanvas.h | ||
SkOrderedFontMgr.h | ||
SkPaintFilterCanvas.h | ||
SkParse.h | ||
SkParsePath.h | ||
SkRandom.h | ||
SkShadowUtils.h | ||
SkTextUtils.h | ||
SkTraceEventPhase.h |