Pango.Cairo

Entities

Subprograms

Description

Interfacing between Pango and Cairo.

<c_version>2.16.6</c_version> <group>Cairo</group>

Set_Default_Font_Type

procedure Set_Default_Font_Type (Font_Type : Standard.Cairo.Cairo_Font_Type)

Sets the default fontmap used by default. This can be used to change the Cairo font backend that the default fontmap uses, for example. The old default font map is unreffed. Note that since Pango 1.32.6, the default fontmap is per-thread. This function only changes the default fontmap for the current thread. Default fontmaps of existing threads are not changed. Default fontmaps of any new threads will still be created using the default mechanism.

Parameters
Font_Type

Show_Layout

procedure Show_Layout (Cr : Cairo_Context; Layout : Pango_Layout)

Draws a pango layout in the specified cairo context. The top-left corner of Layout will be drawn at the current point of the cairo context.

Parameters
Cr
Layout