1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! Immediate drawing helpers (DrawList)
//!
//! Safe wrappers over Dear ImGui draw lists plus optional low-level primitives
//! for custom geometry. Prefer high-level builders; resort to `prim_*` only
//! when you need exact control and understand the safety requirements.
//!
//! Example (basic drawing):
//! ```no_run
//! # use dear_imgui_rs::*;
//! # let mut ctx = Context::create();
//! # let ui = ctx.frame();
//! let dl = ui.get_window_draw_list();
//! dl.add_line([10.0, 10.0], [100.0, 100.0], [1.0, 1.0, 1.0, 1.0])
//! .thickness(2.0)
//! .build();
//! dl.add_text([12.0, 12.0], [1.0, 0.8, 0.2, 1.0], "Hello DrawList");
//! ```
//!
//! The old public text pixel-snap token and push method were removed. The closure scope is the
//! only public form because directly restored draw-list flags cannot be made correct for every
//! safe Rust drop order.
//!
//! ```compile_fail
//! use dear_imgui_rs::DrawListTextNoPixelSnapToken;
//! ```
//!
//! ```compile_fail
//! use dear_imgui_rs::DrawListMut;
//! fn removed_api(draw_list: &DrawListMut<'_>) {
//! let _ = draw_list.push_text_no_pixel_snap();
//! }
//! ```
//!
pub use ChannelsSplit;
pub use ImColor32;
pub use ;
pub use DrawListClipRectToken;
pub use ;
pub use ;