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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 69 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
70 const SkPaint*, SrcRectConstraint) override; | 70 const SkPaint*, SrcRectConstraint) override; |
71 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 71 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
72 const SkPaint*) override; | 72 const SkPaint*) override; |
73 void onDrawVertices(VertexMode vmode, int vertexCount, | 73 void onDrawVertices(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&) override; | 77 const SkPaint&) override; |
78 | 78 |
79 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 79 void onClipRect(const SkRect&, ClipOp, ClipEdgeStyle) override; |
80 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 80 void onClipRRect(const SkRRect&, ClipOp, ClipEdgeStyle) override; |
81 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 81 void onClipPath(const SkPath&, ClipOp, ClipEdgeStyle) override; |
82 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 82 void onClipRegion(const SkRegion&, ClipOp) override; |
83 | 83 |
84 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 84 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
85 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 85 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
86 | 86 |
87 class Iter; | 87 class Iter; |
88 | 88 |
89 private: | 89 private: |
90 typedef SkCanvas INHERITED; | 90 typedef SkCanvas INHERITED; |
91 }; | 91 }; |
92 | 92 |
93 | 93 |
94 #endif | 94 #endif |
OLD | NEW |