final class SWTPixels extends Pixels
Pixels.Format
Modifier | Constructor and Description |
---|---|
|
SWTPixels(int width,
int height,
java.nio.ByteBuffer data) |
|
SWTPixels(int width,
int height,
java.nio.IntBuffer data) |
protected |
SWTPixels(int width,
int height,
java.nio.IntBuffer data,
float scale) |
Modifier and Type | Method and Description |
---|---|
protected void |
_attachByte(long ptr,
int w,
int h,
java.nio.ByteBuffer bytes,
byte[] array,
int offset) |
protected void |
_attachInt(long ptr,
int w,
int h,
java.nio.IntBuffer ints,
int[] array,
int offset) |
protected void |
_fillDirectByteBuffer(java.nio.ByteBuffer bb) |
asByteBuffer, asByteBuffer, equals, getBytesPerComponent, getHeight, getHeightUnsafe, getNativeFormat, getPixels, getScale, getScaleUnsafe, getWidth, getWidthUnsafe, hashCode
public SWTPixels(int width, int height, java.nio.ByteBuffer data)
public SWTPixels(int width, int height, java.nio.IntBuffer data)
protected SWTPixels(int width, int height, java.nio.IntBuffer data, float scale)
protected void _fillDirectByteBuffer(java.nio.ByteBuffer bb)
_fillDirectByteBuffer
in class Pixels
protected void _attachInt(long ptr, int w, int h, java.nio.IntBuffer ints, int[] array, int offset)
_attachInt
in class Pixels
protected void _attachByte(long ptr, int w, int h, java.nio.ByteBuffer bytes, byte[] array, int offset)
_attachByte
in class Pixels