pub type VSLRect = vsl_rect;Expand description
The VSLRect structure represents a rectangle region of a frame and is used to define cropping regions for sub-frames.
Aliased Type§
#[repr(C)]pub struct VSLRect {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}Fields§
§x: i32The left-most pixel offset for the rectangle.
y: i32The top-most pixel offset for the rectangle.
width: i32The width in pixels of the rectangle. The end position is x+width.
height: i32The height in pixels of the rectangle. The end position is y+height.