It derives from <GObject>.
A <PangoCoverage> structure is a map from Unicode
characters to <PangoCoverageLevel> 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.
Copy an existing <PangoCoverage>.
Passed: a <PangoCoverage>.
Returned: a <PangoCoverage>.
the newly allocated <PangoCoverage>, with a
reference count of one, which should be freed with coverage:unref.
Convert data generated from coverage:to-bytes back to a
<PangoCoverage>.
Passed: a bytevector, or a list or vector, each an unsigned 8-bit integer.
binary data representing a <PangoCoverage>
Returned: a <PangoCoverage>, or #f.
a newly allocated <PangoCoverage>
Not passed: guile-gi gives the length of bytes.
the size of bytes in bytes
Determine whether a particular index is covered by self.
Passed: a <PangoCoverage>.
Passed: a 32-bit integer.
the index to check
Returned: a <PangoCoverageLevel>.
the coverage level of self for character index-.
Set the coverage for each index in self to be the max (better) value of the current coverage for the index and the coverage for the corresponding index in other.
Passed: a <PangoCoverage>.
Passed: a <PangoCoverage>.
another <PangoCoverage>
Create a new <PangoCoverage>
Returned: a <PangoCoverage>.
the newly allocated <PangoCoverage>, initialized
to none with a reference count of one, which
should be freed with coverage:unref.
Increase the reference count on the
<PangoCoverage> by one.
Passed: a <PangoCoverage>.
Returned: a <PangoCoverage>.
self
Modify a particular index within self
Passed: a <PangoCoverage>.
Passed: a 32-bit integer.
the index to modify
Passed: a <PangoCoverageLevel>, or one of
its symbols.
the new level for index-
Convert a <PangoCoverage> structure into a flat
binary format.
Passed: a <PangoCoverage>.
Returned: a bytevector.
location to store result (must be freed with
byte-array:free)
Not returned: it is the length of bytes.
location to store size of result
Decrease the reference count on the
<PangoCoverage> by one.
If the result is zero, free the coverage and all associated memory.
Passed: a <PangoCoverage>.