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 25 matching lines...) Expand all Loading... |
36 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 36 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
37 const SkRect& dst, const SkPaint* paint, | 37 const SkRect& dst, const SkPaint* paint, |
38 DrawBitmapRectFlags flags) SK_OVERRIDE; | 38 DrawBitmapRectFlags flags) SK_OVERRIDE; |
39 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 39 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
40 const SkPaint*) SK_OVERRIDE; | 40 const SkPaint*) SK_OVERRIDE; |
41 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 41 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
42 const SkRect& dst, | 42 const SkRect& dst, |
43 const SkPaint* paint = NULL) SK_OVERRIDE; | 43 const SkPaint* paint = NULL) SK_OVERRIDE; |
44 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 44 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
45 const SkPaint*) SK_OVERRIDE; | 45 const SkPaint*) SK_OVERRIDE; |
46 virtual void drawPicture(SkPicture&) SK_OVERRIDE; | |
47 virtual void drawVertices(VertexMode vmode, int vertexCount, | 46 virtual void drawVertices(VertexMode vmode, int vertexCount, |
48 const SkPoint vertices[], const SkPoint texs[], | 47 const SkPoint vertices[], const SkPoint texs[], |
49 const SkColor colors[], SkXfermode* xmode, | 48 const SkColor colors[], SkXfermode* xmode, |
50 const uint16_t indices[], int indexCount, | 49 const uint16_t indices[], int indexCount, |
51 const SkPaint&) SK_OVERRIDE; | 50 const SkPaint&) SK_OVERRIDE; |
52 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
53 | 52 |
54 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; | 53 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; |
55 | 54 |
56 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 55 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
(...skipping 18 matching lines...) Expand all Loading... |
75 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 74 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
76 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 75 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
77 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 76 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
78 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 77 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
79 | 78 |
80 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 79 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
81 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 80 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
82 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 81 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
83 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 82 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
84 | 83 |
| 84 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; |
| 85 |
85 class Iter; | 86 class Iter; |
86 | 87 |
87 private: | 88 private: |
88 typedef SkCanvas INHERITED; | 89 typedef SkCanvas INHERITED; |
89 }; | 90 }; |
90 | 91 |
91 | 92 |
92 #endif | 93 #endif |
OLD | NEW |