OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 SkNulCanvas_DEFINED | 8 #ifndef SkNulCanvas_DEFINED |
9 #define SkNulCanvas_DEFINED | 9 #define SkNulCanvas_DEFINED |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 40 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
41 const SkRect& dst, | 41 const SkRect& dst, |
42 const SkPaint* paint, | 42 const SkPaint* paint, |
43 DrawBitmapRectFlags flags) SK_OVERRIDE {} | 43 DrawBitmapRectFlags flags) SK_OVERRIDE {} |
44 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 44 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
45 const SkPaint* paint = NULL) SK_OVERRIDE {} | 45 const SkPaint* paint = NULL) SK_OVERRIDE {} |
46 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 46 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
47 const SkRect& dst, const SkPaint* paint = NULL)
SK_OVERRIDE {} | 47 const SkRect& dst, const SkPaint* paint = NULL)
SK_OVERRIDE {} |
48 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 48 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
49 const SkPaint* paint = NULL) SK_OVERRIDE {} | 49 const SkPaint* paint = NULL) SK_OVERRIDE {} |
50 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE {} | |
51 virtual void drawVertices(VertexMode vmode, int vertexCount, | 50 virtual void drawVertices(VertexMode vmode, int vertexCount, |
52 const SkPoint vertices[], const SkPoint texs[], | 51 const SkPoint vertices[], const SkPoint texs[], |
53 const SkColor colors[], SkXfermode* xmode, | 52 const SkColor colors[], SkXfermode* xmode, |
54 const uint16_t indices[], int indexCount, | 53 const uint16_t indices[], int indexCount, |
55 const SkPaint& paint) SK_OVERRIDE {} | 54 const SkPaint& paint) SK_OVERRIDE {} |
56 virtual void drawData(const void* data, size_t length) SK_OVERRIDE {} | 55 virtual void drawData(const void* data, size_t length) SK_OVERRIDE {} |
57 virtual void beginCommentGroup(const char* description) SK_OVERRIDE {} | 56 virtual void beginCommentGroup(const char* description) SK_OVERRIDE {} |
58 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE {} | 57 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE {} |
59 virtual void endCommentGroup() SK_OVERRIDE {} | 58 virtual void endCommentGroup() SK_OVERRIDE {} |
60 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE {retur
n NULL;} | 59 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE {retur
n NULL;} |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const SkPaint& paint) SK_OVERRIDE {} | 96 const SkPaint& paint) SK_OVERRIDE {} |
98 virtual void onDrawTextOnPath(const void* text, size_t byteLength, | 97 virtual void onDrawTextOnPath(const void* text, size_t byteLength, |
99 const SkPath& path, const SkMatrix* matrix, | 98 const SkPath& path, const SkMatrix* matrix, |
100 const SkPaint& paint) SK_OVERRIDE {} | 99 const SkPaint& paint) SK_OVERRIDE {} |
101 | 100 |
102 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE {} | 101 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE {} |
103 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE {} | 102 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE {} |
104 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE {} | 103 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE {} |
105 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE {} | 104 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE {} |
106 | 105 |
| 106 virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE {} |
| 107 |
107 private: | 108 private: |
108 typedef SkCanvas INHERITED; | 109 typedef SkCanvas INHERITED; |
109 }; | 110 }; |
110 | 111 |
111 #endif // SkNulCanvas_DEFINED | 112 #endif // SkNulCanvas_DEFINED |
OLD | NEW |