APIdia Launch Partner
Top Fields Constructors Methods
com.sun.glass.ui.gtk

pack-priv final Class GtkPixels

extends Pixels
Class Inheritance
Imports
com.sun.glass.ui.Pixels, java.nio.ByteBuffer, .IntBuffer

Field Summary

Inherited from com.sun.glass.ui.Pixels:
bytesbytesPerComponentheightintswidth

Constructor Summary

AccessConstructor and Description
public
GtkPixels(int width, int height, ByteBuffer data)

public
GtkPixels(int width, int height, ByteBuffer data, float scalex, float scaley)

public
GtkPixels(int width, int height, IntBuffer data)

public
GtkPixels(int width, int height, IntBuffer data, float scalex, float scaley)

Method Summary

Modifier and TypeMethod and Description
protected native void
_attachByte(long ptr, int w, int h, ByteBuffer bytes, byte[] array, int offset)

Implements abstract com.sun.glass.ui.Pixels._attachByte.

protected native void
_attachInt(long ptr, int w, int h, IntBuffer ints, int[] array, int offset)

Implements abstract com.sun.glass.ui.Pixels._attachInt.

protected void
Inherited from com.sun.glass.ui.Pixels:
asByteBufferasByteBufferequalsgetBuffergetBytesPerComponentgetHeightgetHeightUnsafegetNativeFormatgetPixelsgetScaleXgetScaleXUnsafegetScaleYgetScaleYUnsafegetWidthgetWidthUnsafehashCode

Constructor Detail

GtkPixelsback to summary
public GtkPixels(int width, int height, ByteBuffer data)
GtkPixelsback to summary
public GtkPixels(int width, int height, ByteBuffer data, float scalex, float scaley)
GtkPixelsback to summary
public GtkPixels(int width, int height, IntBuffer data)
GtkPixelsback to summary
public GtkPixels(int width, int height, IntBuffer data, float scalex, float scaley)

Method Detail

_attachByteback to summary
protected native void _attachByte(long ptr, int w, int h, ByteBuffer bytes, byte[] array, int offset)

Implements abstract com.sun.glass.ui.Pixels._attachByte.

Annotations
@Override
_attachIntback to summary
protected native void _attachInt(long ptr, int w, int h, IntBuffer ints, int[] array, int offset)

Implements abstract com.sun.glass.ui.Pixels._attachInt.

Annotations
@Override
_fillDirectByteBufferback to summary
protected void _fillDirectByteBuffer(ByteBuffer bb)

Implements abstract com.sun.glass.ui.Pixels._fillDirectByteBuffer.

Annotations
@Override