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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 void onDrawPaint(const SkPaint&) override; | 104 void onDrawPaint(const SkPaint&) override; |
105 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 105 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
106 void onDrawRect(const SkRect&, const SkPaint&) override; | 106 void onDrawRect(const SkRect&, const SkPaint&) override; |
107 void onDrawOval(const SkRect&, const SkPaint&) override; | 107 void onDrawOval(const SkRect&, const SkPaint&) override; |
108 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 108 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
109 void onDrawPath(const SkPath&, const SkPaint&) override; | 109 void onDrawPath(const SkPath&, const SkPaint&) override; |
110 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 110 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
111 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 111 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
112 SrcRectConstraint) override; | 112 SrcRectConstraint) override; |
113 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 113 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 114 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect
& dst, |
| 115 const SkPaint*) override; |
114 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 116 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
115 const SkPaint*, SrcRectConstraint) override; | 117 const SkPaint*, SrcRectConstraint) override; |
116 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 118 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
117 const SkPaint*) override; | 119 const SkPaint*) override; |
118 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 120 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
119 const SkPaint*) override; | 121 const SkPaint*) override; |
120 void onDrawVertices(VertexMode vmode, int vertexCount, | 122 void onDrawVertices(VertexMode vmode, int vertexCount, |
121 const SkPoint vertices[], const SkPoint texs[], | 123 const SkPoint vertices[], const SkPoint texs[], |
122 const SkColor colors[], SkXfermode* xmode, | 124 const SkColor colors[], SkXfermode* xmode, |
123 const uint16_t indices[], int indexCount, | 125 const uint16_t indices[], int indexCount, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 165 |
164 DrawPictureMode fDrawPictureMode; | 166 DrawPictureMode fDrawPictureMode; |
165 size_t fApproxBytesUsedBySubPictures; | 167 size_t fApproxBytesUsedBySubPictures; |
166 SkRecord* fRecord; | 168 SkRecord* fRecord; |
167 SkAutoTDelete<SkDrawableList> fDrawableList; | 169 SkAutoTDelete<SkDrawableList> fDrawableList; |
168 | 170 |
169 SkMiniRecorder* fMiniRecorder; | 171 SkMiniRecorder* fMiniRecorder; |
170 }; | 172 }; |
171 | 173 |
172 #endif//SkRecorder_DEFINED | 174 #endif//SkRecorder_DEFINED |
OLD | NEW |