diff options
| author | suyambulingamrm <suyambu.rm@samsung.com> | 2014-07-18 18:27:27 +0530 |
|---|---|---|
| committer | suyambulingamrm <suyambu.rm@samsung.com> | 2014-07-18 18:27:27 +0530 |
| commit | bbac18889369ccdd296ce9c2a25ef18bee4da133 (patch) | |
| tree | bd58aa1ac970b0a4b7c5713c80ec2cb202285511 /src/skia-tests/cubic.cpp | |
| parent | d2fb40482089a5d333438c4f59c5e8788e15c6d8 (diff) | |
Adapt Cubic tests similar to flash canvas.
Diffstat (limited to 'src/skia-tests/cubic.cpp')
| -rw-r--r-- | src/skia-tests/cubic.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/skia-tests/cubic.cpp b/src/skia-tests/cubic.cpp index 2c9c2e8..21091a5 100644 --- a/src/skia-tests/cubic.cpp +++ b/src/skia-tests/cubic.cpp @@ -22,6 +22,10 @@ sk_setup_cubic(caskbench_context_t *ctx) ctx->skia_paint->setAntiAlias(false); ctx->skia_paint->setStrokeWidth(1); ctx->skia_paint->setStyle(SkPaint::kStroke_Style); + if (ctx->shape_defaults.fill_type == CB_FILL_SOLID) { + ctx->skia_paint->setStyle(SkPaint::kFill_Style); + } + return 1; } |