diff options
author | crupest <crupest@outlook.com> | 2022-05-07 20:53:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 20:53:57 +0800 |
commit | ee5aa17e44cb36b386e89032cab96caf87b5b524 (patch) | |
tree | a7cef6c60f55e3870900016e0f1a4efe578efbf0 /demos/svg_path/main.cpp | |
parent | 5bc684dcc1d121bf6e02d0800174c7977c72d101 (diff) | |
parent | cb850a6d6d13fc5b2c0cdd8773e368e23252c459 (diff) | |
download | cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.tar.gz cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.tar.bz2 cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.zip |
Merge pull request #54 from crupest/create-image
Diffstat (limited to 'demos/svg_path/main.cpp')
-rw-r--r-- | demos/svg_path/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/svg_path/main.cpp b/demos/svg_path/main.cpp index 970aa317..87c410e9 100644 --- a/demos/svg_path/main.cpp +++ b/demos/svg_path/main.cpp @@ -39,6 +39,7 @@ M6.5 0a.5.5 0 0 0 0 1H7v1.07a7.001 7.001 0 0 0-3.273 12.474l-.602.602a.5.5 0 0 0 painter->ConcatTransform(Matrix::Scale(10, 10)); painter->FillGeometry(geometry.get(), brush.get()); painter->PopState(); + painter->EndDraw(); }); window->SetVisibility(WindowVisibilityType::Show); |