rasdaman complete source
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
wxPixmap Class Reference

#include <wx_pixmap.h>

Inheritance diagram for wxPixmap:

Public Member Functions

 wxPixmap (void)
 
 wxPixmap (wxWindow *Win, int Width, int Height, int Depth, int Pad, char *Data, unsigned int Flags=WX_PIXFLAG_TRANSLATE, wxColour *Palette=NULL)
 
 ~wxPixmap (void)
 
int newPixmap (wxWindow *Win, int Width, int Height, int Depth, int Pad, char *Data, unsigned int Flags=WX_PIXFLAG_TRANSLATE, wxColour *Palette=NULL)
 
int plotPixmap (int PosX, int PosY)
 
void invalidatePixmap (void)
 
int getWidth (void)
 
int getHeight (void)
 
int getDepth (void)
 
int getPitch (void)
 
char * getData (void)
 
wxColour * getPalette (void)
 
int getModeDepth (void)
 
int getModePitch (void)
 
char * getModeData (void)
 
unsigned char * getTranslationTable (void)
 
void modeChange (unsigned int Flags)
 
void buildTranslationTable (void)
 
void refreshGlobalTables (void)
 
bool setBusyCursor (bool newMode)
 
void processParentPalette (bool forceUpdate=FALSE)
 
void processPixmapPalette (void)
 
wx_permute_cmapgetParentPalette (void)
 
int findBestColour (unsigned char red, unsigned char green, unsigned char blue)
 
int findFastColour (unsigned char red, unsigned char green, unsigned char blue)
 

Protected Member Functions

void errorMemory (void)
 
void errorGeneric (char *message)
 
void initVariables (void)
 
void freeResources (int Depth, unsigned int Flags)
 
void translateToMode (void)
 
void ditherToMode (void)
 
void getDisplayAttributes (void)
 
void initColoursForMode (bool forceUpdate=FALSE)
 
void setupTranslators (void)
 
void sortParentPalette (int from, int to)
 
void buildInverseTable (void)
 
void win_translate_24_to_24 (unsigned char *dest)
 

Protected Attributes

int width
 
int height
 
int depth
 
int pad
 
int pitch
 
int displayDepth
 
int displayPitch
 
int displayPad
 
char * data
 
char * modeData
 
union {
   unsigned char *   c
 
