public class JAWT_DrawingSurface extends Structure
LICENSE_TYPE, V
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
freeDrawingSurfaceInfo(Pointer pDsi)
Frees the drawing surface information.
|
void |
getDrawingSurfaceInfo(Pointer pDsi)
Reads the native drawing surface information.
|
int |
lock()
Locks this drawing surface.
|
void |
unlock()
Unlocks this drawing surface.
|
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
asReturnValue, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
public int lock()
unlock()
method.JAWT.JAWT_LOCK_ERROR
- When an error has occurred and the surface cannot be locked.JAWT.JAWT_LOCK_CLIP_CHANGED
- When the clip region has changed.JAWT.JAWT_LOCK_BOUNDS_CHANGED
- When the bounds of the surface has changed.JAWT.JAWT_LOCK_SURFACE_CHANGED
- When the surface itself has changed.public void getDrawingSurfaceInfo(Pointer pDsi)
pDsi
- a pointer to the JAWT_DrawingSurfaceInfo
structure initialized with a proper platform-dependent
platformInfo
structure. The passed structure will be filled
with the drawing surface data.public void freeDrawingSurfaceInfo(Pointer pDsi)
pDsi
- a pointer to the JAWT_DrawingSurfaceInfo
structure that was previously filled in by the
getDrawingSurfaceInfo
method.public void unlock()