Top Description Fields Constructors Methods
com.sun.glass.ui.win

pack-priv final Class WinPixels

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

MS Windows platform implementation class for Pixels.

Field Summary

Modifier and TypeField and Description
private static final int
Inherited from com.sun.glass.ui.Pixels:
bytesbytesPerComponentheightintswidth

Constructor Summary

AccessConstructor and Description
protected
WinPixels(int width, int height, ByteBuffer data)

protected
WinPixels(int width, int height, ByteBuffer data, float scalex, float scaley)

protected
WinPixels(int width, int height, IntBuffer data)

protected
WinPixels(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 native void
private static native int
pack-priv static int
Inherited from com.sun.glass.ui.Pixels:
asByteBufferasByteBufferequalsgetBuffergetBytesPerComponentgetHeightgetHeightUnsafegetNativeFormatgetPixelsgetScaleXgetScaleXUnsafegetScaleYgetScaleYUnsafegetWidthgetWidthUnsafehashCode

Field Detail

nativeFormatback to summary
private static final int nativeFormat

Constructor Detail

WinPixelsback to summary
protected WinPixels(int width, int height, ByteBuffer data)
WinPixelsback to summary
protected WinPixels(int width, int height, ByteBuffer data, float scalex, float scaley)
WinPixelsback to summary
protected WinPixels(int width, int height, IntBuffer data)
WinPixelsback to summary
protected WinPixels(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 native void _fillDirectByteBuffer(ByteBuffer bb)

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

Annotations
@Override
_initIDsback to summary
private static native int _initIDs()
getNativeFormat_implback to summary
pack-priv static int getNativeFormat_impl()