3 releases (breaking)

0.6.0 Sep 21, 2023
0.5.0 Sep 20, 2023
0.4.0 Sep 20, 2023

#406 in Graphics APIs

Download history 10/week @ 2023-12-17 14/week @ 2023-12-24 13/week @ 2024-01-07 16/week @ 2024-01-14 9/week @ 2024-01-21 9/week @ 2024-02-04 16/week @ 2024-02-11 33/week @ 2024-02-18 57/week @ 2024-02-25 24/week @ 2024-03-03 34/week @ 2024-03-10 23/week @ 2024-03-17 28/week @ 2024-03-24 100/week @ 2024-03-31

191 downloads per month
Used in 8 crates (via makepad-widgets)

MIT/Apache

2MB
49K SLoC

makepad-draw-2d

This is a lower-level crate for Makepad Framework. For an explanation of what Makepad Framework is, please see the README for the makepad-widgets crate.

This crate contains all code related to drawing applications. In particular, it contains the code for the turtle API, which is what we use to layout widgets, the font stack, and a collection of base shaders that can be customized to draw almost anything we need.

This crate is re-exported by the makepad-widgets crate. In a typical application, you would depend on that crate instead of this one.

Contact

If you have any questions/suggestions, feel free to reach out to us on our discord channel: https://discord.com/invite/urEMqtMcSd=

Dependencies

~4–10MB
~87K SLoC