com.jniwrapper.util
Class JAWT_DrawingSurfaceInfo

java.lang.Object
  |
  +--com.jniwrapper.Parameter
        |
        +--com.jniwrapper.Structure
              |
              +--com.jniwrapper.util.JAWT_DrawingSurfaceInfo

public class JAWT_DrawingSurfaceInfo
extends Structure

Information about a current drawing surface configuration.

Since:
1.2

Constructor Summary
JAWT_DrawingSurfaceInfo(Structure platformInfo)
          Constructs the drawing surface information structure.
 
Method Summary
 JAWT_Rectangle getBounds()
          Returns the bounding rectangle of the drawing surface.
 ComplexArray getClip()
          Returns the array of clip rectangles.
 Int getClipSize()
          Returns the number of clip rectangles in the clip array.
 Structure getPlatformInfo()
          Returns platform-specific information structure.
 
Methods inherited from class com.jniwrapper.Structure
acceptIOPerformer, addMembers, clone, computeLength, getAlignmentRequirement, getLength, getMember, getMembers, init, init, pop, push, read, setDataBuffer, toString, write
 
Methods inherited from class com.jniwrapper.Parameter
asReturnValue, equals, getAlignedLength, getDataBuffer, getDataBufferOffset, indent, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAWT_DrawingSurfaceInfo

public JAWT_DrawingSurfaceInfo(Structure platformInfo)
Constructs the drawing surface information structure.

Parameters:
platformInfo - platform-specific surface information structure. See the jawt_md.h header file of the target platform JDK for its contents.
Method Detail

getBounds

public JAWT_Rectangle getBounds()
Returns the bounding rectangle of the drawing surface.


getClip

public ComplexArray getClip()
Returns the array of clip rectangles. Array members are of type JAWT_Rectangle.


getClipSize

public Int getClipSize()
Returns the number of clip rectangles in the clip array.


getPlatformInfo

public Structure getPlatformInfo()
Returns platform-specific information structure.