Coverage

open class Coverage(pointer: <Error class: unknown class><<Error class: unknown class>>)

A PangoCoverage structure is a map from Unicode characters to enum@Pango.CoverageLevel values.

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. It is an opaque structure with no public fields.

Skipped during bindings generation

  • parameter bytes: bytes: Out parameter is not supported

  • parameter bytes: guint8

Constructors

Link copied to clipboard
constructor()

Create a new PangoCoverage

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val pangoCoveragePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun copy(): Coverage

Copy an existing PangoCoverage.

Link copied to clipboard
open fun get(index: Int): CoverageLevel

Determine whether a particular index is covered by @coverage.

Link copied to clipboard
open fun max(other: Coverage)

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.

Link copied to clipboard
open fun ref_(): Coverage

Increase the reference count on the PangoCoverage by one.

Link copied to clipboard
open fun set(index: Int, level: CoverageLevel)

Modify a particular index within @coverage

Link copied to clipboard
open fun unref()

Decrease the reference count on the PangoCoverage by one.