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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 58 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
59 void onDrawPath(const SkPath&, const SkPaint&) override; | 59 void onDrawPath(const SkPath&, const SkPaint&) override; |
60 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 60 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
61 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 61 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
62 SrcRectConstraint) override; | 62 SrcRectConstraint) override; |
63 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 63 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
64 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 64 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
65 const SkPaint*, SrcRectConstraint) override; | 65 const SkPaint*, SrcRectConstraint) override; |
66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
67 const SkPaint*) override; | 67 const SkPaint*) override; |
68 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; | |
69 void onDrawVertices(VertexMode vmode, int vertexCount, | 68 void onDrawVertices(VertexMode vmode, int vertexCount, |
70 const SkPoint vertices[], const SkPoint texs[], | 69 const SkPoint vertices[], const SkPoint texs[], |
71 const SkColor colors[], SkXfermode* xmode, | 70 const SkColor colors[], SkXfermode* xmode, |
72 const uint16_t indices[], int indexCount, | 71 const uint16_t indices[], int indexCount, |
73 const SkPaint&) override; | 72 const SkPaint&) override; |
74 | 73 |
75 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 74 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
76 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 75 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
77 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 76 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
78 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 77 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
79 | 78 |
80 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 79 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
81 | 80 |
82 class Iter; | 81 class Iter; |
83 | 82 |
84 private: | 83 private: |
85 typedef SkCanvas INHERITED; | 84 typedef SkCanvas INHERITED; |
86 }; | 85 }; |
87 | 86 |
88 | 87 |
89 #endif | 88 #endif |
OLD | NEW |