| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GstVideo.Structs.VideoRectangle
Contents
Description
Helper structure representing a rectangular area.
- newtype VideoRectangle = VideoRectangle (ForeignPtr VideoRectangle)
- newZeroVideoRectangle :: MonadIO m => m VideoRectangle
- noVideoRectangle :: Maybe VideoRectangle
- videoRectangleH :: AttrLabelProxy "h"
- videoRectangleReadH :: MonadIO m => VideoRectangle -> m Int32
- videoRectangleWriteH :: MonadIO m => VideoRectangle -> Int32 -> m ()
- videoRectangleReadW :: MonadIO m => VideoRectangle -> m Int32
- videoRectangleW :: AttrLabelProxy "w"
- videoRectangleWriteW :: MonadIO m => VideoRectangle -> Int32 -> m ()
- videoRectangleReadX :: MonadIO m => VideoRectangle -> m Int32
- videoRectangleWriteX :: MonadIO m => VideoRectangle -> Int32 -> m ()
- videoRectangleX :: AttrLabelProxy "x"
- videoRectangleReadY :: MonadIO m => VideoRectangle -> m Int32
- videoRectangleWriteY :: MonadIO m => VideoRectangle -> Int32 -> m ()
- videoRectangleY :: AttrLabelProxy "y"
Exported types
newtype VideoRectangle Source
Constructors
| VideoRectangle (ForeignPtr VideoRectangle) |
Instances
| WrappedPtr VideoRectangle Source | |
| (~) AttrOpTag tag AttrSet => Constructible VideoRectangle tag Source | |
| ((~) * info (ResolveVideoRectangleMethod t VideoRectangle), MethodInfo * info VideoRectangle p) => IsLabelProxy t (VideoRectangle -> p) Source | |
| type AttributeList VideoRectangle Source |
newZeroVideoRectangle :: MonadIO m => m VideoRectangle Source
Construct a VideoRectangle struct initialized to zero.
Properties
H
videoRectangleH :: AttrLabelProxy "h" Source
videoRectangleReadH :: MonadIO m => VideoRectangle -> m Int32 Source
videoRectangleWriteH :: MonadIO m => VideoRectangle -> Int32 -> m () Source
W
videoRectangleReadW :: MonadIO m => VideoRectangle -> m Int32 Source
videoRectangleW :: AttrLabelProxy "w" Source
videoRectangleWriteW :: MonadIO m => VideoRectangle -> Int32 -> m () Source
X
videoRectangleReadX :: MonadIO m => VideoRectangle -> m Int32 Source
videoRectangleWriteX :: MonadIO m => VideoRectangle -> Int32 -> m () Source
videoRectangleX :: AttrLabelProxy "x" Source
Y
videoRectangleReadY :: MonadIO m => VideoRectangle -> m Int32 Source
videoRectangleWriteY :: MonadIO m => VideoRectangle -> Int32 -> m () Source
videoRectangleY :: AttrLabelProxy "y" Source