epaint

Function pos2

Source
pub const fn pos2(x: f32, y: f32) -> Pos2
Expand description

pos2(x, y) == Pos2::new(x, y)