1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

More image polish (#3343)

* docs

* paint_texture_at

* comment

* Fix doc-tests
This commit is contained in:
Emil Ernerfeldt
2023-09-15 10:57:25 +02:00
committed by GitHub
parent 2bbceb856b
commit a3dfd08d71
5 changed files with 67 additions and 21 deletions

View File

@@ -1235,8 +1235,8 @@ impl PlotItem for PlotImage {
};
let screen_rotation = -*rotation as f32;
egui::paint_image_at(
ui,
egui::paint_texture_at(
ui.painter(),
image_screen_rect,
&ImageOptions {
uv: *uv,