struct parsl_viewport {
float left;
float top;
float right;
float bottom;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ParSLViewport.
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 | ParSLViewport(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public ParSLViewport | |
| public static ParSLViewport | |
| public static ParSLViewport. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ParSLViewport | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ParSLViewport. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ParSLViewport | |
| public static ParSLViewport | |
| public static ParSLViewport. | |
| public static ParSLViewport. | |
| protected ParSLViewport | 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 ParSLViewport | |
| public static ParSLViewport | |
| public static ParSLViewport. | create(int
the buffer capacity capacity)Returns a new |
| public static ParSLViewport. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ParSLViewport | |
| public static ParSLViewport. | |
| public float | |
| public ParSLViewport | |
| public static ParSLViewport | |
| public static ParSLViewport. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ParSLViewport | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ParSLViewport. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ParSLViewport | |
| public static ParSLViewport | |
| public static ParSLViewport. | |
| public static ParSLViewport. | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public float | |
| public ParSLViewport | |
| public ParSLViewport | set(float left, float top, float right, float bottom)
Initializes this struct with the specified values. |
| public ParSLViewport | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public float | |
| public ParSLViewport |
| 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. | |
| ParSLViewport | back to summary |
|---|---|
| protected ParSLViewport(long address, ByteBuffer container) | |
| ParSLViewport | back to summary |
|---|---|
| public ParSLViewport(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bottom | back to summary |
|---|---|
public float bottom()
| |
| bottom | back to summary |
|---|---|
| public ParSLViewport bottom(float value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static ParSLViewport calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ParSLViewport. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ParSLViewport calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ParSLViewport. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static ParSLViewport callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ParSLViewport callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ParSLViewport. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ParSLViewport. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected ParSLViewport create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ParSLViewport create() Returns a new | |
| create | back to summary |
|---|---|
| public static ParSLViewport create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ParSLViewport. Returns a new
| |
| create | back to summary |
|---|---|
| public static ParSLViewport. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ParSLViewport createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ParSLViewport. Like
| |
| left | back to summary |
|---|---|
public float left()
| |
| left | back to summary |
|---|---|
| public ParSLViewport left(float value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static ParSLViewport malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ParSLViewport. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ParSLViewport malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ParSLViewport. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static ParSLViewport mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ParSLViewport mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ParSLViewport. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ParSLViewport. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbottom | back to summary |
|---|---|
| public static float nbottom(long struct) Unsafe version of | |
| nbottom | back to summary |
|---|---|
| public static void nbottom(long struct, float value) Unsafe version of | |
| nleft | back to summary |
|---|---|
| public static float nleft(long struct) Unsafe version of | |
| nleft | back to summary |
|---|---|
| public static void nleft(long struct, float value) Unsafe version of | |
| nright | back to summary |
|---|---|
| public static float nright(long struct) Unsafe version of | |
| nright | back to summary |
|---|---|
| public static void nright(long struct, float value) Unsafe version of | |
| ntop | back to summary |
|---|---|
| public static float ntop(long struct) Unsafe version of | |
| ntop | back to summary |
|---|---|
| public static void ntop(long struct, float value) Unsafe version of | |
| right | back to summary |
|---|---|
public float right()
| |
| right | back to summary |
|---|---|
| public ParSLViewport right(float value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public ParSLViewport set(float left, float top, float right, float bottom) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public ParSLViewport set(ParSLViewport 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 float top()
| |
| top | back to summary |
|---|---|
| public ParSLViewport top(float value) Sets the specified value to the | |
ParSLViewport structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ParSLViewport |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public ParSLViewport. | |
| protected ParSLViewport | |
| public float | |
| public ParSLViewport. | |
| public float | |
| public ParSLViewport. | |
| protected ParSLViewport. | |
| public float | |
| public ParSLViewport. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ParSLViewport 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 float bottom()
| |
| bottom | back to summary |
|---|---|
| public ParSLViewport. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected ParSLViewport getElementFactory() Implements abstract org.
| |
| left | back to summary |
|---|---|
public float left()
| |
| left | back to summary |
|---|---|
| public ParSLViewport. Sets the specified value to the | |
| right | back to summary |
|---|---|
public float right()
| |
| right | back to summary |
|---|---|
| public ParSLViewport. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected ParSLViewport. Implements abstract org.
| |
| top | back to summary |
|---|---|
public float top()
| |
| top | back to summary |
|---|---|
| public ParSLViewport. Sets the specified value to the | |