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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 43 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
44 const SkRect& dst, | 44 const SkRect& dst, |
45 const SkPaint* paint = NULL) SK_OVERRIDE; | 45 const SkPaint* paint = NULL) SK_OVERRIDE; |
46 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 46 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
47 const SkPaint*) SK_OVERRIDE; | 47 const SkPaint*) SK_OVERRIDE; |
48 virtual void drawVertices(VertexMode vmode, int vertexCount, | 48 virtual void drawVertices(VertexMode vmode, int vertexCount, |
49 const SkPoint vertices[], const SkPoint texs[], | 49 const SkPoint vertices[], const SkPoint texs[], |
50 const SkColor colors[], SkXfermode* xmode, | 50 const SkColor colors[], SkXfermode* xmode, |
51 const uint16_t indices[], int indexCount, | 51 const uint16_t indices[], int indexCount, |
52 const SkPaint&) SK_OVERRIDE; | 52 const SkPaint&) SK_OVERRIDE; |
53 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | |
54 | 53 |
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 |
(...skipping 27 matching lines...) Expand all Loading... |
91 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; | 90 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
92 | 91 |
93 class Iter; | 92 class Iter; |
94 | 93 |
95 private: | 94 private: |
96 typedef SkCanvas INHERITED; | 95 typedef SkCanvas INHERITED; |
97 }; | 96 }; |
98 | 97 |
99 | 98 |
100 #endif | 99 #endif |
OLD | NEW |