| 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 24 matching lines...) Expand all Loading... |
| 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 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 drawPicture(SkPicture&) SK_OVERRIDE; | |
| 46 virtual void drawVertices(VertexMode vmode, int vertexCount, | 45 virtual void drawVertices(VertexMode vmode, int vertexCount, |
| 47 const SkPoint vertices[], const SkPoint texs[], | 46 const SkPoint vertices[], const SkPoint texs[], |
| 48 const SkColor colors[], SkXfermode* xmode, | 47 const SkColor colors[], SkXfermode* xmode, |
| 49 const uint16_t indices[], int indexCount, | 48 const uint16_t indices[], int indexCount, |
| 50 const SkPaint& paint) SK_OVERRIDE; | 49 const SkPaint& paint) SK_OVERRIDE; |
| 51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 50 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
| 52 | 51 |
| 53 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 52 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
| 54 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 53 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
| 55 virtual void endCommentGroup() SK_OVERRIDE; | 54 virtual void endCommentGroup() SK_OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 72 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 71 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
| 73 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 72 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
| 74 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 73 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
| 75 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 74 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
| 76 | 75 |
| 77 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 76 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 78 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 77 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
| 79 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 78 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 80 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 79 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
| 81 | 80 |
| 81 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; |
| 82 |
| 82 private: | 83 private: |
| 83 SkCanvas* fProxy; | 84 SkCanvas* fProxy; |
| 84 | 85 |
| 85 typedef SkCanvas INHERITED; | 86 typedef SkCanvas INHERITED; |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 #endif | 89 #endif |
| OLD | NEW |