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 #ifndef SkProxyCanvas_DEFINED | 8 #ifndef SkProxyCanvas_DEFINED |
9 #define SkProxyCanvas_DEFINED | 9 #define SkProxyCanvas_DEFINED |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; | 41 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; |
42 virtual bool clipRRect(const SkRRect&, SkRegion::Op, bool) SK_OVERRIDE; | 42 virtual bool clipRRect(const SkRRect&, SkRegion::Op, bool) SK_OVERRIDE; |
43 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; | 43 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; |
44 virtual bool clipRegion(const SkRegion& deviceRgn, | 44 virtual bool clipRegion(const SkRegion& deviceRgn, |
45 SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRI
DE; | 45 SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRI
DE; |
46 | 46 |
47 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; | 47 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
48 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], | 48 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
49 const SkPaint& paint) SK_OVERRIDE; | 49 const SkPaint& paint) SK_OVERRIDE; |
50 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 50 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
51 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 51 virtual void onDrawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
52 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; | 52 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; |
53 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; | 53 virtual void onDrawPath(const SkPath& path, const SkPaint& paint) SK_OVERRID
E; |
54 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 54 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
55 const SkPaint* paint = NULL) SK_OVERRIDE; | 55 const SkPaint* paint = NULL) SK_OVERRIDE; |
56 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 56 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
57 const SkRect& dst, const SkPaint* paint, | 57 const SkRect& dst, const SkPaint* paint, |
58 DrawBitmapRectFlags flags) SK_OVERRIDE; | 58 DrawBitmapRectFlags flags) SK_OVERRIDE; |
59 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 59 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
60 const SkPaint* paint = NULL) SK_OVERRIDE; | 60 const SkPaint* paint = NULL) SK_OVERRIDE; |
61 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 61 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
62 const SkPaint* paint = NULL) SK_OVERRIDE; | 62 const SkPaint* paint = NULL) SK_OVERRIDE; |
63 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 63 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
(...skipping 21 matching lines...) Expand all Loading... |
85 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; | 85 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; |
86 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; | 86 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
87 | 87 |
88 private: | 88 private: |
89 SkCanvas* fProxy; | 89 SkCanvas* fProxy; |
90 | 90 |
91 typedef SkCanvas INHERITED; | 91 typedef SkCanvas INHERITED; |
92 }; | 92 }; |
93 | 93 |
94 #endif | 94 #endif |
OLD | NEW |