| 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 onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 187 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
| 188 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 188 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
| 189 SrcRectConstraint) override; | 189 SrcRectConstraint) override; |
| 190 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 190 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 191 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 191 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
| 192 const SkPaint*, SrcRectConstraint) override; | 192 const SkPaint*, SrcRectConstraint) override; |
| 193 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 193 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
| 194 const SkPaint*) override; | 194 const SkPaint*) override; |
| 195 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 195 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
| 196 const SkPaint*) override; | 196 const SkPaint*) override; |
| 197 void onDrawBitmapNine(const SkBitmap&, const SkCanvas::NinePatchDivs& divs,
const SkRect& dst, |
| 198 const SkPaint*) override; |
| 197 void onDrawVertices(VertexMode vmode, int vertexCount, | 199 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 198 const SkPoint vertices[], const SkPoint texs[], | 200 const SkPoint vertices[], const SkPoint texs[], |
| 199 const SkColor colors[], SkXfermode* xmode, | 201 const SkColor colors[], SkXfermode* xmode, |
| 200 const uint16_t indices[], int indexCount, | 202 const uint16_t indices[], int indexCount, |
| 201 const SkPaint&) override; | 203 const SkPaint&) override; |
| 202 | 204 |
| 203 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 205 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 204 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 206 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 205 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 207 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
| 206 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 208 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 248 |
| 247 uint32_t fRecordFlags; | 249 uint32_t fRecordFlags; |
| 248 int fInitialSaveCount; | 250 int fInitialSaveCount; |
| 249 | 251 |
| 250 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 252 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
| 251 | 253 |
| 252 typedef SkCanvas INHERITED; | 254 typedef SkCanvas INHERITED; |
| 253 }; | 255 }; |
| 254 | 256 |
| 255 #endif | 257 #endif |
| OLD | NEW |