OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 const SkPaint&) SK_OVERRIDE; | 34 const SkPaint&) SK_OVERRIDE; |
35 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; | 35 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
36 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 36 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
37 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; | 37 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; |
38 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; | 38 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; |
39 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, | 39 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, |
40 const SkPaint*) SK_OVERRIDE; | 40 const SkPaint*) SK_OVERRIDE; |
41 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, | 41 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, |
42 const SkRect& dst, const SkPaint* paint, | 42 const SkRect& dst, const SkPaint* paint, |
43 DrawBitmapRectFlags flags) SK_OVERRIDE; | 43 DrawBitmapRectFlags flags) SK_OVERRIDE; |
44 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, | |
45 const SkPaint*) SK_OVERRIDE; | |
46 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 44 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
47 const SkRect& dst, const SkPaint*) SK_OVERRIDE; | 45 const SkRect& dst, const SkPaint*) SK_OVERRIDE; |
48 virtual void drawSprite(const SkBitmap&, int left, int top, | 46 virtual void drawSprite(const SkBitmap&, int left, int top, |
49 const SkPaint*) SK_OVERRIDE; | 47 const SkPaint*) SK_OVERRIDE; |
50 virtual void drawVertices(VertexMode, int vertexCount, | 48 virtual void drawVertices(VertexMode, int vertexCount, |
51 const SkPoint vertices[], const SkPoint texs[], | 49 const SkPoint vertices[], const SkPoint texs[], |
52 const SkColor colors[], SkXfermode*, | 50 const SkColor colors[], SkXfermode*, |
53 const uint16_t indices[], int indexCount, | 51 const uint16_t indices[], int indexCount, |
54 const SkPaint&) SK_OVERRIDE; | 52 const SkPaint&) SK_OVERRIDE; |
55 virtual void drawData(const void*, size_t) SK_OVERRIDE; | 53 virtual void drawData(const void*, size_t) SK_OVERRIDE; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 242 |
245 uint32_t fRecordFlags; | 243 uint32_t fRecordFlags; |
246 int fInitialSaveCount; | 244 int fInitialSaveCount; |
247 | 245 |
248 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 246 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
249 | 247 |
250 typedef SkCanvas INHERITED; | 248 typedef SkCanvas INHERITED; |
251 }; | 249 }; |
252 | 250 |
253 #endif | 251 #endif |
OLD | NEW |