PgCoverage

The #PangoCoverage structure represents a map from Unicode characters to #PangoCoverageLevel. It is an opaque structure with no public fields.

Constructors

this
this(PangoCoverage* pangoCoverage, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Create a new #PangoCoverage

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

copy
PgCoverage copy()

Copy an existing #PangoCoverage. (This function may now be unnecessary since we refcount the structure. File a bug if you use it.)

get
PangoCoverageLevel get(int index)

Determine whether a particular index is covered by @coverage

getPgCoverageStruct
PangoCoverage* getPgCoverageStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

max
void max(PgCoverage 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.

ref_
PgCoverage ref_()

Increase the reference count on the #PangoCoverage by one

set
void set(int index, PangoCoverageLevel level)

Modify a particular index within @coverage

toBytes
void toBytes(ubyte[] bytes)

Convert a #PangoCoverage structure into a flat binary format

unref
void unref()

Decrease the reference count on the #PangoCoverage by one. If the result is zero, free the coverage and all associated memory.

Static functions

fromBytes
PgCoverage fromBytes(char[] bytes)

Convert data generated from pango_coverage_to_bytes() back to a #PangoCoverage

Variables

ownedRef
bool ownedRef;
Undocumented in source.
pangoCoverage
PangoCoverage* pangoCoverage;

the main Gtk struct

Meta