struct

V4L2::Rect

Inherits Struct < Value < Object

Represents rectangular dimensions.

Constructors

new(left : Int32, top : Int32, width : UInt32, height : UInt32)
Source
new(rect_struct : Linux::V4L2Rect)

Initializes a V4L2::Rect from a Linux::V4L2Rect struct.

Source

Instance methods

clone
Source
copy_with(left _left = @left, top _top = @top, width _width = @width, height _height = @height)
Source
height
left
to_unsafe

Converts the rectangle back into a Linux::V4L2Rect.

Source
top
width