Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: include/pdf/SkPDFDevice.h

Issue 19519017: Inverse fill support in PDF (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix indent Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/config/SkUserConfig.h ('k') | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFDevice_DEFINED 10 #ifndef SkPDFDevice_DEFINED
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 const SkRegion& clipRegion, 286 const SkRegion& clipRegion,
287 const SkBitmap& bitmap, 287 const SkBitmap& bitmap,
288 const SkIRect* srcRect, 288 const SkIRect* srcRect,
289 const SkPaint& paint); 289 const SkPaint& paint);
290 290
291 /** Helper method for copyContentToData. It is responsible for copying the 291 /** Helper method for copyContentToData. It is responsible for copying the
292 * list of content entries |entry| to |data|. 292 * list of content entries |entry| to |data|.
293 */ 293 */
294 void copyContentEntriesToData(ContentEntry* entry, SkWStream* data) const; 294 void copyContentEntriesToData(ContentEntry* entry, SkWStream* data) const;
295 295
296 bool handleInversePath(const SkDraw& d, const SkPath& origPath,
297 const SkPaint& paint, bool pathIsMutable);
296 bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, 298 bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix,
297 const SkPaint& paint); 299 const SkPaint& paint);
298 bool handlePointAnnotation(const SkPoint* points, size_t count, 300 bool handlePointAnnotation(const SkPoint* points, size_t count,
299 const SkMatrix& matrix, const SkPaint& paint); 301 const SkMatrix& matrix, const SkPaint& paint);
300 SkPDFDict* createLinkAnnotation(const SkRect& r, const SkMatrix& matrix); 302 SkPDFDict* createLinkAnnotation(const SkRect& r, const SkMatrix& matrix);
301 void handleLinkToURL(SkData* urlData, const SkRect& r, 303 void handleLinkToURL(SkData* urlData, const SkRect& r,
302 const SkMatrix& matrix); 304 const SkMatrix& matrix);
303 void handleLinkToNamedDest(SkData* nameData, const SkRect& r, 305 void handleLinkToNamedDest(SkData* nameData, const SkRect& r,
304 const SkMatrix& matrix); 306 const SkMatrix& matrix);
305 void defineNamedDestination(SkData* nameData, const SkPoint& point, 307 void defineNamedDestination(SkData* nameData, const SkPoint& point,
306 const SkMatrix& matrix); 308 const SkMatrix& matrix);
307 309
308 typedef SkDevice INHERITED; 310 typedef SkDevice INHERITED;
309 }; 311 };
310 312
311 #endif 313 #endif
OLDNEW
« no previous file with comments | « include/config/SkUserConfig.h ('k') | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698