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

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

Issue 499413002: SkTextBlob plumbing (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: review comments Created 6 years, 3 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
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | src/core/SkBBoxRecord.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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
OLDNEW
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | src/core/SkBBoxRecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698