Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Used to represent display_primaries and white_point of
VideoMasteringDisplayInfo
struct. See VideoMasteringDisplayInfo
Since: 1.18
Synopsis
- newtype VideoMasteringDisplayInfoCoordinates = VideoMasteringDisplayInfoCoordinates (ManagedPtr VideoMasteringDisplayInfoCoordinates)
- newZeroVideoMasteringDisplayInfoCoordinates :: MonadIO m => m VideoMasteringDisplayInfoCoordinates
- getVideoMasteringDisplayInfoCoordinatesX :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> m Word16
- setVideoMasteringDisplayInfoCoordinatesX :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> Word16 -> m ()
- getVideoMasteringDisplayInfoCoordinatesY :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> m Word16
- setVideoMasteringDisplayInfoCoordinatesY :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> Word16 -> m ()
Exported types
newtype VideoMasteringDisplayInfoCoordinates Source #
Memory-managed wrapper type.
Instances
newZeroVideoMasteringDisplayInfoCoordinates :: MonadIO m => m VideoMasteringDisplayInfoCoordinates Source #
Construct a VideoMasteringDisplayInfoCoordinates
struct initialized to zero.
Methods
Properties
x
the x coordinate of CIE 1931 color space in unit of 0.00002.
getVideoMasteringDisplayInfoCoordinatesX :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> m Word16 Source #
Get the value of the “x
” field.
When overloading is enabled, this is equivalent to
get
videoMasteringDisplayInfoCoordinates #x
setVideoMasteringDisplayInfoCoordinatesX :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> Word16 -> m () Source #
Set the value of the “x
” field.
When overloading is enabled, this is equivalent to
set
videoMasteringDisplayInfoCoordinates [ #x:=
value ]
y
the y coordinate of CIE 1931 color space in unit of 0.00002.
getVideoMasteringDisplayInfoCoordinatesY :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> m Word16 Source #
Get the value of the “y
” field.
When overloading is enabled, this is equivalent to
get
videoMasteringDisplayInfoCoordinates #y
setVideoMasteringDisplayInfoCoordinatesY :: MonadIO m => VideoMasteringDisplayInfoCoordinates -> Word16 -> m () Source #
Set the value of the “y
” field.
When overloading is enabled, this is equivalent to
set
videoMasteringDisplayInfoCoordinates [ #y:=
value ]