Pango.Coverage

Entities

Tagged Types

Access Types

Subprograms

Description

The Pango.Coverage.Pango_Coverage structure represents a map from Unicode characters to Pango.Enums.Coverage_Level. It is an opaque structure with no public fields.

Copy

function Copy
   (Self : not null access Pango_Coverage_Record) return Pango_Coverage

Copy an existing Pango.Coverage.Pango_Coverage. (This function may now be unnecessary since we refcount the structure. File a bug if you use it.)

Parameters
Self
Return Value

the newly allocated Pango.Coverage.Pango_Coverage, with a reference count of one, which should be freed with Pango.Coverage.Unref.

Gdk_New

procedure Gdk_New (Self : out Pango_Coverage)

Create a new Pango.Coverage.Pango_Coverage

Parameters
Self

Get

function Get
   (Self  : not null access Pango_Coverage_Record;
    Index : Glib.Gint) return Pango.Enums.Coverage_Level

Determine whether a particular index is covered by Coverage

Parameters
Self
Index

the index to check

Return Value

the coverage level of Coverage for character Index_.

Get_Type

function Get_Type return Glib.GType
Return Value

Initialize

procedure Initialize (Self : not null access Pango_Coverage_Record'Class)

Create a new Pango.Coverage.Pango_Coverage Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self

Max

procedure Max
   (Self  : not null access Pango_Coverage_Record;
    Other : not null access Pango_Coverage_Record'Class)

Set the coverage for each index in Coverage to be the max (better) value of the current coverage for the index and the coverage for the corresponding index in Other. Deprecated since 1.44, 1

Parameters
Self
Other

another Pango.Coverage.Pango_Coverage

Pango_Coverage

type Pango_Coverage is access all Pango_Coverage_Record'Class;

Pango_Coverage_New

function Pango_Coverage_New return Pango_Coverage

Create a new Pango.Coverage.Pango_Coverage

Return Value

Pango_Coverage_Record

type Pango_Coverage_Record is new GObject_Record with null record;

Ref

function Ref
   (Self : not null access Pango_Coverage_Record) return Pango_Coverage

Increase the reference count on the Pango.Coverage.Pango_Coverage by one

Parameters
Self
Return Value

Coverage

Set

procedure Set
   (Self  : not null access Pango_Coverage_Record;
    Index : Glib.Gint;
    Level : Pango.Enums.Coverage_Level)

Modify a particular index within Coverage

Parameters
Self
Index

the index to modify

Level

the new level for Index_

Unref

procedure Unref (Self : not null access Pango_Coverage_Record)

Decrease the reference count on the Pango.Coverage.Pango_Coverage by one. If the result is zero, free the coverage and all associated memory.

Parameters
Self