OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
10 | 10 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 void onDrawPaint(const SkPaint&) override; | 187 void onDrawPaint(const SkPaint&) override; |
188 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 188 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
189 void onDrawRect(const SkRect&, const SkPaint&) override; | 189 void onDrawRect(const SkRect&, const SkPaint&) override; |
190 void onDrawOval(const SkRect&, const SkPaint&) override; | 190 void onDrawOval(const SkRect&, const SkPaint&) override; |
191 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 191 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
192 void onDrawPath(const SkPath&, const SkPaint&) override; | 192 void onDrawPath(const SkPath&, const SkPaint&) override; |
193 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 193 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
194 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 194 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
195 SrcRectConstraint) override; | 195 SrcRectConstraint) override; |
196 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 196 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 197 void onDrawImageLattice(const SkImage*, const SkCanvas::Lattice& lattice, co
nst SkRect& dst, |
| 198 const SkPaint*) override; |
197 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 199 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
198 const SkPaint*, SrcRectConstraint) override; | 200 const SkPaint*, SrcRectConstraint) override; |
199 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 201 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
200 const SkPaint*) override; | 202 const SkPaint*) override; |
201 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 203 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
202 const SkPaint*) override; | 204 const SkPaint*) override; |
203 void onDrawVertices(VertexMode vmode, int vertexCount, | 205 void onDrawVertices(VertexMode vmode, int vertexCount, |
204 const SkPoint vertices[], const SkPoint texs[], | 206 const SkPoint vertices[], const SkPoint texs[], |
205 const SkColor colors[], SkXfermode* xmode, | 207 const SkColor colors[], SkXfermode* xmode, |
206 const uint16_t indices[], int indexCount, | 208 const uint16_t indices[], int indexCount, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 | 265 |
264 uint32_t fRecordFlags; | 266 uint32_t fRecordFlags; |
265 int fInitialSaveCount; | 267 int fInitialSaveCount; |
266 | 268 |
267 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 269 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
268 | 270 |
269 typedef SkCanvas INHERITED; | 271 typedef SkCanvas INHERITED; |
270 }; | 272 }; |
271 | 273 |
272 #endif | 274 #endif |
OLD | NEW |