Basics
Guides
API Reference
Basics
Guides
API Reference
[18:7] extends: object
A PangoCoverage structure is a map from Unicode characters to
[enum@Pango.CoverageLevel] values. It is often necessary in Pango to
determine if a particular font can represent a particular character, and also
how well it can represent that character. The PangoCoverage is a data
structure that is used to represent that information. It is an opaque
structure with no public fields.
Coverage ()
Create a new
PangoCoverage
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.copy ()
Copy an existing
PangoCoverage.
get (int index_)
Determine whether a particular index is covered by @coverage.
index_ is the index to check.max (object other)
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 is another PangoCoverage.None.ref ()
Increase the reference count on the
PangoCoverageby one.
set (int index_, string level)
Modify a particular index within @coverage
index_ is the index to modify.level is the new level for @index_.None.unref ()
Decrease the reference count on the
PangoCoverageby one. If the result is zero, free the coverage and all associated memory.
None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.