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 #ifndef SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; | 52 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
53 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], | 53 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], |
54 const SkPaint&) SK_OVERRIDE; | 54 const SkPaint&) SK_OVERRIDE; |
55 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; | 55 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
56 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 56 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
57 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; | 57 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; |
58 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; | 58 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; |
59 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, | 59 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, |
60 const SkPaint*) SK_OVERRIDE; | 60 const SkPaint*) SK_OVERRIDE; |
61 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, | 61 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, |
62 const SkRect& dst, const SkPaint*) SK_OVER
RIDE; | 62 const SkRect& dst, const SkPaint* paint, |
| 63 DrawBitmapRectFlags flags) SK_OVERRIDE; |
63 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, | 64 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, |
64 const SkPaint*) SK_OVERRIDE; | 65 const SkPaint*) SK_OVERRIDE; |
65 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 66 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
66 const SkRect& dst, const SkPaint*) SK_OVERRIDE; | 67 const SkRect& dst, const SkPaint*) SK_OVERRIDE; |
67 virtual void drawSprite(const SkBitmap&, int left, int top, | 68 virtual void drawSprite(const SkBitmap&, int left, int top, |
68 const SkPaint*) SK_OVERRIDE; | 69 const SkPaint*) SK_OVERRIDE; |
69 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 70 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
70 SkScalar y, const SkPaint&) SK_OVERRIDE; | 71 SkScalar y, const SkPaint&) SK_OVERRIDE; |
71 virtual void drawPosText(const void* text, size_t byteLength, | 72 virtual void drawPosText(const void* text, size_t byteLength, |
72 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; | 73 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 uint32_t fRecordFlags; | 241 uint32_t fRecordFlags; |
241 int fInitialSaveCount; | 242 int fInitialSaveCount; |
242 | 243 |
243 friend class SkPicturePlayback; | 244 friend class SkPicturePlayback; |
244 friend class SkPictureTester; // for unit testing | 245 friend class SkPictureTester; // for unit testing |
245 | 246 |
246 typedef SkCanvas INHERITED; | 247 typedef SkCanvas INHERITED; |
247 }; | 248 }; |
248 | 249 |
249 #endif | 250 #endif |
OLD | NEW |