Logo Search packages:      
Sourcecode: passage version File versions  Download package

GraphicBuffer Class Reference

#include <GraphicBuffer.h>

List of all members.

Detailed Description

Graphic buffer, with functions for manipulation

Created 11-8-99 Mods: Jason Rohrer 12-12-99 Added support for drawing IconMap objects Jason Rohrer 11-18-2000 Added a getBuffer function.

Definition at line 25 of file GraphicBuffer.h.

Public Member Functions

void drawIconMap (IconMap *icon, int xPos, int yPos)
void drawIconMapAlpha (IconMap *icon, int xPos, int yPos)
void drawImage (unsigned long *image, int *imageYOffset, int xPos, int yPos, int wide, int high)
void drawImageAlpha (unsigned long *image, int *imageYOffset, int xPos, int yPos, int wide, int high)
void eraseIconMap (IconMap *icon, int xPos, int yPos, Color &bgColor)
void eraseImage (int xPos, int yPos, int wide, int high, Color &bgColor)
void fill (Color &fillC)
unsigned long * getBuffer ()
int getHeight ()
int getWidth ()
 GraphicBuffer (unsigned long *buff, int buffW, int buffH)
void screenShot (FILE *f)
void setBuffer (unsigned long *buff)

Private Attributes

unsigned long * buffer
int bufferHigh
int bufferWide
int * buffYOffset
float invChannelMax
Color utilColor

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

Generated by  Doxygen 1.6.0   Back to index