org.gnu.pango
Class Coverage
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.
Coverage
public Coverage()
Create a new Coverage
Coverage
protected Coverage(Handle handle)
Coverage
public Coverage(Coverage coverage)
Create a new Coverage that is a copy of the provided Coverage.
coverage
-
get
public CoverageLevel get(int index)
Determine whether a particular index is covered by coverage
pango_coverage_copy
protected static final Handle pango_coverage_copy(Handle coverage)
pango_coverage_from_bytes
protected static final Handle pango_coverage_from_bytes(byte[] bytes,
int numBytes)
pango_coverage_get
protected static final int pango_coverage_get(Handle coverage,
int index)
pango_coverage_max
protected static final void pango_coverage_max(Handle coverage,
Handle other)
pango_coverage_new
protected static final Handle pango_coverage_new()
pango_coverage_ref
protected static final Handle pango_coverage_ref(Handle coverage)
pango_coverage_set
protected static final void pango_coverage_set(Handle coverage,
int index,
int level)
pango_coverage_to_bytes
protected static final void pango_coverage_to_bytes(Handle coverage,
byte[] bytes,
int[] numBytes)
pango_coverage_unref
protected static final void pango_coverage_unref(Handle coverage)
set
public void set(int index,
CoverageLevel level)
Modify a particular index within coverage
setMax
public void setMax(Coverage 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.