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

newZeroRectangle :: MonadIO m => m Rectangle Source

Construct a Rectangle struct initialized to zero.

Methods

rectangleIntersect

rectangleUnion

Properties

Height

Width

X

Y