| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 166 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
| 167 SkScalar constY, const SkPaint&) override; | 167 SkScalar constY, const SkPaint&) override; |
| 168 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 168 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
| 169 const SkMatrix* matrix, const SkPaint&) overri
de; | 169 const SkMatrix* matrix, const SkPaint&) overri
de; |
| 170 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 170 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 171 const SkPaint& paint) override; | 171 const SkPaint& paint) override; |
| 172 | 172 |
| 173 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 173 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 174 const SkPoint texCoords[4], SkXfermode* xmode, | 174 const SkPoint texCoords[4], SkXfermode* xmode, |
| 175 const SkPaint& paint) override; | 175 const SkPaint& paint) override; |
| 176 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, |
| 177 SkXfermode::Mode, const SkRect*, const SkPaint*) override; |
| 176 | 178 |
| 177 void onDrawPaint(const SkPaint&) override; | 179 void onDrawPaint(const SkPaint&) override; |
| 178 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 180 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
| 179 void onDrawRect(const SkRect&, const SkPaint&) override; | 181 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 180 void onDrawOval(const SkRect&, const SkPaint&) override; | 182 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 181 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 183 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 182 void onDrawPath(const SkPath&, const SkPaint&) override; | 184 void onDrawPath(const SkPath&, const SkPaint&) override; |
| 183 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 185 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
| 184 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 186 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
| 185 DrawBitmapRectFlags flags) override; | 187 DrawBitmapRectFlags flags) override; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 236 |
| 235 uint32_t fRecordFlags; | 237 uint32_t fRecordFlags; |
| 236 int fInitialSaveCount; | 238 int fInitialSaveCount; |
| 237 | 239 |
| 238 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 240 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
| 239 | 241 |
| 240 typedef SkCanvas INHERITED; | 242 typedef SkCanvas INHERITED; |
| 241 }; | 243 }; |
| 242 | 244 |
| 243 #endif | 245 #endif |
| OLD | NEW |