| 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; | |
| 199 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 197 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
| 200 const SkPaint*, SrcRectConstraint) override; | 198 const SkPaint*, SrcRectConstraint) override; |
| 201 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 199 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
| 202 const SkPaint*) override; | 200 const SkPaint*) override; |
| 203 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 201 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
| 204 const SkPaint*) override; | 202 const SkPaint*) override; |
| 203 void onDrawImageLattice(const SkImage*, const SkCanvas::Lattice& lattice, co
nst SkRect& dst, |
| 204 const SkPaint*) override; |
| 205 void onDrawBitmapLattice(const SkBitmap&, const SkCanvas::Lattice& lattice,
const SkRect& dst, |
| 206 const SkPaint*) override; |
| 205 void onDrawVertices(VertexMode vmode, int vertexCount, | 207 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 206 const SkPoint vertices[], const SkPoint texs[], | 208 const SkPoint vertices[], const SkPoint texs[], |
| 207 const SkColor colors[], SkXfermode* xmode, | 209 const SkColor colors[], SkXfermode* xmode, |
| 208 const uint16_t indices[], int indexCount, | 210 const uint16_t indices[], int indexCount, |
| 209 const SkPaint&) override; | 211 const SkPaint&) override; |
| 210 | 212 |
| 211 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 213 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 212 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 214 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 213 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 215 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
| 214 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 216 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 267 |
| 266 uint32_t fRecordFlags; | 268 uint32_t fRecordFlags; |
| 267 int fInitialSaveCount; | 269 int fInitialSaveCount; |
| 268 | 270 |
| 269 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 271 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
| 270 | 272 |
| 271 typedef SkCanvas INHERITED; | 273 typedef SkCanvas INHERITED; |
| 272 }; | 274 }; |
| 273 | 275 |
| 274 #endif | 276 #endif |
| OLD | NEW |