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

Side by Side Diff: include/core/SkDraw.h

Issue 61743017: drawPosTextOnPath is now deprecated, removing all overrides and impls (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « include/core/SkDevice.h ('k') | src/core/SkBitmapDevice.cpp » ('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 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 9
10 #ifndef SkDraw_DEFINED 10 #ifndef SkDraw_DEFINED
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const; 57 void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) const;
58 void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) const; 58 void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) const;
59 void drawText(const char text[], size_t byteLength, SkScalar x, 59 void drawText(const char text[], size_t byteLength, SkScalar x,
60 SkScalar y, const SkPaint& paint) const; 60 SkScalar y, const SkPaint& paint) const;
61 void drawPosText(const char text[], size_t byteLength, 61 void drawPosText(const char text[], size_t byteLength,
62 const SkScalar pos[], SkScalar constY, 62 const SkScalar pos[], SkScalar constY,
63 int scalarsPerPosition, const SkPaint& paint) const; 63 int scalarsPerPosition, const SkPaint& paint) const;
64 void drawTextOnPath(const char text[], size_t byteLength, 64 void drawTextOnPath(const char text[], size_t byteLength,
65 const SkPath&, const SkMatrix*, const SkPaint&) const; 65 const SkPath&, const SkMatrix*, const SkPaint&) const;
66 #ifdef SK_BUILD_FOR_ANDROID
67 void drawPosTextOnPath(const char text[], size_t byteLength,
68 const SkPoint pos[], const SkPaint& paint,
69 const SkPath& path, const SkMatrix* matrix) const;
70 #endif
71 void drawVertices(SkCanvas::VertexMode mode, int count, 66 void drawVertices(SkCanvas::VertexMode mode, int count,
72 const SkPoint vertices[], const SkPoint textures[], 67 const SkPoint vertices[], const SkPoint textures[],
73 const SkColor colors[], SkXfermode* xmode, 68 const SkColor colors[], SkXfermode* xmode,
74 const uint16_t indices[], int ptCount, 69 const uint16_t indices[], int ptCount,
75 const SkPaint& paint) const; 70 const SkPaint& paint) const;
76 71
77 /** 72 /**
78 * Overwrite the target with the path's coverage (i.e. its mask). 73 * Overwrite the target with the path's coverage (i.e. its mask).
79 * Will overwrite the entire device, so it need not be zero'd first. 74 * Will overwrite the entire device, so it need not be zero'd first.
80 * 75 *
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 SkDrawProcs* fProcs; // optional 145 SkDrawProcs* fProcs; // optional
151 146
152 #ifdef SK_DEBUG 147 #ifdef SK_DEBUG
153 void validate() const; 148 void validate() const;
154 #else 149 #else
155 void validate() const {} 150 void validate() const {}
156 #endif 151 #endif
157 }; 152 };
158 153
159 #endif 154 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698