Package | Description |
---|---|
org.eclipse.pde.internal.swt.tools |
Modifier and Type | Field and Description |
---|---|
IconExe.PaletteData |
IconExe.ImageData.palette
The color table for the image.
|
Modifier and Type | Method and Description |
---|---|
(package private) static IconExe.PaletteData |
IconExe.ImageData.bwPalette()
Returns a palette with 2 colors: black & white.
|
(package private) IconExe.PaletteData |
IconExe.WinBMPFileFormat.loadPalette(byte[] infoHeader) |
(package private) static IconExe.PaletteData |
IconExe.loadPalette(IconExe.BITMAPINFOHEADER bih,
java.io.RandomAccessFile raf) |
(package private) static IconExe.PaletteData |
IconExe.paletteFromBytes(byte[] bytes,
int numColors) |
(package private) IconExe.PaletteData |
IconExe.WinBMPFileFormat.paletteFromBytes(byte[] bytes,
int numColors) |
Modifier and Type | Method and Description |
---|---|
static IconExe.ImageData |
IconExe.ImageData.internal_new(int width,
int height,
int depth,
IconExe.PaletteData palette,
int scanlinePad,
byte[] data,
int maskPad,
byte[] maskData,
byte[] alphaData,
int alpha,
int transparentPixel,
int type,
int x,
int y,
int disposalMethod,
int delayTime)
Invokes internal SWT functionality to create a new instance of
this class.
|
(package private) static byte[] |
IconExe.paletteToBytes(IconExe.PaletteData pal) |
(package private) static byte[] |
IconExe.WinBMPFileFormat.paletteToBytes(IconExe.PaletteData pal)
Answer a byte array containing the BMP representation of
the given device independent palette.
|
(package private) void |
IconExe.ImageData.setAllFields(int width,
int height,
int depth,
int scanlinePad,
int bytesPerLine,
byte[] data,
IconExe.PaletteData palette,
int transparentPixel,
byte[] maskData,
int maskPad,
byte[] alphaData,
int alpha,
int type,
int x,
int y,
int disposalMethod,
int delayTime)
Initializes all fields in the receiver.
|
Constructor and Description |
---|
ImageData(int width,
int height,
int depth,
IconExe.PaletteData palette)
Constructs a new, empty ImageData with the given width, height,
depth and palette.
|
ImageData(int width,
int height,
int depth,
IconExe.PaletteData palette,
int scanlinePad,
byte[] data)
Constructs a new, empty ImageData with the given width, height,
depth, palette, scanlinePad and data.
|
ImageData(int width,
int height,
int depth,
IconExe.PaletteData palette,
int scanlinePad,
byte[] data,
int maskPad,
byte[] maskData,
byte[] alphaData,
int alpha,
int transparentPixel,
int type,
int x,
int y,
int disposalMethod,
int delayTime)
Constructs an image data by giving values for all non-computable fields.
|