Class: Pango::Coverage
- Inherits:
-
Object
- Object
- Pango::Coverage
- Defined in:
- (unknown)
Overview
The Pango::Coverage structure represents a map from Unicode characters to Pango::CoverageLevel. It is an opaque structure with no public fields.
Instance Method Summary collapse
-
#copy ⇒ Pango::Coverage
Copy an existing Pango::Coverage.
-
#get(index_) ⇒ Pango::CoverageLevel
Determine whether a particular index is covered by coverage.
-
#max(other) ⇒ nil
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.
-
#new ⇒ Pango::Coverage
Create a new Pango::Coverage.
-
#ref ⇒ Pango::Coverage
Increase the reference count on the Pango::Coverage by one.
-
#set(index_, level) ⇒ nil
Modify a particular index within coverage.
-
#to_bytes(bytes, n_bytes) ⇒ nil
Convert a Pango::Coverage structure into a flat binary format.
-
#unref ⇒ nil
Decrease the reference count on the Pango::Coverage by one.
Instance Method Details
#copy ⇒ Pango::Coverage
Copy an existing Pango::Coverage. (This function may now be unnecessary since we refcount the structure. File a bug if you use it.)
#get(index_) ⇒ Pango::CoverageLevel
Determine whether a particular index is covered by coverage
#max(other) ⇒ nil
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.
#new ⇒ Pango::Coverage
Create a new Pango::Coverage
#ref ⇒ Pango::Coverage
Increase the reference count on the Pango::Coverage by one
#set(index_, level) ⇒ nil
Modify a particular index within coverage
#to_bytes(bytes, n_bytes) ⇒ nil
Convert a Pango::Coverage structure into a flat binary format
#unref ⇒ nil
Decrease the reference count on the Pango::Coverage by one. If the result is zero, free the coverage and all associated memory.