LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::LWRaster Class Reference

#include <panel.h>

+ Inheritance diagram for lwpp::LWRaster:
+ Collaboration diagram for lwpp::LWRaster:

List of all members.

Public Member Functions

 LWRaster (int w, int h, int flags=0)
 LWRaster ()
 ~LWRaster ()
virtual bool available () const
 Check if the global is available.
void blitPanel (int srcx, int srcy, LWPanelID pan, int destx, int desty, int w, int h)
void blitPanel (int srcx, int srcy, LWPanel &pan, int destx, int desty, int w, int h)
void blitRaster (LWRasterID raster, int srcx, int srcy, int destx, int desty, int w, int h)
void blitRaster (LWRaster &raster, int srcx, int srcy, int destx, int desty, int w, int h)
void create (int w, int h, int flags=0)
void drawBorder (int indent, int x, int y, int w, int h=0)
void drawBox (int c, int x, int y, int w, int h)
void drawBox (int r, int g, int b, int x, int y, int w, int h)
void drawBoxOutline (int c, int x, int y, int w, int h)
void drawLine (int c, int x1, int y1, int x2, int y2)
void drawPixel (int c, int x, int y)
void drawPixel (int r, int g, int b, int x, int y)
void drawRoundBox (int c, int x, int y, int w, int h, int bevel=2)
void drawText (std::string s, int c, int x, int y)
void drawTo (int c, int x, int y)
void eraseBox (int x, int y, int w, int h)
void fillRoundBox (int c, int x, int y, int w, int h, int bevel=2)
virtual LWRasterFuncs * getGlobal ()
 Get the pointer to the global.
void moveTo (int x, int y)
LWRasterFuncs * operator-> ()
 Get the pointer to the global.

Protected Member Functions

bool _acquireGlobal ()

Static Protected Attributes

static LWRasterFuncs * globPtr
 Pointer to the global functions.

Constructor & Destructor Documentation

lwpp::LWRaster::LWRaster ( int  w,
int  h,
int  flags = 0 
)
inline
lwpp::LWRaster::LWRaster ( )
inline
lwpp::LWRaster::~LWRaster ( )
inline

Member Function Documentation

bool lwpp::GlobalBase< LWRasterFuncs >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWRasterFuncs >::available ( ) const
inlinevirtualinherited

Check if the global is available.

void lwpp::LWRaster::blitPanel ( int  srcx,
int  srcy,
LWPanelID  pan,
int  destx,
int  desty,
int  w,
int  h 
)
inline
void lwpp::LWRaster::blitPanel ( int  srcx,
int  srcy,
LWPanel pan,
int  destx,
int  desty,
int  w,
int  h 
)
inline
void lwpp::LWRaster::blitRaster ( LWRasterID  raster,
int  srcx,
int  srcy,
int  destx,
int  desty,
int  w,
int  h 
)
inline
void lwpp::LWRaster::blitRaster ( LWRaster raster,
int  srcx,
int  srcy,
int  destx,
int  desty,
int  w,
int  h 
)
inline
void lwpp::LWRaster::create ( int  w,
int  h,
int  flags = 0 
)
inline
void lwpp::LWRaster::drawBorder ( int  indent,
int  x,
int  y,
int  w,
int  h = 0 
)
inline
void lwpp::LWRaster::drawBox ( int  c,
int  x,
int  y,
int  w,
int  h 
)
inline
void lwpp::LWRaster::drawBox ( int  r,
int  g,
int  b,
int  x,
int  y,
int  w,
int  h 
)
inline
void lwpp::LWRaster::drawBoxOutline ( int  c,
int  x,
int  y,
int  w,
int  h 
)
void lwpp::LWRaster::drawLine ( int  c,
int  x1,
int  y1,
int  x2,
int  y2 
)
inline
void lwpp::LWRaster::drawPixel ( int  c,
int  x,
int  y 
)
inline
void lwpp::LWRaster::drawPixel ( int  r,
int  g,
int  b,
int  x,
int  y 
)
inline
void lwpp::LWRaster::drawRoundBox ( int  c,
int  x,
int  y,
int  w,
int  h,
int  bevel = 2 
)
void lwpp::LWRaster::drawText ( std::string  s,
int  c,
int  x,
int  y 
)
inline
void lwpp::LWRaster::drawTo ( int  c,
int  x,
int  y 
)
inline
void lwpp::LWRaster::eraseBox ( int  x,
int  y,
int  w,
int  h 
)
inline
void lwpp::LWRaster::fillRoundBox ( int  c,
int  x,
int  y,
int  w,
int  h,
int  bevel = 2 
)
virtual LWRasterFuncs * lwpp::GlobalBase< LWRasterFuncs >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

void lwpp::LWRaster::moveTo ( int  x,
int  y 
)
inline
LWRasterFuncs * lwpp::GlobalBase< LWRasterFuncs >::operator-> ( )
inlineinherited

Get the pointer to the global.


Member Data Documentation

LWRasterFuncs * lwpp::GlobalBase< LWRasterFuncs >::globPtr
staticprotectedinherited

Pointer to the global functions.


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