diff options
author | Mike Reed <reed@google.com> | 2018-10-01 12:16:59 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-10-01 16:52:32 +0000 |
commit | 1eb9af90291ea09dd1fa16af9fbba71c666c95ad (patch) | |
tree | 72584790b8d558d508413e052d9abb81265b7e3f /docs | |
parent | 6ddc9598ef2a75c600407e3007a8fece03b62560 (diff) | |
download | skqp-1eb9af90291ea09dd1fa16af9fbba71c666c95ad.tar.gz |
delete textonpath code -- not used anywhere
Bug: skia:
Change-Id: Ib645f7c140f87123429170a0bf6f7ed86ce53b3f
Reviewed-on: https://skia-review.googlesource.com/158224
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SkPath_Reference.bmh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/docs/SkPath_Reference.bmh b/docs/SkPath_Reference.bmh index fdb755e9f7..1199de1a1f 100644 --- a/docs/SkPath_Reference.bmh +++ b/docs/SkPath_Reference.bmh @@ -4414,11 +4414,6 @@ After appending, Path may be empty, or may contain: Rect, Oval, or Round_Rect. #Return reference to Path ## #Example -###$ -$Function -#include "SkTextOnPath.h" -$$ - void draw(SkCanvas* canvas) { SkPaint paint; paint.setAntiAlias(true); @@ -4427,15 +4422,7 @@ void draw(SkCanvas* canvas) { SkPath path; path.addRRect(rrect); canvas->drawPath(path, paint); - for (int start = 0; start < 8; ++start) { - SkPath textPath; - textPath.addRRect(rrect, SkPath::kCW_Direction, start); - SkMatrix matrix; - matrix.setTranslate(0, -5); - SkDrawTextOnPath(&"01234567"[start], 1, paint, textPath, &matrix, canvas); - } } -$$$# ## #SeeAlso addRoundRect SkCanvas::drawRRect |