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

Side by Side Diff: include/utils/SkLuaCanvas.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 | « include/utils/SkDumpCanvas.h ('k') | include/utils/SkNWayCanvas.h » ('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 2013 Google Inc. 2 * Copyright 2013 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 SkLuaCanvas_DEFINED 8 #ifndef SkLuaCanvas_DEFINED
9 #define SkLuaCanvas_DEFINED 9 #define SkLuaCanvas_DEFINED
10 10
(...skipping 28 matching lines...) Expand all
39 const SkMatrix* matrix, const SkPaint&) overri de; 39 const SkMatrix* matrix, const SkPaint&) overri de;
40 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], 40 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
41 const SkRect* cull, const SkPaint& paint) override; 41 const SkRect* cull, const SkPaint& paint) override;
42 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 42 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
43 const SkPaint& paint) override; 43 const SkPaint& paint) override;
44 44
45 void onDrawPaint(const SkPaint&) override; 45 void onDrawPaint(const SkPaint&) override;
46 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 46 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
47 void onDrawRect(const SkRect&, const SkPaint&) override; 47 void onDrawRect(const SkRect&, const SkPaint&) override;
48 void onDrawOval(const SkRect&, const SkPaint&) override; 48 void onDrawOval(const SkRect&, const SkPaint&) override;
49 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over ride;
49 void onDrawRRect(const SkRRect&, const SkPaint&) override; 50 void onDrawRRect(const SkRRect&, const SkPaint&) override;
50 void onDrawPath(const SkPath&, const SkPaint&) override; 51 void onDrawPath(const SkPath&, const SkPaint&) override;
51 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 52 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
52 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 53 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
53 SrcRectConstraint) override; 54 SrcRectConstraint) override;
54 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 55 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
55 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 56 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
56 const SkPaint*, SrcRectConstraint) override; 57 const SkPaint*, SrcRectConstraint) override;
57 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 58 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
58 const SkPaint*) override; 59 const SkPaint*) override;
(...skipping 13 matching lines...) Expand all
72 private: 73 private:
73 lua_State* fL; 74 lua_State* fL;
74 SkString fFunc; 75 SkString fFunc;
75 76
76 void sendverb(const char verb[]); 77 void sendverb(const char verb[]);
77 78
78 typedef SkCanvas INHERITED; 79 typedef SkCanvas INHERITED;
79 }; 80 };
80 81
81 #endif 82 #endif
OLDNEW
« no previous file with comments | « include/utils/SkDumpCanvas.h ('k') | include/utils/SkNWayCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698