| 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 drawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 51 const SkPoint texCoords[4], SkXfermode* xmode, |
| 52 const SkPaint& paint) SK_OVERRIDE; |
| 51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 53 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
| 52 | 54 |
| 53 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 55 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| 54 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 56 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
| 55 virtual void endCommentGroup() SK_OVERRIDE; | 57 virtual void endCommentGroup() SK_OVERRIDE; |
| 56 | 58 |
| 57 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; | 59 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
| 58 | 60 |
| 59 protected: | 61 protected: |
| 60 virtual void willSave() SK_OVERRIDE; | 62 virtual void willSave() SK_OVERRIDE; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 83 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE {} | 85 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE {} |
| 84 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; | 86 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
| 85 | 87 |
| 86 private: | 88 private: |
| 87 SkCanvas* fProxy; | 89 SkCanvas* fProxy; |
| 88 | 90 |
| 89 typedef SkCanvas INHERITED; | 91 typedef SkCanvas INHERITED; |
| 90 }; | 92 }; |
| 91 | 93 |
| 92 #endif | 94 #endif |
| OLD | NEW |