diff options
author | 2015-06-14 11:04:58 -0700 | |
---|---|---|
committer | 2015-06-14 11:04:58 -0700 | |
commit | eee0e4e9d343d8b6c5ae2da7f17196f00d8859bc (patch) | |
tree | ab05da4be68da6c016d4113290626de4ccdddb3e /src/pdf/SkPDFDevice.h | |
parent | 245c850034a3c3900ce197fa58df5afbb3d68f06 (diff) |
SkPDF: Annotations are clipped by canvas clip stack.
Also, remove some SkPDFDevice functions.
Will fix this GM: http://crrev.com/1159273003
BUG=skia:3872
Review URL: https://codereview.chromium.org/1148263005
Diffstat (limited to 'src/pdf/SkPDFDevice.h')
-rw-r--r-- | src/pdf/SkPDFDevice.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h index 18be58de43..e8c287c5fb 100644 --- a/src/pdf/SkPDFDevice.h +++ b/src/pdf/SkPDFDevice.h @@ -293,17 +293,9 @@ private: bool handleInversePath(const SkDraw& d, const SkPath& origPath, const SkPaint& paint, bool pathIsMutable, const SkMatrix* prePathMatrix = NULL); - bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, - const SkPaint& paint); bool handlePointAnnotation(const SkPoint* points, size_t count, - const SkMatrix& matrix, const SkPaint& paint); + const SkMatrix& matrix, SkAnnotation* annot); void addAnnotation(SkPDFDict*); - void handleLinkToURL(SkData* urlData, const SkRect& r, - const SkMatrix& matrix); - void handleLinkToNamedDest(SkData* nameData, const SkRect& r, - const SkMatrix& matrix); - void defineNamedDestination(SkData* nameData, const SkPoint& point, - const SkMatrix& matrix); typedef SkBaseDevice INHERITED; |