![]() |
![]() |
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. Pango::Coverage holds this information.
Public Member Functions | |
void | reference () const |
void | unreference () const |
PangoCoverage* | gobj () |
Provides access to the underlying C instance. | |
const PangoCoverage* | gobj () const |
Provides access to the underlying C instance. | |
PangoCoverage* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
CoverageLevel | get (int index) const |
Determine whether a particular index is covered by coverage. | |
void | set (int index, CoverageLevel level) |
Modify a particular index within coverage. | |
void | max (const Glib::RefPtr<Coverage>& other) const |
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 . | |
Glib::ArrayHandle< unsigned char > | to_bytes () const |
Convert the coverage map into a flat binary format. | |
Static Public Member Functions | |
Glib::RefPtr<Coverage> | create () |
Glib::RefPtr<Coverage> | create (const guchar* bytes, int n_bytes) |
Convert data generated from pango_converage_to_bytes() back to a Pango::Coverage. | |
Protected Member Functions | |
Coverage () | |
void | operator delete (void*, size_t) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Pango::Coverage> | wrap (PangoCoverage* object, bool take_copy=false) |
|
|
|
Convert data generated from pango_converage_to_bytes() back to a Pango::Coverage.
|
|
|
|
Determine whether a particular index is covered by coverage.
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
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 .
|
|
|
|
|
|
Modify a particular index within coverage.
|
|
Convert the coverage map into a flat binary format.
|
|
|
|
|