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 25 matching lines...) Expand all Loading... |
36 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; | 36 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; |
37 virtual bool clipRRect(const SkRRect&, SkRegion::Op, bool) SK_OVERRIDE; | 37 virtual bool clipRRect(const SkRRect&, SkRegion::Op, bool) SK_OVERRIDE; |
38 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; | 38 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; |
39 virtual bool clipRegion(const SkRegion& deviceRgn, | 39 virtual bool clipRegion(const SkRegion& deviceRgn, |
40 SkRegion::Op) SK_OVERRIDE; | 40 SkRegion::Op) SK_OVERRIDE; |
41 | 41 |
42 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; | 42 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
43 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], | 43 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
44 const SkPaint&) SK_OVERRIDE; | 44 const SkPaint&) SK_OVERRIDE; |
45 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; | 45 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
46 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 46 virtual void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
47 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; | 47 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; |
48 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; | 48 virtual void onDrawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; |
49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
50 const SkPaint*) SK_OVERRIDE; | 50 const SkPaint*) SK_OVERRIDE; |
51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
52 const SkRect& dst, const SkPaint* paint, | 52 const SkRect& dst, const SkPaint* paint, |
53 DrawBitmapRectFlags flags) SK_OVERRIDE; | 53 DrawBitmapRectFlags flags) SK_OVERRIDE; |
54 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 54 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
55 const SkPaint*) SK_OVERRIDE; | 55 const SkPaint*) SK_OVERRIDE; |
56 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 56 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
57 const SkPaint*) SK_OVERRIDE; | 57 const SkPaint*) SK_OVERRIDE; |
58 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 58 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
(...skipping 24 matching lines...) Expand all Loading... |
83 SkTDArray<SkCanvas*> fList; | 83 SkTDArray<SkCanvas*> fList; |
84 | 84 |
85 class Iter; | 85 class Iter; |
86 | 86 |
87 private: | 87 private: |
88 typedef SkCanvas INHERITED; | 88 typedef SkCanvas INHERITED; |
89 }; | 89 }; |
90 | 90 |
91 | 91 |
92 #endif | 92 #endif |
OLD | NEW |