mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Add epaint::Brush for controlling RectShape texturing (#5565)
Also wraps `Shape::Mesh` in an `Arc`. No new features, but decreases size of `Shape` from 72 bytes to 64.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#![allow(clippy::float_cmp)]
|
||||
#![allow(clippy::manual_range_contains)]
|
||||
|
||||
mod brush;
|
||||
pub mod color;
|
||||
pub mod image;
|
||||
mod margin;
|
||||
@@ -44,6 +45,7 @@ pub mod util;
|
||||
mod viewport;
|
||||
|
||||
pub use self::{
|
||||
brush::Brush,
|
||||
color::ColorMode,
|
||||
image::{ColorImage, FontImage, ImageData, ImageDelta},
|
||||
margin::Margin,
|
||||
|
||||
Reference in New Issue
Block a user