OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkNulCanvas_DEFINED | 8 #ifndef SkNulCanvas_DEFINED |
9 #define SkNulCanvas_DEFINED | 9 #define SkNulCanvas_DEFINED |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const SkPaint& paint) override {} | 75 const SkPaint& paint) override {} |
76 void onDrawRect(const SkRect& rect, const SkPaint& paint) override {} | 76 void onDrawRect(const SkRect& rect, const SkPaint& paint) override {} |
77 void onDrawOval(const SkRect& oval, const SkPaint&) override {} | 77 void onDrawOval(const SkRect& oval, const SkPaint&) override {} |
78 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override {} | 78 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override {} |
79 void onDrawPath(const SkPath& path, const SkPaint& paint) override {} | 79 void onDrawPath(const SkPath& path, const SkPaint& paint) override {} |
80 void onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 80 void onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
81 const SkPaint* paint = NULL) override {} | 81 const SkPaint* paint = NULL) override {} |
82 void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, | 82 void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, |
83 const SkRect& dst, | 83 const SkRect& dst, |
84 const SkPaint* paint, | 84 const SkPaint* paint, |
85 SK_VIRTUAL_CONSTRAINT_TYPE) override {} | 85 SkCanvas::SrcRectConstraint) override {} |
86 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override {} | 86 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override {} |
87 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP
aint* | 87 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP
aint*, |
88 SRC_RECT_CONSTRAINT_PARAM(constraint)) override {} | 88 SkCanvas::SrcRectConstraint) override {} |
89 void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 89 void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
90 const SkRect& dst, const SkPaint* paint = NULL) overri
de {} | 90 const SkRect& dst, const SkPaint* paint = NULL) overri
de {} |
91 void onDrawSprite(const SkBitmap& bitmap, int left, int top, | 91 void onDrawSprite(const SkBitmap& bitmap, int left, int top, |
92 const SkPaint* paint = NULL) override {} | 92 const SkPaint* paint = NULL) override {} |
93 void onDrawVertices(VertexMode vmode, int vertexCount, | 93 void onDrawVertices(VertexMode vmode, int vertexCount, |
94 const SkPoint vertices[], const SkPoint texs[], | 94 const SkPoint vertices[], const SkPoint texs[], |
95 const SkColor colors[], SkXfermode* xmode, | 95 const SkColor colors[], SkXfermode* xmode, |
96 const uint16_t indices[], int indexCount, | 96 const uint16_t indices[], int indexCount, |
97 const SkPaint& paint) override {} | 97 const SkPaint& paint) override {} |
98 | 98 |
99 | 99 |
100 private: | 100 private: |
101 typedef SkCanvas INHERITED; | 101 typedef SkCanvas INHERITED; |
102 }; | 102 }; |
103 | 103 |
104 #endif // SkNulCanvas_DEFINED | 104 #endif // SkNulCanvas_DEFINED |
OLD | NEW |