Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: include/utils/SkNWayCanvas.h

Issue 473633002: SkTextBlob (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: More const API, minimal docs. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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*, const SkPoint&, const SkPaint &) SK_OVERRIDE;
78 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 79 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
79 const SkPoint texCoords[4], SkXfermode* xmode, 80 const SkPoint texCoords[4], SkXfermode* xmode,
80 const SkPaint& paint) SK_OVERRIDE; 81 const SkPaint& paint) SK_OVERRIDE;
81 82
82 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 83 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
83 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 84 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
84 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 85 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
85 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; 86 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE;
86 87
87 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE; 88 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE;
88 89
89 class Iter; 90 class Iter;
90 91
91 private: 92 private:
92 typedef SkCanvas INHERITED; 93 typedef SkCanvas INHERITED;
93 }; 94 };
94 95
95 96
96 #endif 97 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698