gi-pangocairo-1.0.15: PangoCairo 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.PangoCairo.Interfaces.Font

Contents

Description

Font is an interface exported by fonts for use with Cairo. The actual type of the font will depend on the particular font technology Cairo was compiled to use.

Synopsis

Exported types

toFont :: (MonadIO m, IsFont o) => o -> m Font Source #

Methods

getScaledFont

fontGetScaledFont Source #

Arguments

:: (HasCallStack, MonadIO m, IsFont a) 
=> a

font: a Font from a FontMap

-> m (Maybe ScaledFont)

Returns: the ScaledFont used by font, or Nothing if font is Nothing.

Gets the ScaledFont used by font. The scaled font can be referenced and kept using cairo_scaled_font_reference().

Since: 1.18