   COLORREF *   l
 
TransTab
 
int TransTabSize
 
wxColour * palette
 
wxWindow * parentWin
 
unsigned int pixFlags
 
char ColourAlloc [32]
 
int parentPaletteDepth
 
wx_permute_cmapparentPalette
 
wx_permute_cmappixmapPalette
 
unsigned char parentInverse [256]
 
bool validDisplay
 
bool busyCursorMode
 
wxOutputStream streamBuf
 
std::ostream * errorstr
 
int destBitorder
 
int destByteorder
 
int rgbOrder
 
wx_pixmap_translate pixtrans1
 
wx_pixmap_translate pixtrans2
 
wx_pixmap_translate pixtrans4
 
wx_pixmap_translate pixtrans8
 
wx_pixmap_translate pixtrans12
 
wx_pixmap_translate pixtrans15
 
wx_pixmap_translate pixtrans24
 
wx_pixmap_translate pixtrans32
 
wx_pixmap_dither pixdither1
 
wx_pixmap_dither pixdither2
 
wx_pixmap_dither pixdither4
 
wx_pixmap_dither pixdither8
 
wx_pixmap_dither pixdither12
 
wx_pixmap_dither pixdither15
 
wx_pixmap_dither pixdither24
 
wx_pixmap_dither pixdither32
 
pixmap_colour_match colour_matcher
 
Display * display
 
XVisualInfo visualInfo
 
XImage * xim
 
XGCValues xgcvals
 
XWindowAttributes xat
 
GC myGC
 
int screen
 
Window rootwin
 
Window windowHandle
 
BITMAP bmDesc
 
HBITMAP bitmap
 
HWND windowHandle
 
HWND desktop
 
HDC rootDC
 
HDC winDC
 
HDC srcDC
 
HGDIOBJ oldDCObject
 
HPALETTE currentPal
 

Constructor & Destructor Documentation

wxPixmap::wxPixmap ( void  )
wxPixmap::wxPixmap ( wxWindow *  Win,
int  Width,
int  Height,
int  Depth,
int  Pad,
char *  Data,
unsigned int  Flags = WX_PIXFLAG_TRANSLATE,
wxColour *  Palette = NULL 
)
wxPixmap::~wxPixmap ( void  )

Member Function Documentation

void wxPixmap::buildInverseTable ( void  )
protected
void wxPixmap::buildTranslationTable ( void  )
void wxPixmap::ditherToMode ( void  )
protected
void wxPixmap::errorGeneric ( char *  message)
protected
void wxPixmap::errorMemory ( void  )
protected
int wxPixmap::findBestColour ( unsigned char  red,
unsigned char  green,
unsigned char  blue 
)
int wxPixmap::findFastColour ( unsigned char  red,
unsigned char  green,
unsigned char  blue 
)
void wxPixmap::freeResources ( int  Depth,
unsigned int  Flags 
)
protected
char* wxPixmap::getData ( void  )
int wxPixmap::getDepth ( void  )
void wxPixmap::getDisplayAttributes ( void  )
protected
int wxPixmap::getHeight ( void  )
char* wxPixmap::getModeData ( void  )
int wxPixmap::getModeDepth ( void  )
int wxPixmap::getModePitch ( void  )
wxColour* wxPixmap::getPalette ( void  )
wx_permute_cmap* wxPixmap::getParentPalette ( void  )
int wxPixmap::getPitch ( void  )
unsigned char* wxPixmap::getTranslationTable ( void  )
int wxPixmap::getWidth ( void  )
void wxPixmap::initColoursForMode ( bool  forceUpdate = FALSE)
protected
void wxPixmap::initVariables ( void  )
protected
void wxPixmap::invalidatePixmap ( void  )
void wxPixmap::modeChange ( unsigned int  Flags)
int wxPixmap::newPixmap ( wxWindow *  Win,
int  Width,
int  Height,
int  Depth,
int  Pad,
char *  Data,
unsigned int  Flags = WX_PIXFLAG_TRANSLATE,
wxColour *  Palette = NULL 
)
int wxPixmap::plotPixmap ( int  PosX,
int  PosY 
)
void wxPixmap::processParentPalette ( bool  forceUpdate = FALSE)
void wxPixmap::processPixmapPalette ( void  )
void wxPixmap::refreshGlobalTables ( void  )
bool wxPixmap::setBusyCursor ( bool  newMode)
void wxPixmap::setupTranslators ( void  )
protected
void wxPixmap::sortParentPalette ( int  from,
int  to 
)
protected
void wxPixmap::translateToMode ( void  )
protected
void wxPixmap::win_translate_24_to_24 ( unsigned char *  dest)
protected

Member Data Documentation

HBITMAP wxPixmap::bitmap
protected
BITMAP wxPixmap::bmDesc
protected
bool wxPixmap::busyCursorMode
protected
unsigned char* wxPixmap::c
pixmap_colour_match wxPixmap::colour_matcher
protected
char wxPixmap::ColourAlloc[32]
protected
HPALETTE wxPixmap::currentPal
protected
char* wxPixmap::data
protected
int wxPixmap::depth
protected
HWND wxPixmap::desktop
protected
int wxPixmap::destBitorder
protected
int wxPixmap::destByteorder
protected
Display* wxPixmap::display
protected
int wxPixmap::displayDepth
protected
int wxPixmap::displayPad
protected
int wxPixmap::displayPitch
protected
std::ostream* wxPixmap::errorstr
protected
int wxPixmap::height
protected
COLORREF* wxPixmap::l
char* wxPixmap::modeData
protected
GC wxPixmap::myGC
protected
HGDIOBJ wxPixmap::oldDCObject
protected
int wxPixmap::pad
protected
wxColour* wxPixmap::palette
protected
unsigned char wxPixmap::parentInverse[256]
protected
wx_permute_cmap* wxPixmap::parentPalette
protected
int wxPixmap::parentPaletteDepth
protected
wxWindow* wxPixmap::parentWin
protected
int wxPixmap::pitch
protected
wx_pixmap_dither wxPixmap::pixdither1
protected
wx_pixmap_dither wxPixmap::pixdither12
protected
wx_pixmap_dither wxPixmap::pixdither15
protected
wx_pixmap_dither wxPixmap::pixdither2
protected
wx_pixmap_dither wxPixmap::pixdither24
protected
wx_pixmap_dither wxPixmap::pixdither32
protected
wx_pixmap_dither wxPixmap::pixdither4
protected
wx_pixmap_dither wxPixmap::pixdither8
protected
unsigned int wxPixmap::pixFlags
protected
wx_permute_cmap * wxPixmap::pixmapPalette
protected
wx_pixmap_translate wxPixmap::pixtrans1
protected
wx_pixmap_translate wxPixmap::pixtrans12
protected
wx_pixmap_translate wxPixmap::pixtrans15
protected
wx_pixmap_translate wxPixmap::pixtrans2
protected
wx_pixmap_translate wxPixmap::pixtrans24
protected
wx_pixmap_translate wxPixmap::pixtrans32
protected
wx_pixmap_translate wxPixmap::pixtrans4
protected
wx_pixmap_translate wxPixmap::pixtrans8
protected
int wxPixmap::rgbOrder
protected
HDC wxPixmap::rootDC
protected
Window wxPixmap::rootwin
protected
int wxPixmap::screen
protected
HDC wxPixmap::srcDC
protected
wxOutputStream wxPixmap::streamBuf
protected
union { ... } wxPixmap::TransTab
int wxPixmap::TransTabSize
protected
bool wxPixmap::validDisplay
protected
XVisualInfo wxPixmap::visualInfo
protected
int wxPixmap::width
protected
HDC wxPixmap::winDC
protected
Window wxPixmap::windowHandle
protected
HWND wxPixmap::windowHandle
protected
XWindowAttributes wxPixmap::xat
protected
XGCValues wxPixmap::xgcvals
protected
XImage* wxPixmap::xim
protected

The documentation for this class was generated from the following file: