gi-pango-1.0.15: 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.AttrSize

Contents

Description

The AttrSize structure is used to represent attributes which set font size.

Synopsis

Exported types

newZeroAttrSize :: MonadIO m => m AttrSize Source #

Construct a AttrSize struct initialized to zero.

Methods

new

attrSizeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Int32

size: the font size, in SCALE<!-- -->ths of a point.

-> m Attribute

Returns: the newly allocated Attribute, which should be freed with attributeDestroy.

Create a new font-size attribute in fractional points.

Properties

absolute

attr

size