Coverage
Object Hierarchy:
Description:
[
CCode ( ref_function =
"pango_coverage_ref" , type_id =
"pango_coverage_get_type ()" , unref_function =
"pango_coverage_unref" ) ]
public class Coverage :
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.
Content:
Static methods:
Creation methods:
Methods:
- public CoverageLevel @get (int index_)
Determine whether a particular index is covered by
this.
- public unowned Coverage @ref ()
Increase the reference count on the `PangoCoverage` by one.
- public void @set (int index_, CoverageLevel level)
Modify a particular index within this
- public Coverage copy ()
Copy an existing `PangoCoverage`.
- public void max (Coverage other)
Set the coverage for each index in this
to be the max (better) value of the current coverage for the index and the coverage for the corresponding index in other
.
- public void to_bytes (out uint8[] bytes)
Convert a `PangoCoverage` structure into a flat binary format.
- public void unref ()
Decrease the reference count on the `PangoCoverage` by one.
Inherited Members:
All known members inherited from class GLib.Object