struct RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | RECT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BOTTOM
The struct member offsets. |
| public static final int | LEFT
The struct member offsets. |
| public static final int | RIGHT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TOP
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | RECT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public RECT | |
| public static RECT | |
| public static RECT. | |
| public static RECT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RECT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RECT | |
| public static RECT | |
| public static RECT. | |
| public static RECT. | |
| protected RECT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static RECT | |
| public static RECT | |
| public static RECT. | create(int
the buffer capacity capacity)Returns a new |
| public static RECT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static RECT | |
| public static RECT. | |
| public int | |
| public RECT | |
| public static RECT | |
| public static RECT. | |
| public static RECT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RECT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RECT | |
| public static RECT | |
| public static RECT. | |
| public static RECT. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public RECT | |
| public RECT | |
| public RECT | |
| public int | |
| public int | |
| public RECT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BOTTOM | back to summary |
|---|---|
| public static final int BOTTOM The struct member offsets. | |
| LEFT | back to summary |
|---|---|
| public static final int LEFT The struct member offsets. | |
| RIGHT | back to summary |
|---|---|
| public static final int RIGHT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TOP | back to summary |
|---|---|
| public static final int TOP The struct member offsets. | |
| RECT | back to summary |
|---|---|
| protected RECT(long address, ByteBuffer container) | |
| RECT | back to summary |
|---|---|
| public RECT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bottom | back to summary |
|---|---|
| public int bottom() the y-coordinate of the lower-right corner of the rectangle
| |
| bottom | back to summary |
|---|---|
| public RECT bottom(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static RECT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static RECT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static RECT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static RECT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static RECT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RECT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RECT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static RECT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected RECT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static RECT create() Returns a new | |
| create | back to summary |
|---|---|
| public static RECT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static RECT. Returns a new
| |
| create | back to summary |
|---|---|
| public static RECT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static RECT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static RECT. Like
| |
| left | back to summary |
|---|---|
| public int left() the x-coordinate of the upper-left corner of the rectangle
| |
| left | back to summary |
|---|---|
| public RECT left(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static RECT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static RECT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static RECT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static RECT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static RECT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RECT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RECT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static RECT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbottom | back to summary |
|---|---|
| public static int nbottom(long struct) Unsafe version of | |
| nbottom | back to summary |
|---|---|
| public static void nbottom(long struct, int value) Unsafe version of | |
| nleft | back to summary |
|---|---|
| public static int nleft(long struct) Unsafe version of | |
| nleft | back to summary |
|---|---|
| public static void nleft(long struct, int value) Unsafe version of | |
| nright | back to summary |
|---|---|
| public static int nright(long struct) Unsafe version of | |
| nright | back to summary |
|---|---|
| public static void nright(long struct, int value) Unsafe version of | |
| ntop | back to summary |
|---|---|
| public static int ntop(long struct) Unsafe version of | |
| ntop | back to summary |
|---|---|
| public static void ntop(long struct, int value) Unsafe version of | |
| right | back to summary |
|---|---|
| public int right() the x-coordinate of the lower-right corner of the rectangle
| |
| right | back to summary |
|---|---|
| public RECT right(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public RECT set(int left, int top, int right, int bottom) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public RECT set(RECT src) Copies the specified struct data to this struct. | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| top | back to summary |
|---|---|
| public int top() the y-coordinate of the upper-left corner of the rectangle
| |
| top | back to summary |
|---|---|
| public RECT top(int value) Sets the specified value to the | |
RECT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final RECT |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public RECT. | |
| protected RECT | |
| public int | |
| public RECT. | |
| public int | |
| public RECT. | |
| protected RECT. | |
| public int | |
| public RECT. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final RECT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bottom | back to summary |
|---|---|
public int bottom()
| |
| bottom | back to summary |
|---|---|
| public RECT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected RECT getElementFactory() Implements abstract org.
| |
| left | back to summary |
|---|---|
public int left()
| |
| left | back to summary |
|---|---|
| public RECT. Sets the specified value to the | |
| right | back to summary |
|---|---|
public int right()
| |
| right | back to summary |
|---|---|
| public RECT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected RECT. Implements abstract org.
| |
| top | back to summary |
|---|---|
public int top()
| |
| top | back to summary |
|---|---|
| public RECT. Sets the specified value to the | |