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

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

Issue 789033002: Remove SkCanvas::drawBitmapMatrix() (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: non-const canvas ptr Created 6 years 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 14 matching lines...) Expand all
25 const SkPaint& paint) SK_OVERRIDE; 25 const SkPaint& paint) SK_OVERRIDE;
26 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 26 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
27 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 27 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
28 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 28 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
29 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 29 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE;
30 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 30 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
31 const SkPaint* paint) SK_OVERRIDE; 31 const SkPaint* paint) SK_OVERRIDE;
32 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 32 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
33 const SkRect& dst, const SkPaint* paint, 33 const SkRect& dst, const SkPaint* paint,
34 DrawBitmapRectFlags flags) SK_OVERRIDE; 34 DrawBitmapRectFlags flags) SK_OVERRIDE;
35 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
36 const SkPaint* paint) SK_OVERRIDE;
37 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 35 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
38 const SkPaint* paint) SK_OVERRIDE; 36 const SkPaint* paint) SK_OVERRIDE;
39 virtual void drawVertices(VertexMode vmode, int vertexCount, 37 virtual void drawVertices(VertexMode vmode, int vertexCount,
40 const SkPoint vertices[], const SkPoint texs[], 38 const SkPoint vertices[], const SkPoint texs[],
41 const SkColor colors[], SkXfermode* xmode, 39 const SkColor colors[], SkXfermode* xmode,
42 const uint16_t indices[], int indexCount, 40 const uint16_t indices[], int indexCount,
43 const SkPaint& paint) SK_OVERRIDE; 41 const SkPaint& paint) SK_OVERRIDE;
44 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; 42 virtual void drawData(const void* data, size_t length) SK_OVERRIDE;
45 43
46 protected: 44 protected:
(...skipping 26 matching lines...) Expand all
73 private: 71 private:
74 lua_State* fL; 72 lua_State* fL;
75 SkString fFunc; 73 SkString fFunc;
76 74
77 void sendverb(const char verb[]); 75 void sendverb(const char verb[]);
78 76
79 typedef SkCanvas INHERITED; 77 typedef SkCanvas INHERITED;
80 }; 78 };
81 79
82 #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