pango.coverage
Module for [Coverage] class
Types 3
A pango.coverage.Coverage structure is a map from Unicode characters to pango.types.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 pango.coverage.Coverage is a data structure that is used to represent that information. It is an opaque structure with no public fields.
Methods
CoverageGidBuilder builder() static nothrowGet builder for [pango.coverage.Coverage] Returns: New builder objectpango.coverage.Coverage fromBytes(ubyte[] bytes) static nothrowConvert data generated from [pango.coverage.Coverage.toBytes] back to a [pango.coverage.Coverage].pango.coverage.Coverage copy() nothrowCopy an existing [pango.coverage.Coverage]. Returns: the newly allocated [pango.coverage.Coverage], with a reference count of one, which should be freed with [pango.coverage.Coverage.unref].pango.types.CoverageLevel get(int index) nothrowDetermine whether a particular index is covered by coverage.void max(pango.coverage.Coverage other) nothrowSet 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.void set(int index, pango.types.CoverageLevel level) nothrowModify a particular index within coveragevoid toBytes(out ubyte[] bytes) nothrowConvert a [pango.coverage.Coverage] structure into a flat binary format.Fluent builder implementation template for pango.coverage.Coverage
Fluent builder for pango.coverage.Coverage