| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 SkScalar constY, | 85 SkScalar constY, |
| 86 const SkPaint& paint) SK_OVERRIDE; | 86 const SkPaint& paint) SK_OVERRIDE; |
| 87 void onDrawTextOnPath(const void* text, | 87 void onDrawTextOnPath(const void* text, |
| 88 size_t byteLength, | 88 size_t byteLength, |
| 89 const SkPath& path, | 89 const SkPath& path, |
| 90 const SkMatrix* matrix, | 90 const SkMatrix* matrix, |
| 91 const SkPaint& paint) SK_OVERRIDE; | 91 const SkPaint& paint) SK_OVERRIDE; |
| 92 void onDrawTextBlob(const SkTextBlob* blob, | 92 void onDrawTextBlob(const SkTextBlob* blob, |
| 93 SkScalar x, | 93 SkScalar x, |
| 94 SkScalar y, | 94 SkScalar y, |
| 95 const SkPaint& paint); | 95 const SkPaint& paint) SK_OVERRIDE; |
| 96 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 96 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 97 const SkPoint texCoords[4], SkXfermode* xmode, | 97 const SkPoint texCoords[4], SkXfermode* xmode, |
| 98 const SkPaint& paint) SK_OVERRIDE; | 98 const SkPaint& paint) SK_OVERRIDE; |
| 99 | 99 |
| 100 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) SK_OVERRIDE; | 100 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) SK_OVERRIDE; |
| 101 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) SK_OVERRIDE; | 101 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) SK_OVERRIDE; |
| 102 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) SK_OVERRIDE; | 102 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) SK_OVERRIDE; |
| 103 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) SK_OVERRIDE; | 103 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) SK_OVERRIDE; |
| 104 | 104 |
| 105 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) SK_OVE
RRIDE; | 105 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) SK_OVE
RRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 121 SkIRect devBounds() const { | 121 SkIRect devBounds() const { |
| 122 SkIRect devBounds; | 122 SkIRect devBounds; |
| 123 this->getClipDeviceBounds(&devBounds); | 123 this->getClipDeviceBounds(&devBounds); |
| 124 return devBounds; | 124 return devBounds; |
| 125 } | 125 } |
| 126 | 126 |
| 127 SkRecord* fRecord; | 127 SkRecord* fRecord; |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 #endif//SkRecorder_DEFINED | 130 #endif//SkRecorder_DEFINED |
| OLD | NEW |