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