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

Side by Side Diff: src/utils/SkShadowPaintFilterCanvas.h

Issue 2257023003: Plumb drawArc to SkDevice (Closed) Base URL: https://chromium.googlesource.com/skia.git@distance
Patch Set: Address comments 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 | « src/utils/SkPaintFilterCanvas.cpp ('k') | src/utils/SkShadowPaintFilterCanvas.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 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 SkShadowPaintFilterCanvas_DEFINED 8 #ifndef SkShadowPaintFilterCanvas_DEFINED
9 #define SkShadowPaintFilterCanvas_DEFINED 9 #define SkShadowPaintFilterCanvas_DEFINED
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 void onDrawRect(const SkRect &rect, const SkPaint &paint) override; 49 void onDrawRect(const SkRect &rect, const SkPaint &paint) override;
50 50
51 void onDrawRRect(const SkRRect &rrect, const SkPaint &paint) override; 51 void onDrawRRect(const SkRRect &rrect, const SkPaint &paint) override;
52 52
53 void onDrawDRRect(const SkRRect &outer, const SkRRect &inner, 53 void onDrawDRRect(const SkRRect &outer, const SkRRect &inner,
54 const SkPaint &paint) override; 54 const SkPaint &paint) override;
55 55
56 void onDrawOval(const SkRect &rect, const SkPaint &paint) override; 56 void onDrawOval(const SkRect &rect, const SkPaint &paint) override;
57 57
58 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over ride;
59
58 void onDrawPath(const SkPath &path, const SkPaint &paint) override; 60 void onDrawPath(const SkPath &path, const SkPaint &paint) override;
59 61
60 void onDrawBitmap(const SkBitmap &bm, SkScalar left, SkScalar top, 62 void onDrawBitmap(const SkBitmap &bm, SkScalar left, SkScalar top,
61 const SkPaint *paint) override; 63 const SkPaint *paint) override;
62 64
63 void onDrawBitmapRect(const SkBitmap &bm, const SkRect *src, const SkRect &d st, 65 void onDrawBitmapRect(const SkBitmap &bm, const SkRect *src, const SkRect &d st,
64 const SkPaint *paint, SrcRectConstraint constraint) ov erride; 66 const SkPaint *paint, SrcRectConstraint constraint) ov erride;
65 67
66 void onDrawBitmapNine(const SkBitmap &bm, const SkIRect &center, 68 void onDrawBitmapNine(const SkBitmap &bm, const SkIRect &center,
67 const SkRect &dst, const SkPaint *paint) override; 69 const SkRect &dst, const SkPaint *paint) override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 106
105 void onDrawTextBlob(const SkTextBlob *blob, SkScalar x, 107 void onDrawTextBlob(const SkTextBlob *blob, SkScalar x,
106 SkScalar y, const SkPaint &paint) override; 108 SkScalar y, const SkPaint &paint) override;
107 private: 109 private:
108 typedef SkPaintFilterCanvas INHERITED; 110 typedef SkPaintFilterCanvas INHERITED;
109 }; 111 };
110 112
111 113
112 #endif 114 #endif
113 #endif 115 #endif
OLDNEW
« no previous file with comments | « src/utils/SkPaintFilterCanvas.cpp ('k') | src/utils/SkShadowPaintFilterCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698