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 #ifndef SkProxyCanvas_DEFINED | 8 #ifndef SkProxyCanvas_DEFINED |
9 #define SkProxyCanvas_DEFINED | 9 #define SkProxyCanvas_DEFINED |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 const SkPath& path, const SkMatrix* matrix, | 70 const SkPath& path, const SkMatrix* matrix, |
71 const SkPaint& paint) SK_OVERRIDE; | 71 const SkPaint& paint) SK_OVERRIDE; |
72 virtual void drawPicture(SkPicture&) SK_OVERRIDE; | 72 virtual void drawPicture(SkPicture&) SK_OVERRIDE; |
73 virtual void drawVertices(VertexMode vmode, int vertexCount, | 73 virtual void drawVertices(VertexMode vmode, int vertexCount, |
74 const SkPoint vertices[], const SkPoint texs[], | 74 const SkPoint vertices[], const SkPoint texs[], |
75 const SkColor colors[], SkXfermode* xmode, | 75 const SkColor colors[], SkXfermode* xmode, |
76 const uint16_t indices[], int indexCount, | 76 const uint16_t indices[], int indexCount, |
77 const SkPaint& paint) SK_OVERRIDE; | 77 const SkPaint& paint) SK_OVERRIDE; |
78 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 78 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
79 | 79 |
| 80 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| 81 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
| 82 virtual void endCommentGroup() SK_OVERRIDE; |
| 83 |
80 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; | 84 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; |
81 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; | 85 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
82 | 86 |
83 private: | 87 private: |
84 SkCanvas* fProxy; | 88 SkCanvas* fProxy; |
85 | 89 |
86 typedef SkCanvas INHERITED; | 90 typedef SkCanvas INHERITED; |
87 }; | 91 }; |
88 | 92 |
89 #endif | 93 #endif |
OLD | NEW |