mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
test: fix typo
dash size must be 2, not 4.
This commit is contained in:
parent
5f41eff728
commit
be93b17563
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ void tvgDrawCmds(tvg::Canvas* canvas)
|
|||
shape5->stroke(tvg::StrokeJoin::Bevel);
|
||||
shape5->stroke(tvg::StrokeCap::Butt);
|
||||
|
||||
float dashPattern2[4] = {10, 10};
|
||||
shape5->stroke(dashPattern2, 4);
|
||||
float dashPattern2[2] = {10, 10};
|
||||
shape5->stroke(dashPattern2, 2);
|
||||
if (canvas->push(move(shape5)) != tvg::Result::Success) return;
|
||||
|
||||
auto shape6 = tvg::Shape::gen();
|
||||
|
|
Loading…
Add table
Reference in a new issue