| 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 SkProxyCanvas_DEFINED | 8 #ifndef SkProxyCanvas_DEFINED |
| 9 #define SkProxyCanvas_DEFINED | 9 #define SkProxyCanvas_DEFINED |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 DrawBitmapRectFlags flags) SK_OVERRIDE; | 40 DrawBitmapRectFlags flags) SK_OVERRIDE; |
| 41 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 41 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
| 42 const SkPaint* paint = NULL) SK_OVERRIDE; | 42 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 43 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 43 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
| 44 const SkPaint* paint = NULL) SK_OVERRIDE; | 44 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 45 virtual void drawVertices(VertexMode vmode, int vertexCount, | 45 virtual void drawVertices(VertexMode vmode, int vertexCount, |
| 46 const SkPoint vertices[], const SkPoint texs[], | 46 const SkPoint vertices[], const SkPoint texs[], |
| 47 const SkColor colors[], SkXfermode* xmode, | 47 const SkColor colors[], SkXfermode* xmode, |
| 48 const uint16_t indices[], int indexCount, | 48 const uint16_t indices[], int indexCount, |
| 49 const SkPaint& paint) SK_OVERRIDE; | 49 const SkPaint& paint) SK_OVERRIDE; |
| 50 virtual void drawPatch(const SkPatch& patch, const SkPaint& paint) SK_OVERRI
DE; |
| 50 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
| 51 | 52 |
| 52 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 53 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| 53 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 54 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
| 54 virtual void endCommentGroup() SK_OVERRIDE; | 55 virtual void endCommentGroup() SK_OVERRIDE; |
| 55 | 56 |
| 56 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; | 57 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
| 57 | 58 |
| 58 protected: | 59 protected: |
| 59 virtual void willSave() SK_OVERRIDE; | 60 virtual void willSave() SK_OVERRIDE; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 80 | 81 |
| 81 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; | 82 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; |
| 82 | 83 |
| 83 private: | 84 private: |
| 84 SkCanvas* fProxy; | 85 SkCanvas* fProxy; |
| 85 | 86 |
| 86 typedef SkCanvas INHERITED; | 87 typedef SkCanvas INHERITED; |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 #endif | 90 #endif |
| OLD | NEW |