Index

Package: Coverage

Description

package Pango.Coverage is
---------------------------------------------------------------------------- -- Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet -- Copyright (C) 2000-2014, AdaCore -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) any later -- version. This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- As a special exception under Section 7 of GPL version 3, you are granted -- additional permissions described in the GCC Runtime Library Exception, -- version 3.1, as published by the Free Software Foundation. -- -- You should have received a copy of the GNU General Public License and -- a copy of the GCC Runtime Library Exception along with this program; -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- <http://www.gnu.org/licenses/>. -- -- ----------------------------------------------------------------------------

Classes

Pango_Coverage

type Pango_Coverage is new Glib.C_Boxed with null record;

Constants & Global variables

Null_Pango_Coverage (Pango_Coverage)

Null_Pango_Coverage : constant Pango_Coverage;

Subprograms & Entries

From_Object

function From_Object 
(Object: System.Address) return Pango_Coverage;

From_Object_Free

function From_Object_Free 
(B: access Pango_Coverage'Class) return Pango_Coverage;

Copy

function Copy 
(Self: Pango_Coverage) 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.)

Get

function Get 
(Self: Pango_Coverage;
Index: Gint) return Pango.Enums.Coverage_Level;
Determine whether a particular index is covered by Coverage "index_": the index to check

Max

procedure Max 
(Self: Pango_Coverage;
Other: Pango_Coverage);
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. "other": another Pango.Coverage.Pango_Coverage

Ref

function Ref 
(Self: Pango_Coverage) return Pango_Coverage;
Increase the reference count on the Pango.Coverage.Pango_Coverage by one

Set

procedure Set 
(Self: Pango_Coverage;
Index: Gint;
Level: Pango.Enums.Coverage_Level);
Modify a particular index within Coverage "index_": the index to modify "level": the new level for Index_

Unref

procedure Unref 
(Self: Pango_Coverage);
Decrease the reference count on the Pango.Coverage.Pango_Coverage by one. If the result is zero, free the coverage and all associated memory.

Pango_New

function Pango_New return Pango_Coverage;