| 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 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 166 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
| 167 const SkMatrix* matrix, const SkPaint&) overri
de; | 167 const SkMatrix* matrix, const SkPaint&) overri
de; |
| 168 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 168 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 169 const SkPaint& paint) override; | 169 const SkPaint& paint) override; |
| 170 | 170 |
| 171 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 171 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 172 const SkPoint texCoords[4], SkXfermode* xmode, | 172 const SkPoint texCoords[4], SkXfermode* xmode, |
| 173 const SkPaint& paint) override; | 173 const SkPaint& paint) override; |
| 174 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, | 174 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, |
| 175 SkXfermode::Mode, const SkRect*, const SkPaint*) override; | 175 SkXfermode::Mode, const SkRect*, const SkPaint*) override; |
| 176 void onDrawLitAtlas(const SkImage*, const SkRSXform[], |
| 177 const SkRect diffTex[], const SkRect normTex[], const Sk
Color[], int, |
| 178 SkXfermode::Mode, const SkRect*, const SkPaint*, |
| 179 const SkLight lights[], int numLights) override; |
| 176 | 180 |
| 177 void onDrawPaint(const SkPaint&) override; | 181 void onDrawPaint(const SkPaint&) override; |
| 178 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 182 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
| 179 void onDrawRect(const SkRect&, const SkPaint&) override; | 183 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 180 void onDrawOval(const SkRect&, const SkPaint&) override; | 184 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 181 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 185 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 182 void onDrawPath(const SkPath&, const SkPaint&) override; | 186 void onDrawPath(const SkPath&, const SkPaint&) override; |
| 183 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; |
| 184 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*, |
| 185 SrcRectConstraint) override; | 189 SrcRectConstraint) override; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 240 |
| 237 uint32_t fRecordFlags; | 241 uint32_t fRecordFlags; |
| 238 int fInitialSaveCount; | 242 int fInitialSaveCount; |
| 239 | 243 |
| 240 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 244 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
| 241 | 245 |
| 242 typedef SkCanvas INHERITED; | 246 typedef SkCanvas INHERITED; |
| 243 }; | 247 }; |
| 244 | 248 |
| 245 #endif | 249 #endif |
| OLD | NEW |