| 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*, const SkPoint&, const SkPaint
&) SK_OVERRIDE; |
| 75 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 76 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 76 const SkPoint texCoords[4], SkXfermode* xmode, | 77 const SkPoint texCoords[4], SkXfermode* xmode, |
| 77 const SkPaint& paint) SK_OVERRIDE; | 78 const SkPaint& paint) SK_OVERRIDE; |
| 78 | 79 |
| 79 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 80 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 80 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 81 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
| 81 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 82 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 82 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 83 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
| 83 | 84 |
| 84 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; | 85 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
| 85 | 86 |
| 86 private: | 87 private: |
| 87 SkCanvas* fProxy; | 88 SkCanvas* fProxy; |
| 88 | 89 |
| 89 typedef SkCanvas INHERITED; | 90 typedef SkCanvas INHERITED; |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 #endif | 93 #endif |
| OLD | NEW |