gi-pango-0.1.38.13: Pango bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Structs.Matrix

Contents

Description

A structure specifying a transformation between user-space coordinates and device coordinates. The transformation is given by

programlisting x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0; y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0; /programlisting

Synopsis

Exported types

newtype Matrix Source

Constructors

Matrix (ForeignPtr Matrix) 

Instances

BoxedObject Matrix Source 

Methods

boxedType :: Matrix -> IO GType

((~) * info (ResolveMatrixMethod t Matrix), MethodInfo * info Matrix p) => IsLabel t (Matrix -> p) Source 

Methods

fromLabel :: Proxy# Symbol t -> Matrix -> p

((~) * info (ResolveMatrixMethod t Matrix), MethodInfo * info Matrix p) => IsLabelProxy t (Matrix -> p) Source 

Methods

fromLabelProxy :: Proxy Symbol t -> Matrix -> p

((~) (TYPE Lifted) signature (Double -> Double -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) MatrixTranslateMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (Double -> Double -> m (Double, Double)), MonadIO m) => MethodInfo (TYPE Lifted) MatrixTransformPointMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (Double -> Double -> m (Double, Double)), MonadIO m) => MethodInfo (TYPE Lifted) MatrixTransformDistanceMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (Double -> Double -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) MatrixScaleMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (Double -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) MatrixRotateMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (m (Double, Double)), MonadIO m) => MethodInfo (TYPE Lifted) MatrixGetFontScaleFactorsMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (m Double), MonadIO m) => MethodInfo (TYPE Lifted) MatrixGetFontScaleFactorMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) MatrixFreeMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (m Matrix), MonadIO m) => MethodInfo (TYPE Lifted) MatrixCopyMethodInfo Matrix signature Source 
((~) (TYPE Lifted) signature (Matrix -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) MatrixConcatMethodInfo Matrix signature Source 

newZeroMatrix :: MonadIO m => m Matrix Source

Construct a Matrix struct initialized to zero.

Methods

matrixConcat

matrixCopy

matrixFree

data MatrixFreeMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) MatrixFreeMethodInfo Matrix signature Source 

matrixGetFontScaleFactor

matrixGetFontScaleFactors

matrixRotate

matrixScale

matrixTransformDistance

matrixTransformPoint

matrixTranslate

Properties

X0

Xx

Xy

Y0

Yx

Yy