Type Alias videostream_sys::VSLRect

source ·
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§

struct VSLRect {
    pub x: i32,
    pub y: i32,
    pub width: i32,
    pub height: i32,
}

Fields§

§x: i32

The left-most pixel offset for the rectangle.

§y: i32

The top-most pixel offset for the rectangle.

§width: i32

The width in pixels of the rectangle. The end position is x+width.

§height: i32

The height in pixels of the rectangle. The end position is y+height.