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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 46 virtual void drawPicture(SkPicture&) SK_OVERRIDE; |
47 virtual void drawVertices(VertexMode vmode, int vertexCount, | 47 virtual void drawVertices(VertexMode vmode, int vertexCount, |
48 const SkPoint vertices[], const SkPoint texs[], | 48 const SkPoint vertices[], const SkPoint texs[], |
49 const SkColor colors[], SkXfermode* xmode, | 49 const SkColor colors[], SkXfermode* xmode, |
50 const uint16_t indices[], int indexCount, | 50 const uint16_t indices[], int indexCount, |
51 const SkPaint&) SK_OVERRIDE; | 51 const SkPaint&) SK_OVERRIDE; |
52 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 52 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
53 | 53 |
54 virtual SkBounder* setBounder(SkBounder*) SK_OVERRIDE; | |
55 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; | 54 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; |
56 | 55 |
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 | 59 |
61 protected: | 60 protected: |
62 SkTDArray<SkCanvas*> fList; | 61 SkTDArray<SkCanvas*> fList; |
63 | 62 |
64 virtual void willSave(SaveFlags) SK_OVERRIDE; | 63 virtual void willSave(SaveFlags) SK_OVERRIDE; |
(...skipping 19 matching lines...) Expand all Loading... |
84 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 83 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
85 | 84 |
86 class Iter; | 85 class Iter; |
87 | 86 |
88 private: | 87 private: |
89 typedef SkCanvas INHERITED; | 88 typedef SkCanvas INHERITED; |
90 }; | 89 }; |
91 | 90 |
92 | 91 |
93 #endif | 92 #endif |
OLD | NEW |