Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stroke round_rect line width bug #23

Closed
goaq opened this issue Jan 3, 2023 · 1 comment
Closed

stroke round_rect line width bug #23

goaq opened this issue Jan 3, 2023 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@goaq
Copy link

goaq commented Jan 3, 2023

When drawing round_rect, the line width cannot be set to 1px

    plutovg_save(pluto);
    plutovg_round_rect(pluto, 10, 10, 580, 50, 5, 5);
    plutovg_set_rgb(pluto, 0, 0, 1);
    plutovg_set_line_width(pluto, 1);
    plutovg_stroke_preserve(pluto);
    plutovg_stroke(pluto);
    plutovg_restore(pluto);

some_shapes

@sammycage sammycage added the bug Something isn't working label Jan 3, 2023
@sammycage
Copy link
Owner

FreeType contour stroker is "buggy"... Maybe it's time to develop our own. Pull requests are welcome

https://github.com/sammycage/plutovg/blob/main/source/plutovg-ft-stroker.c

@sammycage sammycage added the wontfix This will not be worked on label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants