diff options
author | Hal Canary <halcanary@google.com> | 2017-05-26 17:01:16 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-05 19:22:46 +0000 |
commit | d12a67626da4f5919b48c513fee80974f603473e (patch) | |
tree | e991cd2a37219732937291cf1a76fb2eca34214d /src/pdf/SkPDFDevice.h | |
parent | f36031b68aa5b92204187c154fc5bc717db20a3a (diff) |
SkPDF: Draw paths with mask filters; color filter.
Also:
- drawPaint, drawPath w/ perspective shaders
- text with mask filters, stroking, path effect.
- SkPDFUtils::GetShaderLocalMatrix
BUG=skia:237
BUG=skia:238
BUG=skia:5607
Change-Id: Iffeaf2d7abbde13fd2577ce9feaa178657f48364
Reviewed-on: https://skia-review.googlesource.com/18200
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/pdf/SkPDFDevice.h')
-rw-r--r-- | src/pdf/SkPDFDevice.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h index 1906bb37a7..61c08c397d 100644 --- a/src/pdf/SkPDFDevice.h +++ b/src/pdf/SkPDFDevice.h @@ -274,6 +274,12 @@ private: const SkMatrix* prePathMatrix, bool pathIsMutable); + void internalDrawPathWithFilter(const SkClipStack& clipStack, + const SkMatrix& ctm, + const SkPath& origPath, + const SkPaint& paint, + const SkMatrix* prePathMatrix); + bool handleInversePath(const SkPath& origPath, const SkPaint& paint, bool pathIsMutable, const SkMatrix* prePathMatrix = nullptr); |