gi-gdk-3.0.2: 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 
(~) AttrOpTag tag AttrSet => Constructible Rectangle tag Source 
((~) * signature (Rectangle -> m Rectangle), MonadIO m) => MethodInfo * RectangleUnionMethodInfo Rectangle signature Source 
((~) * signature (Rectangle -> m (Bool, Rectangle)), MonadIO m) => MethodInfo * RectangleIntersectMethodInfo Rectangle signature Source 
((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabelProxy t (Rectangle -> p) Source 
type AttributeList Rectangle Source 

newZeroRectangle :: MonadIO m => m Rectangle Source

Construct a Rectangle struct initialized to zero.

Methods

rectangleIntersect

rectangleUnion

Properties

Height

Width

X

Y