We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As far as I can tell there are two functions to draw lines in this crate:
draw_antialiased_line_segment
draw_line_segment
Would it be possible to add a function that combines both of these features?
The text was updated successfully, but these errors were encountered:
It looks like https://docs.rs/line_drawing/0.8.0/line_drawing/struct.XiaolinWu.html has a working implementation, it might be interesting to share the actual algorithms between the two crates.
Sorry, something went wrong.
No branches or pull requests
As far as I can tell there are two functions to draw lines in this crate:
draw_antialiased_line_segment
, which draws antialiased lines but only takes integer/pixel coordinates so you can't be as precise as you wantdraw_line_segment
which takes f32 coordinates but unfortunately doesn't do any antialiasingWould it be possible to add a function that combines both of these features?
The text was updated successfully, but these errors were encountered: