Known Direct Subclasses
PixelConverter.Argb,
PixelConverter.ArgbBm,
PixelConverter.ArgbPre,
PixelConverter.Bgrx,
PixelConverter.ByteGray,
PixelConverter.Rgba,
PixelConverter.RgbaPre,
PixelConverter.Rgbx,
PixelConverter.Ushort4444Argb,
PixelConverter.Ushort555Rgb,
PixelConverter.Ushort555Rgbx,
PixelConverter.Ushort565Rgb,
PixelConverter.Xbgr,
PixelConverter.Xrgb
|
Known Indirect Subclasses
|
Class Overview
This class provides utilities for converting between the standard
rgb colorspace specification and the equivalent value for a pixel
of a given surface type. The class was designed for use by the
SurfaceType objects, since the conversion between pixel values
and rgb values is inherently tied to the type of surface we are
dealing with. Some conversions cannot be done automatically,
however (for example, the AnyInt or AnyDCM surface types), so
we require the caller to pass in a ColorModel object so that
we can calculate the pixel values in these generic cases as well.