-
Notifications
You must be signed in to change notification settings - Fork 59
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
Which backend can be used to draw image on screen #75
Comments
A quick reply for now: Drawing to a window isn't that well supported/documented yet. In the mean time you can take a look at #67 and https://github.com/cbrewster/raqote-win. Raqote does not use any hardware acceleration (and has no current plans to). It also doesn't use multiple threads, though this is something that may happen in the future. |
Thank you for your reply. So maybe, at this time, raqote is not yet ready to be used as fast realtime 2D vector graphics library. |
FWIW, I added an example that uses |
@parasyte tried the demo and worked, but when I tried it with my code copy, it failed. so weird, maybe dependency problem somewhere since not all deps are up-to-date... |
@jiyinyiyong I may be able to help you better if you open a ticket on the |
@parasyte tried again with a fresh new project and it works. last time I tried it inside an existing project of mine, but I didn't preserve the code. probably trying later. I'll report to pixels if I could reproduce. |
Sorry to open an issue that is not a real issue, actually is a question, but I was not able to find a clear answer in the documentation or examples.
I am trying to find a good pure Rust library to write a simple UI toolkit for a little game, and I was looking for something fast, with few dependencies and with vector graphics support (I would like to write a toolkit that easy scale on different DPI monitors), so raqote seems to be a good candidate!
My questions are:
DrawTarget
(or maybeImage
) to a window? GFX? Piston Graphics?Thank you.
The text was updated successfully, but these errors were encountered: