egui/crates/epaint/src
CrazyCraftix 4a330de53d
Fix scaling of rounded corners for rect shape (#4152) (#4161)
When scaling an `egui::Shape` of variant `Rect` using the new
`transform` function, corner rounding isn't taken into account.

The fix is to multiply the rounding by the scaling factor.

* Closes <https://github.com/emilk/egui/issues/4152>
2024-03-12 11:14:24 +01:00
..
text Fix text selection crashes 2024-01-24 15:47:44 +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 Parallell tessellation (#3934) 2024-02-01 16:27:59 +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 Convenience const fn for Margin, Rounding and Shadow (#4080) 2024-02-21 16:20:26 +01:00
shape.rs Fix scaling of rounded corners for rect shape (#4152) (#4161) 2024-03-12 11:14:24 +01:00
shape_transform.rs Add opacity factor to `TextShape` (#3916) 2024-01-30 15:55:18 +01:00
stats.rs Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
stroke.rs Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
tessellator.rs Remove profile scope from `tessellate_shape` 2024-02-02 15:53:01 +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