egui/crates/epaint/src
Phen-Ro 5f4046d68a
Use `impl Into<Stroke>` as argument in a few more places (#3420)
* Functions that take Stroke were updated to take Into<Stroke> to make
them consistent with other Into<Stroke> parameters.
* Vec2 implements DivAssign<f32>, to make it consistent with already
implementing MulAssign<f32> and Div<f32>.
* Vec2::angled() uses sin_cos() rather than an individual sin() and
cos() call for an immeasurable but hypothetical performance improvement.
* Disable the lock_reentry_single_thread() mutex test. Lock()ing twice
on the same thread is not guaranteed to panic.

* Closes <https://github.com/emilk/egui/issues/3419>.
2023-11-10 21:36:51 +01:00
..
text Fix some lints found by clippy 1.73 2023-10-06 09:01:31 +02:00
util Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
bezier.rs Improve clippy, and add more docs (#3306) 2023-09-05 14:11:22 +02:00
image.rs Add more puffin profile scopes to `eframe` (#3330) 2023-09-13 09:00:38 +02:00
lib.rs Add control of line height and letter spacing (#3302) 2023-09-05 10:45:11 +02:00
mesh.rs Support images with rounded corners (#3257) 2023-08-15 09:29:30 +02: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 Style tweaks (#2406) 2022-12-08 10:55:13 +01:00
shape.rs Misc code cleanup (#3398) 2023-09-27 09:06:17 +02:00
shape_transform.rs Fix typos (#2866) 2023-04-18 15:52:45 +02:00
stats.rs Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
stroke.rs Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
tessellator.rs Floating scroll bars (#3539) 2023-11-09 18:41:58 +01:00
texture_atlas.rs Replace `tracing` with `log` (#2928) 2023-04-18 21:11:26 +02:00
texture_handle.rs Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
textures.rs Some clippy fixes from 1.72.0 2023-08-25 07:44:25 +02:00