Package org.lwjgl.system.jawt
Class JAWTDrawingSurfaceInfo
- All Implemented Interfaces:
Pointer
struct JAWT_DrawingSurfaceInfo {
void * platformInfo;
{@link JAWTDrawingSurface JAWT_DrawingSurface} * ds;
{@link JAWTRectangle JAWT_Rectangle} bounds;
jint clipSize;
{@link JAWTRectangle JAWT_Rectangle} * clip;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionJAWTDrawingSurfaceInfo(ByteBuffer container) Creates aJAWTDrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbounds()clip()intclipSize()static JAWTDrawingSurfaceInfocreate(long address) Returns a newJAWTDrawingSurfaceInfoinstance for the specified memory address.create(long address, int capacity) Create aJAWTDrawingSurfaceInfo.Bufferinstance at the specified memory.static @Nullable JAWTDrawingSurfaceInfocreateSafe(long address) static @Nullable JAWTDrawingSurfaceInfo.BuffercreateSafe(long address, int capacity) ds()static JAWTRectanglenbounds(long struct) Unsafe version ofbounds().static JAWTRectangle.Buffernclip(long struct) Unsafe version ofclip().static intnclipSize(long struct) Unsafe version ofclipSize().static JAWTDrawingSurfacends(long struct) Unsafe version ofds().static longnplatformInfo(long struct) Unsafe version ofplatformInfo().longintsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
PLATFORMINFO
public static final int PLATFORMINFOThe struct member offsets. -
DS
public static final int DSThe struct member offsets. -
BOUNDS
public static final int BOUNDSThe struct member offsets. -
CLIPSIZE
public static final int CLIPSIZEThe struct member offsets. -
CLIP
public static final int CLIPThe struct member offsets.
-
-
Constructor Details
-
JAWTDrawingSurfaceInfo
Creates aJAWTDrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<JAWTDrawingSurfaceInfo>
-
platformInfo
public long platformInfo()- Returns:
- the value of the
platformInfofield.
-
ds
- Returns:
- a
JAWTDrawingSurfaceview of the struct pointed to by thedsfield.
-
bounds
- Returns:
- a
JAWTRectangleview of theboundsfield.
-
clipSize
public int clipSize()- Returns:
- the value of the
clipSizefield.
-
clip
- Returns:
- a
JAWTRectangle.Bufferview of the struct array pointed to by theclipfield.
-
create
Returns a newJAWTDrawingSurfaceInfoinstance for the specified memory address. -
createSafe
-
create
Create aJAWTDrawingSurfaceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
nplatformInfo
public static long nplatformInfo(long struct) Unsafe version ofplatformInfo(). -
nds
Unsafe version ofds(). -
nbounds
Unsafe version ofbounds(). -
nclipSize
public static int nclipSize(long struct) Unsafe version ofclipSize(). -
nclip
Unsafe version ofclip().
-