egui/crates/epaint
Eris bce257adb3
`epaint`: Add `EllipseShape` (#4122)
Adds an Ellipse shape draw-able with the Painter, brings egui closer to
the SVG Specification.

I've done some optimization towards using less vertices and doing less
calculations.

~~Currently the vertices are evenly distributed.
It's possible this could be optimized further taking into account the
gradient and increasing the concentration of vertices where the change
in gradient is larger.~~


![EllipseTall](https://github.com/emilk/egui/assets/50041841/b105230c-ce68-49c1-b162-d1f066bf9d6a)

![EllipseWide](https://github.com/emilk/egui/assets/50041841/6f9106d2-75cb-4f2a-b0c2-039b3aadec86)
2024-03-20 13:23:21 +01:00
..
benches Parallell tessellation (#3934) 2024-02-01 16:27:59 +01:00
fonts Move all crates into a `crates` directory (#1940) 2022-08-20 10:41:49 +02:00
src `epaint`: Add `EllipseShape` (#4122) 2024-03-20 13:23:21 +01:00
CHANGELOG.md Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
Cargo.toml Put all egui crates as workspace crates (#3976) 2024-02-05 12:59:49 +01:00
README.md Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00

README.md

epaint - egui paint library

Latest version Documentation unsafe forbidden MIT Apache

A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.

Made for egui.