diff options
author | Mike Reed <reed@google.com> | 2017-02-25 22:34:32 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-26 18:36:11 +0000 |
commit | a07741a75aa694c0e7c00c2301c9de2daf9b5f9e (patch) | |
tree | 88b0e9edea463244040c89a91587c9db57165c73 /samplecode/SamplePathEffects.cpp | |
parent | eb090ef4569dcd73dfd49e64ca2f4f733fbf27bc (diff) |
begin to hide details of SkPathEffect
BUG=skia:
Change-Id: I155d2370ae894e6000b6a768d02cf06bf5b3de6e
Reviewed-on: https://skia-review.googlesource.com/8977
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'samplecode/SamplePathEffects.cpp')
-rw-r--r-- | samplecode/SamplePathEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SamplePathEffects.cpp b/samplecode/SamplePathEffects.cpp index 1f9915d378..3d9ba9cb36 100644 --- a/samplecode/SamplePathEffects.cpp +++ b/samplecode/SamplePathEffects.cpp @@ -45,7 +45,7 @@ static sk_sp<SkPathEffect> make_pe(int flags, SkScalar phase) { auto inner = SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); - return SkComposePathEffect::Make(outer, inner); + return SkPathEffect::MakeCompose(outer, inner); } static sk_sp<SkPathEffect> make_warp_pe(SkScalar phase) { @@ -61,7 +61,7 @@ static sk_sp<SkPathEffect> make_warp_pe(SkScalar phase) { path, 12, phase, SkPath1DPathEffect::kMorph_Style); auto inner = SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); - return SkComposePathEffect::Make(outer, inner); + return SkPathEffect::MakeCompose(outer, inner); } /////////////////////////////////////////////////////////// |