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

Side by Side Diff: include/utils/SkLuaCanvas.h

Issue 448793004: add drawPicture variant that takes a matrix and paint (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more dummies so we can land Created 6 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], 59 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[],
60 SkScalar constY, const SkPaint&) SK_OVERRIDE; 60 SkScalar constY, const SkPaint&) SK_OVERRIDE;
61 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, 61 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path,
62 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE; 62 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE;
63 63
64 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 64 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
65 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 65 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
66 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 66 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
67 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; 67 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE;
68 68
69 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; 69 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE;
70 70
71 private: 71 private:
72 lua_State* fL; 72 lua_State* fL;
73 SkString fFunc; 73 SkString fFunc;
74 74
75 void sendverb(const char verb[]); 75 void sendverb(const char verb[]);
76 76
77 typedef SkCanvas INHERITED; 77 typedef SkCanvas INHERITED;
78 }; 78 };
79 79
80 #endif 80 #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