| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const SkPaint& paint) SK_OVERRIDE; | 66 const SkPaint& paint) SK_OVERRIDE; |
| 67 void onDrawPosTextH(const void* text, | 67 void onDrawPosTextH(const void* text, |
| 68 size_t byteLength, | 68 size_t byteLength, |
| 69 const SkScalar xpos[], | 69 const SkScalar xpos[], |
| 70 SkScalar constY, | 70 SkScalar constY, |
| 71 const SkPaint& paint) SK_OVERRIDE; | 71 const SkPaint& paint) SK_OVERRIDE; |
| 72 void onDrawTextOnPath(const void* text, | 72 void onDrawTextOnPath(const void* text, |
| 73 size_t byteLength, | 73 size_t byteLength, |
| 74 const SkPath& path, | 74 const SkPath& path, |
| 75 const SkMatrix* matrix, | 75 const SkMatrix* matrix, |
| 76 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM |
| 76 const SkPaint& paint) SK_OVERRIDE; | 77 const SkPaint& paint) SK_OVERRIDE; |
| 77 void onDrawTextBlob(const SkTextBlob* blob, | 78 void onDrawTextBlob(const SkTextBlob* blob, |
| 78 SkScalar x, | 79 SkScalar x, |
| 79 SkScalar y, | 80 SkScalar y, |
| 80 const SkPaint& paint) SK_OVERRIDE; | 81 const SkPaint& paint) SK_OVERRIDE; |
| 81 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 82 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 82 const SkPoint texCoords[4], SkXfermode* xmode, | 83 const SkPoint texCoords[4], SkXfermode* xmode, |
| 83 const SkPaint& paint) SK_OVERRIDE; | 84 const SkPaint& paint) SK_OVERRIDE; |
| 84 | 85 |
| 85 void onDrawPaint(const SkPaint&) SK_OVERRIDE; | 86 void onDrawPaint(const SkPaint&) SK_OVERRIDE; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 this->getClipDeviceBounds(&devBounds); | 129 this->getClipDeviceBounds(&devBounds); |
| 129 return devBounds; | 130 return devBounds; |
| 130 } | 131 } |
| 131 | 132 |
| 132 SkRecord* fRecord; | 133 SkRecord* fRecord; |
| 133 | 134 |
| 134 SkAutoTDelete<SkDrawableList> fDrawableList; | 135 SkAutoTDelete<SkDrawableList> fDrawableList; |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 #endif//SkRecorder_DEFINED | 138 #endif//SkRecorder_DEFINED |
| OLD | NEW |