| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 DrawBitmapRectFlags flags) SK_OVERRIDE; | 43 DrawBitmapRectFlags flags) SK_OVERRIDE; |
| 44 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, | 44 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
| 45 const SkRect& dst, const SkPaint*) SK_OVERRIDE; | 45 const SkRect& dst, const SkPaint*) SK_OVERRIDE; |
| 46 virtual void drawSprite(const SkBitmap&, int left, int top, | 46 virtual void drawSprite(const SkBitmap&, int left, int top, |
| 47 const SkPaint*) SK_OVERRIDE; | 47 const SkPaint*) SK_OVERRIDE; |
| 48 virtual void drawVertices(VertexMode, int vertexCount, | 48 virtual void drawVertices(VertexMode, int vertexCount, |
| 49 const SkPoint vertices[], const SkPoint texs[], | 49 const SkPoint vertices[], const SkPoint texs[], |
| 50 const SkColor colors[], SkXfermode*, | 50 const SkColor colors[], SkXfermode*, |
| 51 const uint16_t indices[], int indexCount, | 51 const uint16_t indices[], int indexCount, |
| 52 const SkPaint&) SK_OVERRIDE; | 52 const SkPaint&) SK_OVERRIDE; |
| 53 virtual void drawData(const void*, size_t) SK_OVERRIDE; | |
| 54 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 53 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| 55 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 54 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
| 56 virtual void endCommentGroup() SK_OVERRIDE; | 55 virtual void endCommentGroup() SK_OVERRIDE; |
| 57 | 56 |
| 58 const SkTDArray<const SkPicture* >& getPictureRefs() const { | 57 const SkTDArray<const SkPicture* >& getPictureRefs() const { |
| 59 return fPictureRefs; | 58 return fPictureRefs; |
| 60 } | 59 } |
| 61 | 60 |
| 62 const SkTDArray<const SkTextBlob* >& getTextBlobRefs() const { | 61 const SkTDArray<const SkTextBlob* >& getTextBlobRefs() const { |
| 63 return fTextBlobRefs; | 62 return fTextBlobRefs; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 | 234 |
| 236 uint32_t fRecordFlags; | 235 uint32_t fRecordFlags; |
| 237 int fInitialSaveCount; | 236 int fInitialSaveCount; |
| 238 | 237 |
| 239 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 238 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
| 240 | 239 |
| 241 typedef SkCanvas INHERITED; | 240 typedef SkCanvas INHERITED; |
| 242 }; | 241 }; |
| 243 | 242 |
| 244 #endif | 243 #endif |
| OLD | NEW |