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.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

((~) * 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

newZeroRectangle :: MonadIO m => m Rectangle Source

Construct a Rectangle struct initialized to zero.

Properties

Height

Width

X

Y