pangomm 2.54.0
|
A Pango::Coverage represents a map from ISO-10646 character point to Pango::Coverage::Level. More...
#include <pangomm/coverage.h>
Public Types | |
enum class | Level { NONE , FALLBACK , APPROXIMATE , EXACT } |
Public Member Functions | |
void | reference () const |
Increment the reference count for this object. | |
void | unreference () const |
Decrement the reference count for this object. | |
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. | |
Coverage ()=delete | |
Coverage (const Coverage &)=delete | |
Coverage & | operator= (const Coverage &)=delete |
Level | get (int index) const |
Determine whether a particular index is covered by coverage. | |
void | set (int index, Level level) |
Modify a particular index within coverage. | |
Static Public Member Functions | |
static Glib::RefPtr< Coverage > | create () |
Protected Member Functions | |
void | operator delete (void *, std::size_t) |
Related Symbols | |
(Note that these are not member symbols.) | |
Glib::RefPtr< Pango::Coverage > | wrap (PangoCoverage *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
A Pango::Coverage represents a map from ISO-10646 character point to Pango::Coverage::Level.
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.
|
strong |
|
delete |
Determine whether a particular index is covered by coverage.
index | The index to check. |
PangoCoverage * Pango::Coverage::gobj | ( | ) |
Provides access to the underlying C instance.
const PangoCoverage * Pango::Coverage::gobj | ( | ) | const |
Provides access to the underlying C instance.
PangoCoverage * Pango::Coverage::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void Pango::Coverage::reference | ( | ) | const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
Modify a particular index within coverage.
index | The index to modify. |
level | The new level for index. |
void Pango::Coverage::unreference | ( | ) | const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |