| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 66 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
| 67 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 67 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| 68 const SkPaint&) SK_OVERRIDE; | 68 const SkPaint&) SK_OVERRIDE; |
| 69 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 69 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
| 70 const SkPaint&) SK_OVERRIDE; | 70 const SkPaint&) SK_OVERRIDE; |
| 71 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[], |
| 72 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 72 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
| 73 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, |
| 74 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 74 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
| 75 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 76 const SkPaint& paint) SK_OVERRIDE; |
| 75 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 77 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 76 const SkPoint texCoords[4], SkXfermode* xmode, | 78 const SkPoint texCoords[4], SkXfermode* xmode, |
| 77 const SkPaint& paint) SK_OVERRIDE; | 79 const SkPaint& paint) SK_OVERRIDE; |
| 78 | 80 |
| 79 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 81 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 80 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 82 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
| 81 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 83 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 82 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 84 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
| 83 | 85 |
| 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 |