| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 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 | 9 |
| 10 | 10 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 const SkPaint& paint, | 199 const SkPaint& paint, |
| 200 SkCanvas::DrawBitmapRectFlags flags); | 200 SkCanvas::DrawBitmapRectFlags flags); |
| 201 void drawTiledBitmap(const SkBitmap& bitmap, | 201 void drawTiledBitmap(const SkBitmap& bitmap, |
| 202 const SkRect& srcRect, | 202 const SkRect& srcRect, |
| 203 const SkIRect& clippedSrcRect, | 203 const SkIRect& clippedSrcRect, |
| 204 const GrTextureParams& params, | 204 const GrTextureParams& params, |
| 205 const SkPaint& paint, | 205 const SkPaint& paint, |
| 206 SkCanvas::DrawBitmapRectFlags flags, | 206 SkCanvas::DrawBitmapRectFlags flags, |
| 207 int tileSize); | 207 int tileSize); |
| 208 | 208 |
| 209 /* |
| 210 * For distance field fonts |
| 211 */ |
| 212 void drawDFText(const char text[], size_t byteLength, |
| 213 SkScalar x, SkScalar y, |
| 214 const SkPaint& paint); |
| 215 void drawPosDFText(const char text[], size_t byteLength, |
| 216 const SkScalar pos[], SkScalar constY, int scalarsPerPos, |
| 217 const SkPaint& paint); |
| 218 |
| 209 /** | 219 /** |
| 210 * Returns non-initialized instance. | 220 * Returns non-initialized instance. |
| 211 */ | 221 */ |
| 212 GrTextContext* getTextContext(); | 222 GrTextContext* getTextContext(); |
| 213 | 223 |
| 214 typedef SkBitmapDevice INHERITED; | 224 typedef SkBitmapDevice INHERITED; |
| 215 }; | 225 }; |
| 216 | 226 |
| 217 #endif | 227 #endif |
| OLD | NEW |