final class GtkPixels extends Pixels
Pixels.Format| Constructor and Description |
|---|
GtkPixels(int width,
int height,
java.nio.ByteBuffer data) |
GtkPixels(int width,
int height,
java.nio.IntBuffer data) |
GtkPixels(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 |
_copyPixels(java.nio.Buffer dst,
java.nio.Buffer src,
int size) |
protected void |
_fillDirectByteBuffer(java.nio.ByteBuffer bb) |
asByteBuffer, asByteBuffer, equals, getBytesPerComponent, getHeight, getHeightUnsafe, getNativeFormat, getPixels, getScale, getScaleUnsafe, getWidth, getWidthUnsafe, hashCodepublic GtkPixels(int width,
int height,
java.nio.ByteBuffer data)
public GtkPixels(int width,
int height,
java.nio.IntBuffer data)
public GtkPixels(int width,
int height,
java.nio.IntBuffer data,
float scale)
protected void _fillDirectByteBuffer(java.nio.ByteBuffer bb)
_fillDirectByteBuffer in class Pixelsprotected void _copyPixels(java.nio.Buffer dst,
java.nio.Buffer src,
int size)
protected void _attachInt(long ptr,
int w,
int h,
java.nio.IntBuffer ints,
int[] array,
int offset)
_attachInt in class Pixelsprotected void _attachByte(long ptr,
int w,
int h,
java.nio.ByteBuffer bytes,
byte[] array,
int offset)
_attachByte in class Pixels