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 #ifndef SkNWayCanvas_DEFINED | 9 #ifndef SkNWayCanvas_DEFINED |
10 #define SkNWayCanvas_DEFINED | 10 #define SkNWayCanvas_DEFINED |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; | 42 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
43 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], | 43 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
44 const SkPaint&) SK_OVERRIDE; | 44 const SkPaint&) SK_OVERRIDE; |
45 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; | 45 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
46 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 46 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
47 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; | 47 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; |
48 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; | 48 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; |
49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
50 const SkPaint*) SK_OVERRIDE; | 50 const SkPaint*) SK_OVERRIDE; |
51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
52 const SkRect& dst, const SkPaint*) SK_OVERRIDE; | 52 const SkRect& dst, const SkPaint* paint, |
| 53 DrawBitmapRectFlags flags) SK_OVERRIDE; |
53 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 54 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
54 const SkPaint*) SK_OVERRIDE; | 55 const SkPaint*) SK_OVERRIDE; |
55 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 56 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
56 const SkPaint*) SK_OVERRIDE; | 57 const SkPaint*) SK_OVERRIDE; |
57 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 58 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
58 SkScalar y, const SkPaint&) SK_OVERRIDE; | 59 SkScalar y, const SkPaint&) SK_OVERRIDE; |
59 virtual void drawPosText(const void* text, size_t byteLength, | 60 virtual void drawPosText(const void* text, size_t byteLength, |
60 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; | 61 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; |
61 virtual void drawPosTextH(const void* text, size_t byteLength, | 62 virtual void drawPosTextH(const void* text, size_t byteLength, |
62 const SkScalar xpos[], SkScalar constY, | 63 const SkScalar xpos[], SkScalar constY, |
(...skipping 18 matching lines...) Expand all Loading... |
81 private: | 82 private: |
82 SkTDArray<SkCanvas*> fList; | 83 SkTDArray<SkCanvas*> fList; |
83 | 84 |
84 class Iter; | 85 class Iter; |
85 | 86 |
86 typedef SkCanvas INHERITED; | 87 typedef SkCanvas INHERITED; |
87 }; | 88 }; |
88 | 89 |
89 | 90 |
90 #endif | 91 #endif |
OLD | NEW |