OLD | NEW |
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 Loading... |
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 const SkMatrix& matrix); | 303 const SkMatrix& matrix); |
303 void handleLinkToNamedDest(SkData* nameData, const SkRect& r, | 304 void handleLinkToNamedDest(SkData* nameData, const SkRect& r, |
304 const SkMatrix& matrix); | 305 const SkMatrix& matrix); |
305 void defineNamedDestination(SkData* nameData, const SkPoint& point, | 306 void defineNamedDestination(SkData* nameData, const SkPoint& point, |
306 const SkMatrix& matrix); | 307 const SkMatrix& matrix); |
307 | 308 |
308 typedef SkDevice INHERITED; | 309 typedef SkDevice INHERITED; |
309 }; | 310 }; |
310 | 311 |
311 #endif | 312 #endif |
OLD | NEW |