| 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 | 8 |
| 9 #ifndef SkNWayCanvas_DEFINED | 9 #ifndef SkNWayCanvas_DEFINED |
| 10 #define SkNWayCanvas_DEFINED | 10 #define SkNWayCanvas_DEFINED |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 69 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
| 70 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 70 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| 71 const SkPaint&) SK_OVERRIDE; | 71 const SkPaint&) SK_OVERRIDE; |
| 72 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 72 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
| 73 const SkPaint&) SK_OVERRIDE; | 73 const SkPaint&) SK_OVERRIDE; |
| 74 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 74 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
| 75 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 75 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
| 76 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 76 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
| 77 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 77 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
| 78 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 79 const SkPaint& paint) SK_OVERRIDE; |
| 78 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 80 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 79 const SkPoint texCoords[4], SkXfermode* xmode, | 81 const SkPoint texCoords[4], SkXfermode* xmode, |
| 80 const SkPaint& paint) SK_OVERRIDE; | 82 const SkPaint& paint) SK_OVERRIDE; |
| 81 | 83 |
| 82 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 84 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 83 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 85 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
| 84 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 86 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 85 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 87 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
| 86 | 88 |
| 87 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; | 89 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
| 88 | 90 |
| 89 class Iter; | 91 class Iter; |
| 90 | 92 |
| 91 private: | 93 private: |
| 92 typedef SkCanvas INHERITED; | 94 typedef SkCanvas INHERITED; |
| 93 }; | 95 }; |
| 94 | 96 |
| 95 | 97 |
| 96 #endif | 98 #endif |
| OLD | NEW |