aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-04-05 11:06:15 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-05 17:24:08 +0000
commit4ebb43e94f39be5da8fc04fc0be8a63726bacffb (patch)
tree1ad2d208e2336e6706b656ad789b33ddd3cdc3c4 /gm
parentee805329bfd5cea669d4af20a554e4b213dbf011 (diff)
hide most details of SkPatchUtils
relies on https://googleplex-android-review.git.corp.google.com/#/c/2060523/ landing first Bug: skia: Change-Id: Ic6dc8e53656a7190a32cfb3b0b2abd9ee6dbebf0 Reviewed-on: https://skia-review.googlesource.com/11351 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'gm')
-rw-r--r--gm/patch.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/patch.cpp b/gm/patch.cpp
index c9831c40e7..270f0137ae 100644
--- a/gm/patch.cpp
+++ b/gm/patch.cpp
@@ -24,13 +24,13 @@ static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) {
//draw control points
SkPaint paint;
SkPoint bottom[SkPatchUtils::kNumPtsCubic];
- SkPatchUtils::getBottomCubic(cubics, bottom);
+ SkPatchUtils::GetBottomCubic(cubics, bottom);
SkPoint top[SkPatchUtils::kNumPtsCubic];
- SkPatchUtils::getTopCubic(cubics, top);
+ SkPatchUtils::GetTopCubic(cubics, top);
SkPoint left[SkPatchUtils::kNumPtsCubic];
- SkPatchUtils::getLeftCubic(cubics, left);
+ SkPatchUtils::GetLeftCubic(cubics, left);
SkPoint right[SkPatchUtils::kNumPtsCubic];
- SkPatchUtils::getRightCubic(cubics, right);
+ SkPatchUtils::GetRightCubic(cubics, right);
paint.setColor(SK_ColorBLACK);
paint.setStrokeWidth(0.5f);