|new 0.24.1||Nov 30, 2023|
|0.23.0||Sep 28, 2023|
|0.22.0||May 23, 2023|
|0.21.0||Feb 8, 2023|
|0.10.0||Feb 28, 2021|
#65 in GUI
121,722 downloads per month
Used in 491 crates (19 directly)
epaint - egui paint library
A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.
A simple 2D graphics library for turning simple 2D shapes and text into textured triangles.
The left-top corner of the screen is
with X increasing to the right and Y increasing downwards.
epaint uses logical points as its coordinate system.
Those related to physical pixels by the
pixels_per_point scale factor.
For example, a high-dpi screeen can have
pixels_per_point = 2.0,
meaning there are two physical screen pixels for each logical point.
Angles are in radians, and are measured clockwise from the X-axis, which has angle=0.