Public Types | Public Attributes

gfxIFormats Interface Reference

gfxIFormats interface More...

import "gfxIFormats.idl";

List of all members.

Public Types

enum  { RGB = 0 }
 

RGB - duh...

More...
enum  { BGR = 1 }
 

BGR - same as RGB except byteswaped.

More...
enum  { RGB_A1 = 2 }
 

RGB_A1 - RGB image and 1-bit alpha mask.

More...
enum  { BGR_A1 = 3 }
 

BGR_A1 - same as RGB_A1 except byteswaped.

More...
enum  { RGB_A8 = 4 }
 

RGB_A8 - RGB image and 8-bit alpha image.

More...
enum  { BGR_A8 = 5 }
 

BGR_A8 - same as RGB_A8 except byteswaped.

More...
enum  { RGBA = 6 }
 

RGBA - packed RGBA image.

More...
enum  { BGRA = 7 }
 

BGRA - packed RGBA image.

More...
enum  { PAL = 8 }
 

PAL - Palette based image data, all opaque colors PRUint32 colormap[256]; PRUint8 pixels[width*height];.

More...
enum  { PAL_A1 = 9 }
 

PAL_A1 - Palette based image data, with transparency PRUint32 colormap[256]; PRUint8 pixels[width*height];.

More...

Public Attributes

const gfx_format RGB = 0
 RGB - duh...
const gfx_format BGR = 1
 BGR - same as RGB except byteswaped.
const gfx_format RGB_A1 = 2
 RGB_A1 - RGB image and 1-bit alpha mask.
const gfx_format BGR_A1 = 3
 BGR_A1 - same as RGB_A1 except byteswaped.
const gfx_format RGB_A8 = 4
 RGB_A8 - RGB image and 8-bit alpha image.
const gfx_format BGR_A8 = 5
 BGR_A8 - same as RGB_A8 except byteswaped.
const gfx_format RGBA = 6
 RGBA - packed RGBA image.
const gfx_format BGRA = 7
 BGRA - packed RGBA image.
const gfx_format PAL = 8
 PAL - Palette based image data, all opaque colors PRUint32 colormap[256]; PRUint8 pixels[width*height];.
const gfx_format PAL_A1 = 9
 PAL_A1 - Palette based image data, with transparency PRUint32 colormap[256]; PRUint8 pixels[width*height];.

Detailed Description

gfxIFormats interface

Author:
Tim Rowley <tor@cs.brown.edu>
Stuart Parmenter <pavlov@netscape.com>
Version:
0.0
See also:
gfx_format

Member Enumeration Documentation

anonymous enum

RGB - duh...

Enumerator:
RGB 
anonymous enum

BGR - same as RGB except byteswaped.

Enumerator:
BGR 
anonymous enum

RGB_A1 - RGB image and 1-bit alpha mask.

Enumerator:
RGB_A1 
anonymous enum

BGR_A1 - same as RGB_A1 except byteswaped.

Enumerator:
BGR_A1 
anonymous enum

RGB_A8 - RGB image and 8-bit alpha image.

Enumerator:
RGB_A8 
anonymous enum

BGR_A8 - same as RGB_A8 except byteswaped.

Enumerator:
BGR_A8 
anonymous enum

RGBA - packed RGBA image.

Enumerator:
RGBA 
anonymous enum

BGRA - packed RGBA image.

Enumerator:
BGRA 
anonymous enum

PAL - Palette based image data, all opaque colors PRUint32 colormap[256]; PRUint8 pixels[width*height];.

Enumerator:
PAL 
anonymous enum

PAL_A1 - Palette based image data, with transparency PRUint32 colormap[256]; PRUint8 pixels[width*height];.

Enumerator:
PAL_A1 

Member Data Documentation

const gfx_format gfxIFormats::BGR = 1

BGR - same as RGB except byteswaped.

const gfx_format gfxIFormats::BGR_A1 = 3

BGR_A1 - same as RGB_A1 except byteswaped.

const gfx_format gfxIFormats::BGR_A8 = 5

BGR_A8 - same as RGB_A8 except byteswaped.

const gfx_format gfxIFormats::BGRA = 7

BGRA - packed RGBA image.

const gfx_format gfxIFormats::PAL = 8

PAL - Palette based image data, all opaque colors PRUint32 colormap[256]; PRUint8 pixels[width*height];.

const gfx_format gfxIFormats::PAL_A1 = 9

PAL_A1 - Palette based image data, with transparency PRUint32 colormap[256]; PRUint8 pixels[width*height];.

const gfx_format gfxIFormats::RGB = 0

RGB - duh...

const gfx_format gfxIFormats::RGB_A1 = 2

RGB_A1 - RGB image and 1-bit alpha mask.

const gfx_format gfxIFormats::RGB_A8 = 4

RGB_A8 - RGB image and 8-bit alpha image.

const gfx_format gfxIFormats::RGBA = 6

RGBA - packed RGBA image.


The documentation for this interface was generated from the following files: