gi-pango-0.1.38.14: 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.Rectangle

Contents

Description

The #PangoRectangle structure represents a rectangle. It is frequently used to represent the logical or ink extents of a single glyph or section of text. (See, for instance, pango_font_get_glyph_extents())

Synopsis

Exported types

newtype Rectangle Source

Instances

(~) AttrOpTag tag AttrSet => Constructible Rectangle tag 
((~) * 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.

Properties

Height

Width

X

Y