Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: skia/ext/analysis_canvas.h

Issue 2264673003: Add override to AnalysisCanvas for new SkCanvas virtual, onDrawArc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698