Top Fields Constructors Methods
com.sun.glass.ui.monocle

pack-priv final Class MonoclePixels

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
MonoclePixels(int width, int height, ByteBuffer data)

pack-priv
MonoclePixels(int width, int height, ByteBuffer data, float scalex, float scaley)

pack-priv
MonoclePixels(int width, int height, IntBuffer data)

pack-priv
MonoclePixels(int width, int height, IntBuffer data, float scalex, float scaley)

Method Summary

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

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

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

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

private void
_copyPixels(Buffer dst, Buffer src, int size)

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

Constructor Detail

MonoclePixelsback to summary
pack-priv MonoclePixels(int width, int height, ByteBuffer data)
MonoclePixelsback to summary
pack-priv MonoclePixels(int width, int height, ByteBuffer data, float scalex, float scaley)
MonoclePixelsback to summary
pack-priv MonoclePixels(int width, int height, IntBuffer data)
MonoclePixelsback to summary
pack-priv MonoclePixels(int width, int height, IntBuffer data, float scalex, float scaley)

Method Detail

_attachByteback to summary
protected 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 void _attachInt(long nativeWindowPointer, int w, int h, IntBuffer ints, int[] array, int offset)

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

Annotations
@Override
_copyPixelsback to summary
private void _copyPixels(Buffer dst, Buffer src, int size)
_fillDirectByteBufferback to summary
protected void _fillDirectByteBuffer(ByteBuffer bb)

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

Annotations
@Override