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 30 matching lines...) Expand all Loading... |
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 drawVertices(VertexMode vmode, int vertexCount, | 46 virtual void drawVertices(VertexMode vmode, int vertexCount, |
47 const SkPoint vertices[], const SkPoint texs[], | 47 const SkPoint vertices[], const SkPoint texs[], |
48 const SkColor colors[], SkXfermode* xmode, | 48 const SkColor colors[], SkXfermode* xmode, |
49 const uint16_t indices[], int indexCount, | 49 const uint16_t indices[], int indexCount, |
50 const SkPaint&) SK_OVERRIDE; | 50 const SkPaint&) SK_OVERRIDE; |
| 51 virtual void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRI
DE; |
51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 52 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
52 | 53 |
53 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; | 54 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; |
54 | 55 |
55 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 56 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
56 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 57 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
57 virtual void endCommentGroup() SK_OVERRIDE; | 58 virtual void endCommentGroup() SK_OVERRIDE; |
58 | 59 |
59 protected: | 60 protected: |
60 SkTDArray<SkCanvas*> fList; | 61 SkTDArray<SkCanvas*> fList; |
(...skipping 23 matching lines...) Expand all Loading... |
84 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; | 85 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; |
85 | 86 |
86 class Iter; | 87 class Iter; |
87 | 88 |
88 private: | 89 private: |
89 typedef SkCanvas INHERITED; | 90 typedef SkCanvas INHERITED; |
90 }; | 91 }; |
91 | 92 |
92 | 93 |
93 #endif | 94 #endif |
OLD | NEW |