gi-gdk-0.3.18.13: Gdk 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.Gdk.Structs.Rectangle

Contents

Description

Defines the position and size of a rectangle. It is identical to #cairo_rectangle_int_t.

Synopsis

Exported types

newtype Rectangle Source

Instances

BoxedObject Rectangle Source 
((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabel t (Rectangle -> p) Source 

Methods

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

((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabelProxy t (Rectangle -> p) Source 

Methods

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

((~) (TYPE Lifted) signature (Rectangle -> m Rectangle), MonadIO m) => MethodInfo (TYPE Lifted) RectangleUnionMethodInfo Rectangle signature Source 
((~) (TYPE Lifted) signature (Rectangle -> m (Bool, Rectangle)), MonadIO m) => MethodInfo (TYPE Lifted) RectangleIntersectMethodInfo Rectangle signature Source 

newZeroRectangle :: MonadIO m => m Rectangle Source

Construct a Rectangle struct initialized to zero.

Methods

rectangleIntersect

rectangleUnion

Properties

Height

Width

X

Y