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

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

Issue 340403003: SaveFlags be-gone (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: One more baseurl attempt Created 6 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
« 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 26 matching lines...) Expand all
37 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 37 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
38 const SkPaint* paint) SK_OVERRIDE; 38 const SkPaint* paint) SK_OVERRIDE;
39 virtual void drawVertices(VertexMode vmode, int vertexCount, 39 virtual void drawVertices(VertexMode vmode, int vertexCount,
40 const SkPoint vertices[], const SkPoint texs[], 40 const SkPoint vertices[], const SkPoint texs[],
41 const SkColor colors[], SkXfermode* xmode, 41 const SkColor colors[], SkXfermode* xmode,
42 const uint16_t indices[], int indexCount, 42 const uint16_t indices[], int indexCount,
43 const SkPaint& paint) SK_OVERRIDE; 43 const SkPaint& paint) SK_OVERRIDE;
44 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; 44 virtual void drawData(const void* data, size_t length) SK_OVERRIDE;
45 45
46 protected: 46 protected:
47 virtual void willSave(SaveFlags) SK_OVERRIDE; 47 virtual void willSave() SK_OVERRIDE;
48 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 48 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
49 virtual void willRestore() SK_OVERRIDE; 49 virtual void willRestore() SK_OVERRIDE;
50 50
51 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 51 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
52 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 52 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
53 53
54 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE; 54 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE;
55 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, 55 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y,
56 const SkPaint&) SK_OVERRIDE; 56 const SkPaint&) SK_OVERRIDE;
57 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], 57 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[],
(...skipping 13 matching lines...) Expand all
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