Class Coverage

All Implemented Interfaces:
PointerInterface

public class Coverage extends Object
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.

https://docs.gtk.org/Pango/class.Coverage.html

  • Constructor Details

    • Coverage

      public Coverage(PointerContainer pointer)
    • Coverage

      public Coverage()
      Create a new `PangoCoverage`
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • copy

      public Coverage copy()
      Copy an existing `PangoCoverage`.
      Returns:
      the newly allocated `PangoCoverage`, with a reference count of one, which should be freed with [method@Pango.Coverage.unref].
    • get

      public int get(int index_)
      Determine whether a particular index is covered by @coverage.
      Parameters:
      index_ - the index to check
      Returns:
      the coverage level of @coverage for character @index_.
    • set

      public void set(int index_, int level)
      Modify a particular index within @coverage
      Parameters:
      index_ - the index to modify
      level - the new level for @index_
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()