org.gnu.pango
Class Coverage

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.pango.Coverage

public class Coverage
extends Boxed

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()
          Create a new Coverage
 
Method Summary
 CoverageLevel get(int index)
          Determine whether a particular index is covered by coverage
 void set(int index, CoverageLevel level)
          Modify a particular index within coverage
 void setMax(Coverage other)
          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.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coverage

public Coverage()
Create a new Coverage

Method Detail

get

public CoverageLevel get(int index)
Determine whether a particular index is covered by coverage


setMax

public void setMax(Coverage other)
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)
Modify a particular index within coverage


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net