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

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

Issue 2130643004: drawTextRSXform (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update util canvases Created 4 years, 5 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
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 19 matching lines...) Expand all
30 30
31 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 31 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
32 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, 32 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y,
33 const SkPaint&) override; 33 const SkPaint&) override;
34 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], 34 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[],
35 const SkPaint&) override; 35 const SkPaint&) override;
36 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], 36 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[],
37 SkScalar constY, const SkPaint&) override; 37 SkScalar constY, const SkPaint&) override;
38 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, 38 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path,
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[],
41 const SkRect* cull, const SkPaint& paint) override;
40 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 42 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
41 const SkPaint& paint) override; 43 const SkPaint& paint) override;
42 44
43 void onDrawPaint(const SkPaint&) override; 45 void onDrawPaint(const SkPaint&) override;
44 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;
45 void onDrawRect(const SkRect&, const SkPaint&) override; 47 void onDrawRect(const SkRect&, const SkPaint&) override;
46 void onDrawOval(const SkRect&, const SkPaint&) override; 48 void onDrawOval(const SkRect&, const SkPaint&) override;
47 void onDrawRRect(const SkRRect&, const SkPaint&) override; 49 void onDrawRRect(const SkRRect&, const SkPaint&) override;
48 void onDrawPath(const SkPath&, const SkPaint&) override; 50 void onDrawPath(const SkPath&, const SkPaint&) override;
49 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 51 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
(...skipping 20 matching lines...) Expand all
70 private: 72 private:
71 lua_State* fL; 73 lua_State* fL;
72 SkString fFunc; 74 SkString fFunc;
73 75
74 void sendverb(const char verb[]); 76 void sendverb(const char verb[]);
75 77
76 typedef SkCanvas INHERITED; 78 typedef SkCanvas INHERITED;
77 }; 79 };
78 80
79 #endif 81 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698