Klasse Coverage

Alle implementierten Schnittstellen:
PointerInterface

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

  • Konstruktordetails

    • Coverage

      public Coverage(PointerContainer pointer)
    • Coverage

      public Coverage()
      Create a new `PangoCoverage`
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • copy

      public Coverage copy()
      Copy an existing `PangoCoverage`.
      Gibt zurück:
      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.
      Parameter:
      index_ - the index to check
      Gibt zurück:
      the coverage level of @coverage for character @index_.
    • max

      @Deprecated public void max(@Nonnull Coverage other)
      Veraltet.
      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.
      Parameter:
      other - another `PangoCoverage`
    • ref

      @Deprecated public Coverage ref()
      Veraltet.
      Increase the reference count on the `PangoCoverage` by one.
      Setzt außer Kraft:
      ref in Klasse Object
      Gibt zurück:
      @coverage
    • set

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

      @Deprecated public void unref()
      Veraltet.
      Decrease the reference count on the `PangoCoverage` by one.

      If the result is zero, free the coverage and all associated memory.
      Setzt außer Kraft:
      unref in Klasse Object
    • 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()