| Mike Reed | 0fdc53f | 2018-08-27 13:00:37 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef SkTextOnPath_DEFINED |
| 9 | #define SkTextOnPath_DEFINED |
| 10 | |
| 11 | #include "SkTypes.h" |
| 12 | |
| 13 | class SkCanvas; |
| 14 | class SkMatrix; |
| 15 | class SkPath; |
| 16 | |
| 17 | void SkVisitTextOnPath(const void* text, size_t byteLength, const SkPaint& paint, |
| 18 | const SkPath& follow, const SkMatrix* matrix, |
| 19 | const std::function<void(const SkPath&)>& visitor); |
| 20 | |
| 21 | void SkDrawTextOnPath(const void* text, size_t byteLength, const SkPaint& paint, |
| 22 | const SkPath& follow, const SkMatrix* matrix, SkCanvas* canvas); |
| 23 | |
| 24 | #endif |
| 25 | |