| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkRecorder_DEFINED | 8 #ifndef SkRecorder_DEFINED |
| 9 #define SkRecorder_DEFINED | 9 #define SkRecorder_DEFINED |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const SkPaint* paint = NULL) SK_OVERRIDE; | 54 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 55 void drawVertices(VertexMode vmode, | 55 void drawVertices(VertexMode vmode, |
| 56 int vertexCount, | 56 int vertexCount, |
| 57 const SkPoint vertices[], | 57 const SkPoint vertices[], |
| 58 const SkPoint texs[], | 58 const SkPoint texs[], |
| 59 const SkColor colors[], | 59 const SkColor colors[], |
| 60 SkXfermode* xmode, | 60 SkXfermode* xmode, |
| 61 const uint16_t indices[], | 61 const uint16_t indices[], |
| 62 int indexCount, | 62 int indexCount, |
| 63 const SkPaint& paint) SK_OVERRIDE; | 63 const SkPaint& paint) SK_OVERRIDE; |
| 64 void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRIDE; | 64 void drawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 65 const SkPoint texCoords[4], SkXfermode* xmode, |
| 66 const SkPaint& paint) SK_OVERRIDE; |
| 65 | 67 |
| 66 void willSave() SK_OVERRIDE; | 68 void willSave() SK_OVERRIDE; |
| 67 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SkCanvas::Sav
eFlags) SK_OVERRIDE; | 69 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SkCanvas::Sav
eFlags) SK_OVERRIDE; |
| 68 void willRestore() SK_OVERRIDE; | 70 void willRestore() SK_OVERRIDE; |
| 69 | 71 |
| 70 void didConcat(const SkMatrix&) SK_OVERRIDE; | 72 void didConcat(const SkMatrix&) SK_OVERRIDE; |
| 71 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 73 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
| 72 | 74 |
| 73 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID
E; | 75 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID
E; |
| 74 void onDrawText(const void* text, | 76 void onDrawText(const void* text, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 104 template <typename T> | 106 template <typename T> |
| 105 T* copy(const T*); | 107 T* copy(const T*); |
| 106 | 108 |
| 107 template <typename T> | 109 template <typename T> |
| 108 T* copy(const T[], size_t count); | 110 T* copy(const T[], size_t count); |
| 109 | 111 |
| 110 SkRecord* fRecord; | 112 SkRecord* fRecord; |
| 111 }; | 113 }; |
| 112 | 114 |
| 113 #endif//SkRecorder_DEFINED | 115 #endif//SkRecorder_DEFINED |
| OLD | NEW |