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: Array parameter of type guint8 is not supported

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: <Error class: unknown class>): 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: <Error class: unknown class>, level: CoverageLevel)

Modify a particular index within @coverage

Link copied to clipboard
open fun unref()

Decrease the reference count on the PangoCoverage by one.