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

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

Issue 20806003: Plumb in "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed pipe-specific issues and updated to ToT 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; 81 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE;
82 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, 82 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode,
83 size_t count, const SkPoint[], 83 size_t count, const SkPoint[],
84 const SkPaint& paint) SK_OVERRIDE; 84 const SkPaint& paint) SK_OVERRIDE;
85 virtual void drawRect(const SkDraw&, const SkRect& r, const SkPaint& paint); 85 virtual void drawRect(const SkDraw&, const SkRect& r, const SkPaint& paint);
86 virtual void drawPath(const SkDraw&, const SkPath& origpath, 86 virtual void drawPath(const SkDraw&, const SkPath& origpath,
87 const SkPaint& paint, const SkMatrix* prePathMatrix, 87 const SkPaint& paint, const SkMatrix* prePathMatrix,
88 bool pathIsMutable) SK_OVERRIDE; 88 bool pathIsMutable) SK_OVERRIDE;
89 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, 89 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
90 const SkRect* src, const SkRect& dst, 90 const SkRect* src, const SkRect& dst,
91 const SkPaint& paint) SK_OVERRIDE; 91 const SkPaint& paint,
92 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE ;
92 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 93 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap,
93 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; 94 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE;
94 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, 95 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y,
95 const SkPaint& paint) SK_OVERRIDE; 96 const SkPaint& paint) SK_OVERRIDE;
96 virtual void drawText(const SkDraw&, const void* text, size_t len, 97 virtual void drawText(const SkDraw&, const void* text, size_t len,
97 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; 98 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE;
98 virtual void drawPosText(const SkDraw&, const void* text, size_t len, 99 virtual void drawPosText(const SkDraw&, const void* text, size_t len,
99 const SkScalar pos[], SkScalar constY, 100 const SkScalar pos[], SkScalar constY,
100 int scalarsPerPos, const SkPaint&) SK_OVERRIDE; 101 int scalarsPerPos, const SkPaint&) SK_OVERRIDE;
101 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, 102 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len,
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 const SkMatrix& matrix); 307 const SkMatrix& matrix);
307 void handleLinkToNamedDest(SkData* nameData, const SkRect& r, 308 void handleLinkToNamedDest(SkData* nameData, const SkRect& r,
308 const SkMatrix& matrix); 309 const SkMatrix& matrix);
309 void defineNamedDestination(SkData* nameData, const SkPoint& point, 310 void defineNamedDestination(SkData* nameData, const SkPoint& point,
310 const SkMatrix& matrix); 311 const SkMatrix& matrix);
311 312
312 typedef SkDevice INHERITED; 313 typedef SkDevice INHERITED;
313 }; 314 };
314 315
315 #endif 316 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698