egui/crates/epaint/src
Emil Ernerfeldt a541e021aa
Add `RectShape::blur_width` to implement shadows (#4267)
This is mostly a refactor, but has some performance benefits:
* We (re)use the same tessellator as for everything else, leading to
less allocations
* We cull shapes before rendering them

Adding `RectShape::blur_width` means it can also be used for other
effects, such as glow.
2024-03-29 20:29:42 +01:00
..
text Enforce writing username in TODO comments (#4235) 2024-03-26 11:48:24 +01:00
util Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
bezier.rs Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
image.rs Add `ColorImage::from_gray_iter` (#3536) 2024-02-20 15:29:23 +01:00
lib.rs Add `Margin` to `epaint` (#4231) 2024-03-26 09:05:29 +01:00
margin.rs Add `Margin` to `epaint` (#4231) 2024-03-26 09:05:29 +01:00
mesh.rs Add layer transforms, interaction in layer (#3906) 2024-02-17 11:02:56 +01:00
mutex.rs Use `impl Into<Stroke>` as argument in a few more places (#3420) 2023-11-10 21:36:51 +01:00
shadow.rs Add `RectShape::blur_width` to implement shadows (#4267) 2024-03-29 20:29:42 +01:00
shape.rs Add `RectShape::blur_width` to implement shadows (#4267) 2024-03-29 20:29:42 +01:00
shape_transform.rs Add `RectShape::blur_width` to implement shadows (#4267) 2024-03-29 20:29:42 +01:00
stats.rs Enforce writing username in TODO comments (#4235) 2024-03-26 11:48:24 +01:00
stroke.rs Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
tessellator.rs Add `RectShape::blur_width` to implement shadows (#4267) 2024-03-29 20:29:42 +01:00
texture_atlas.rs Fix buggy text withviewports on monitors with different scales (#3666) 2023-11-30 15:56:05 +01:00
texture_handle.rs Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
textures.rs Add `TextureOptions::wrap_mode` (#3954) 2024-02-05 09:37:05 +01:00