gi-rsvg-2.0.2: librsvg bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Rsvg.Structs.PositionData

Description

Position of an SVG fragment from handleGetPositionSub. Please the deprecation documentation for that function.

Synopsis

Exported types

newZeroPositionData :: MonadIO m => m PositionData Source #

Construct a PositionData struct initialized to zero.

Methods

Properties

x

position on the x axis

getPositionDataX :: MonadIO m => PositionData -> m Int32 Source #

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

get positionData #x

setPositionDataX :: MonadIO m => PositionData -> Int32 -> m () Source #

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

set positionData [ #x := value ]

y

position on the y axis

getPositionDataY :: MonadIO m => PositionData -> m Int32 Source #

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

get positionData #y

setPositionDataY :: MonadIO m => PositionData -> Int32 -> m () Source #

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

set positionData [ #y := value ]