3 releases (breaking)

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

#854 in Graphics APIs

Download history 16/week @ 2024-07-21 66/week @ 2024-07-28 15/week @ 2024-08-04 14/week @ 2024-08-11 6/week @ 2024-08-18 18/week @ 2024-08-25 13/week @ 2024-09-01 8/week @ 2024-09-08 14/week @ 2024-09-15 43/week @ 2024-09-22 26/week @ 2024-09-29 13/week @ 2024-10-06 19/week @ 2024-10-13 13/week @ 2024-10-20 11/week @ 2024-10-27 15/week @ 2024-11-03

60 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–12MB
~91K SLoC