OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_ | 5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_ |
6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ | 6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 // SkPicture::AbortCallback override. | 32 // SkPicture::AbortCallback override. |
33 bool abort() override; | 33 bool abort() override; |
34 | 34 |
35 // SkCanvas overrides. | 35 // SkCanvas overrides. |
36 void onDrawPaint(const SkPaint& paint) override; | 36 void onDrawPaint(const SkPaint& paint) override; |
37 void onDrawPoints(PointMode, | 37 void onDrawPoints(PointMode, |
38 size_t count, | 38 size_t count, |
39 const SkPoint pts[], | 39 const SkPoint pts[], |
40 const SkPaint&) override; | 40 const SkPaint&) override; |
41 void onDrawOval(const SkRect&, const SkPaint&) override; | 41 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 42 void onDrawArc(const SkRect&, |
| 43 SkScalar startAngle, |
| 44 SkScalar sweepAngle, |
| 45 bool useCenter, |
| 46 const SkPaint&) override; |
42 void onDrawRect(const SkRect&, const SkPaint&) override; | 47 void onDrawRect(const SkRect&, const SkPaint&) override; |
43 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 48 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
44 void onDrawPath(const SkPath& path, const SkPaint&) override; | 49 void onDrawPath(const SkPath& path, const SkPaint&) override; |
45 void onDrawBitmap(const SkBitmap&, | 50 void onDrawBitmap(const SkBitmap&, |
46 SkScalar left, | 51 SkScalar left, |
47 SkScalar top, | 52 SkScalar top, |
48 const SkPaint* paint = NULL) override; | 53 const SkPaint* paint = NULL) override; |
49 void onDrawBitmapRect(const SkBitmap&, | 54 void onDrawBitmapRect(const SkBitmap&, |
50 const SkRect* src, | 55 const SkRect* src, |
51 const SkRect& dst, | 56 const SkRect& dst, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 bool is_solid_color_; | 136 bool is_solid_color_; |
132 SkColor color_; | 137 SkColor color_; |
133 bool is_transparent_; | 138 bool is_transparent_; |
134 int draw_op_count_; | 139 int draw_op_count_; |
135 }; | 140 }; |
136 | 141 |
137 } // namespace skia | 142 } // namespace skia |
138 | 143 |
139 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ | 144 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ |
140 | 145 |
OLD | NEW |