| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |