| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 65                                 const SkPath& path, const SkMatrix* matrix, | 65                                 const SkPath& path, const SkMatrix* matrix, | 
| 66                                 const SkPaint& paint) SK_OVERRIDE; | 66                                 const SkPaint& paint) SK_OVERRIDE; | 
| 67     virtual void drawPicture(SkPicture&) SK_OVERRIDE; | 67     virtual void drawPicture(SkPicture&) SK_OVERRIDE; | 
| 68     virtual void drawVertices(VertexMode vmode, int vertexCount, | 68     virtual void drawVertices(VertexMode vmode, int vertexCount, | 
| 69                               const SkPoint vertices[], const SkPoint texs[], | 69                               const SkPoint vertices[], const SkPoint texs[], | 
| 70                               const SkColor colors[], SkXfermode* xmode, | 70                               const SkColor colors[], SkXfermode* xmode, | 
| 71                               const uint16_t indices[], int indexCount, | 71                               const uint16_t indices[], int indexCount, | 
| 72                               const SkPaint& paint) SK_OVERRIDE; | 72                               const SkPaint& paint) SK_OVERRIDE; | 
| 73     virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 73     virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 
| 74 | 74 | 
|  | 75 protected: | 
|  | 76     virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
    _OVERRIDE; | 
|  | 77 | 
| 75 private: | 78 private: | 
| 76     lua_State*  fL; | 79     lua_State*  fL; | 
| 77     SkString    fFunc; | 80     SkString    fFunc; | 
| 78 | 81 | 
| 79     void sendverb(const char verb[]); | 82     void sendverb(const char verb[]); | 
| 80 | 83 | 
| 81     typedef SkCanvas INHERITED; | 84     typedef SkCanvas INHERITED; | 
| 82 }; | 85 }; | 
| 83 | 86 | 
| 84 #endif | 87 #endif | 
| OLD | NEW | 
|---|