gi-gstvideo-1.0.28: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoRectangle

Description

Helper structure representing a rectangular area.

Synopsis

Exported types

newtype VideoRectangle Source #

Memory-managed wrapper type.

Constructors

VideoRectangle (ManagedPtr VideoRectangle) 

Instances

Instances details
Eq VideoRectangle Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoRectangle

BoxedPtr VideoRectangle Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoRectangle

CallocPtr VideoRectangle Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoRectangle

ManagedPtrNewtype VideoRectangle Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoRectangle

tag ~ 'AttrSet => Constructible VideoRectangle tag Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoRectangle

Methods

new :: MonadIO m => (ManagedPtr VideoRectangle -> VideoRectangle) -> [AttrOp VideoRectangle tag] -> m VideoRectangle

newZeroVideoRectangle :: MonadIO m => m VideoRectangle Source #

Construct a VideoRectangle struct initialized to zero.

Methods

Properties

h

height of the rectangle

getVideoRectangleH :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “h” field. When overloading is enabled, this is equivalent to

get videoRectangle #h

setVideoRectangleH :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “h” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #h := value ]

w

width of the rectangle

getVideoRectangleW :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “w” field. When overloading is enabled, this is equivalent to

get videoRectangle #w

setVideoRectangleW :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “w” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #w := value ]

x

X coordinate of rectangle's top-left point

getVideoRectangleX :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “x” field. When overloading is enabled, this is equivalent to

get videoRectangle #x

setVideoRectangleX :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “x” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #x := value ]

y

Y coordinate of rectangle's top-left point

getVideoRectangleY :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “y” field. When overloading is enabled, this is equivalent to

get videoRectangle #y

setVideoRectangleY :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “y” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #y := value ]