Index

Package: Context

Description

package Pango.Context is

Classes

Pango_Context_Record

type Pango_Context_Record is new Glib.Object.GObject_Record with private;

Ancestors:

Primitive operations:

Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)

Types

Pango_Context

type Pango_Context is access all Pango_Context_Record'Class;
A pango context is somewhat similar to a graphic context, and groups all the information on how to handle the various international scripts (font, color, direction,...) Such a context is destroyed by calling Glib.Object.Unref on it.

Subprograms & Entries

Get_Type

function Get_Type return Glib.GType;
Return the internal value associated with a Pango_Context.

Set_Font_Description

procedure Set_Font_Description 
(Context: Pango_Context;
Description: Pango.Font.Pango_Font_Description);

Get_Font_Description

function Get_Font_Description 
(Context: Pango_Context) return Pango.Font.Pango_Font_Description;

Load_Font

function Load_Font 
(Context: access Pango_Context_Record'Class;
Descr: Pango.Font.Pango_Font_Description) return Pango.Font.Pango_Font;
Load a new font from its description