#include <UT_Raster.h>

Public Types | |
| enum | UT_RasterDepth { UT_RASTER_8, UT_RASTER_16 } |
| enum | UT_ColorModel { UT_MODEL_RGBA, UT_MODEL_ABGR } |
Public Member Functions | |
| UT_Raster () | |
| virtual | ~UT_Raster () |
| short | Xres () const |
| short | Yres () const |
| void | clear (const UT_RGBA &pixel) |
| void | clear (const UT_BIG_RGBA &pixel) |
| void | clear (const UT_Color &color, fpreal alpha=1.0f) |
| void | clear (int x1, int y1, int x2, int y2, const UT_RGBA &color) |
| void | clear (int x1, int y1, int x2, int y2, const UT_BIG_RGBA &color) |
| UT_RasterDepth | getRasterDepth (void) const |
| void | setRasterDepth (UT_RasterDepth depth) |
| UT_ColorModel | getColorModel (void) const |
| void | setColorModel (UT_ColorModel model) |
| void | byteSwapRaster () |
| UT_RGBA * | getRaster () const |
| UT_BIG_RGBA * | getDeepRaster () const |
| void * | getVoidRaster () const |
| int | getBytesPerPixel (void) |
| void | setNewRaster (UT_RGBA *r) |
| void | setNewRaster (UT_BIG_RGBA *r) |
| void | setPhantom (short b, short t) |
| short | getPbot (void) |
| short | getPtop (void) |
Static Public Attributes | |
| static UT_RGBA | zeroPixel |
| static UT_RGBA | onePixel |
Protected Member Functions | |
| void | setBaseSize (short width, short height, void *newRaster=0) |
| void * | allocateMemory (int size) |
| void * | reAllocateMemory (void *mem, int size) |
| void | freeMemory (void *mem) |
| void | init () |
Protected Attributes | |
| UT_BIG_RGBA * | raster16 |
| UT_RGBA * | raster |
| UT_RGBA ** | scanlines |
| UT_RasterDepth | pixelDepth |
| UT_ColorModel | myModel |
| short | xres |
| short | yres |
| short | pBot |
| short | pTop |
Definition at line 29 of file UT_Raster.h.
| UT_Raster::UT_Raster | ( | ) |
| virtual UT_Raster::~UT_Raster | ( | ) | [virtual] |
| void* UT_Raster::allocateMemory | ( | int | size | ) | [protected] |
| void UT_Raster::byteSwapRaster | ( | ) |
| void UT_Raster::clear | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| const UT_BIG_RGBA & | color | |||
| ) |
| void UT_Raster::clear | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| const UT_RGBA & | color | |||
| ) |
| void UT_Raster::clear | ( | const UT_BIG_RGBA & | pixel | ) |
| void UT_Raster::clear | ( | const UT_RGBA & | pixel | ) |
| void UT_Raster::freeMemory | ( | void * | mem | ) | [protected] |
| int UT_Raster::getBytesPerPixel | ( | void | ) |
| UT_ColorModel UT_Raster::getColorModel | ( | void | ) | const [inline] |
Definition at line 53 of file UT_Raster.h.
| UT_BIG_RGBA* UT_Raster::getDeepRaster | ( | ) | const |
| short UT_Raster::getPbot | ( | void | ) | [inline] |
Definition at line 70 of file UT_Raster.h.
| short UT_Raster::getPtop | ( | void | ) | [inline] |
Definition at line 71 of file UT_Raster.h.
| UT_RGBA* UT_Raster::getRaster | ( | ) | const |
| UT_RasterDepth UT_Raster::getRasterDepth | ( | void | ) | const [inline] |
Definition at line 50 of file UT_Raster.h.
| void* UT_Raster::getVoidRaster | ( | ) | const |
| void UT_Raster::init | ( | ) | [protected] |
| void* UT_Raster::reAllocateMemory | ( | void * | mem, | |
| int | size | |||
| ) | [protected] |
| void UT_Raster::setBaseSize | ( | short | width, | |
| short | height, | |||
| void * | newRaster = 0 | |||
| ) | [protected] |
| void UT_Raster::setColorModel | ( | UT_ColorModel | model | ) |
| void UT_Raster::setNewRaster | ( | UT_BIG_RGBA * | r | ) |
| void UT_Raster::setNewRaster | ( | UT_RGBA * | r | ) |
| void UT_Raster::setPhantom | ( | short | b, | |
| short | t | |||
| ) | [inline] |
Definition at line 69 of file UT_Raster.h.
| void UT_Raster::setRasterDepth | ( | UT_RasterDepth | depth | ) |
| short UT_Raster::Xres | ( | ) | const [inline] |
| short UT_Raster::Yres | ( | ) | const [inline] |
UT_ColorModel UT_Raster::myModel [protected] |
Definition at line 81 of file UT_Raster.h.
UT_RGBA UT_Raster::onePixel [static] |
Definition at line 74 of file UT_Raster.h.
short UT_Raster::pBot [protected] |
Definition at line 92 of file UT_Raster.h.
UT_RasterDepth UT_Raster::pixelDepth [protected] |
Definition at line 80 of file UT_Raster.h.
short UT_Raster::pTop [protected] |
Definition at line 93 of file UT_Raster.h.
UT_RGBA* UT_Raster::raster [protected] |
Definition at line 78 of file UT_Raster.h.
UT_BIG_RGBA* UT_Raster::raster16 [protected] |
Definition at line 77 of file UT_Raster.h.
UT_RGBA** UT_Raster::scanlines [protected] |
Definition at line 79 of file UT_Raster.h.
short UT_Raster::xres [protected] |
Definition at line 90 of file UT_Raster.h.
short UT_Raster::yres [protected] |
Definition at line 91 of file UT_Raster.h.
UT_RGBA UT_Raster::zeroPixel [static] |
Definition at line 73 of file UT_Raster.h.
1.5.9