pub const ImageRect = struct { x: u32, y: u32, w: u32, h: u32, }; pub const ImageSize = struct { w: u32, h: u32, }; pub const Size = struct { width: f32, height: f32, }; /// Точка в 2D (документные единицы) pub const Point2 = struct { x: f32 = 0, y: f32 = 0, }; /// Радиусы эллипса по осям (одно свойство). pub const Radii = struct { x: f32, y: f32, }; /// Масштаб объекта pub const Scale2 = struct { scale_x: f32 = 1, scale_y: f32 = 1, };