org.gnu.pango
Class Coverage

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.MemStruct
          extended by org.gnu.pango.Coverage

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.pango.Coverage. As this package was never fully implemented in java-gnome 2.x, however, any new code written will have a considerably different public API.

public class Coverage
extends org.gnu.glib.MemStruct

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.


Constructor Summary
Coverage()
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Coverage(Coverage coverage)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 
Method Summary
static Coverage fromBytes(byte[] ary)
          Deprecated.  
 CoverageLevel get(int index)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 void set(int index, CoverageLevel level)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 void setMax(Coverage other)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 byte[] toBytes()
          Deprecated.  
 
Methods inherited from class org.gnu.glib.MemStruct
getMemStructFromHandle
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coverage

public Coverage()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Create a new Coverage


Coverage

public Coverage(Coverage coverage)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Create a new Coverage that is a copy of the provided Coverage.

Parameters:
coverage -
Method Detail

get

public CoverageLevel get(int index)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Determine whether a particular index is covered by coverage.


setMax

public void setMax(Coverage other)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

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.


set

public void set(int index,
                CoverageLevel level)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Modify a particular index within coverage.


toBytes

public byte[] toBytes()
Deprecated. 

fromBytes

public static Coverage fromBytes(byte[] ary)
Deprecated.