| 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 22 matching lines...) Expand all Loading... |
| 33 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 33 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
| 34 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; | 34 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; |
| 35 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; | 35 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; |
| 36 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 36 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
| 37 const SkPaint* paint = NULL) SK_OVERRIDE; | 37 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 38 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 38 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
| 39 const SkRect& dst, const SkPaint* paint, | 39 const SkRect& dst, const SkPaint* paint, |
| 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 drawImage(const SkImage* image, SkScalar left, SkScalar top, |
| 44 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 45 virtual void drawImageRect(const SkImage* image, const SkRect* src, |
| 46 const SkRect& dst, |
| 47 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 43 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 48 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
| 44 const SkPaint* paint = NULL) SK_OVERRIDE; | 49 const SkPaint* paint = NULL) SK_OVERRIDE; |
| 45 virtual void drawVertices(VertexMode vmode, int vertexCount, | 50 virtual void drawVertices(VertexMode vmode, int vertexCount, |
| 46 const SkPoint vertices[], const SkPoint texs[], | 51 const SkPoint vertices[], const SkPoint texs[], |
| 47 const SkColor colors[], SkXfermode* xmode, | 52 const SkColor colors[], SkXfermode* xmode, |
| 48 const uint16_t indices[], int indexCount, | 53 const uint16_t indices[], int indexCount, |
| 49 const SkPaint& paint) SK_OVERRIDE; | 54 const SkPaint& paint) SK_OVERRIDE; |
| 50 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 55 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
| 51 | 56 |
| 52 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 57 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 90 |
| 86 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; | 91 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
| 87 | 92 |
| 88 private: | 93 private: |
| 89 SkCanvas* fProxy; | 94 SkCanvas* fProxy; |
| 90 | 95 |
| 91 typedef SkCanvas INHERITED; | 96 typedef SkCanvas INHERITED; |
| 92 }; | 97 }; |
| 93 | 98 |
| 94 #endif | 99 #endif |
| OLD | NEW |