| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #ifndef SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
| 9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual void drawTextOnPath(const void* text, size_t byteLength, | 75 virtual void drawTextOnPath(const void* text, size_t byteLength, |
| 76 const SkPath& path, const SkMatrix* matrix, | 76 const SkPath& path, const SkMatrix* matrix, |
| 77 const SkPaint&) SK_OVERRIDE; | 77 const SkPaint&) SK_OVERRIDE; |
| 78 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE; | 78 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE; |
| 79 virtual void drawVertices(VertexMode, int vertexCount, | 79 virtual void drawVertices(VertexMode, int vertexCount, |
| 80 const SkPoint vertices[], const SkPoint texs[], | 80 const SkPoint vertices[], const SkPoint texs[], |
| 81 const SkColor colors[], SkXfermode*, | 81 const SkColor colors[], SkXfermode*, |
| 82 const uint16_t indices[], int indexCount, | 82 const uint16_t indices[], int indexCount, |
| 83 const SkPaint&) SK_OVERRIDE; | 83 const SkPaint&) SK_OVERRIDE; |
| 84 virtual void drawData(const void*, size_t) SK_OVERRIDE; | 84 virtual void drawData(const void*, size_t) SK_OVERRIDE; |
| 85 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| 86 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
| 87 virtual void endCommentGroup() SK_OVERRIDE; |
| 85 virtual bool isDrawingToLayer() const SK_OVERRIDE; | 88 virtual bool isDrawingToLayer() const SK_OVERRIDE; |
| 86 | 89 |
| 87 void addFontMetricsTopBottom(const SkPaint& paint, const SkFlatData&, | 90 void addFontMetricsTopBottom(const SkPaint& paint, const SkFlatData&, |
| 88 SkScalar minY, SkScalar maxY); | 91 SkScalar minY, SkScalar maxY); |
| 89 | 92 |
| 90 const SkTDArray<SkPicture* >& getPictureRefs() const { | 93 const SkTDArray<SkPicture* >& getPictureRefs() const { |
| 91 return fPictureRefs; | 94 return fPictureRefs; |
| 92 } | 95 } |
| 93 | 96 |
| 94 void setFlags(uint32_t recordFlags) { | 97 void setFlags(uint32_t recordFlags) { |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 uint32_t fRecordFlags; | 242 uint32_t fRecordFlags; |
| 240 int fInitialSaveCount; | 243 int fInitialSaveCount; |
| 241 | 244 |
| 242 friend class SkPicturePlayback; | 245 friend class SkPicturePlayback; |
| 243 friend class SkPictureTester; // for unit testing | 246 friend class SkPictureTester; // for unit testing |
| 244 | 247 |
| 245 typedef SkCanvas INHERITED; | 248 typedef SkCanvas INHERITED; |
| 246 }; | 249 }; |
| 247 | 250 |
| 248 #endif | 251 #endif |
| OLD | NEW |