#include <surfaceclass.h>
Inherits W3DMPO, and RefCountClass.
|
| | SurfaceClass (unsigned width, unsigned height, WW3DFormat format) |
| |
| | SurfaceClass (const char *filename) |
| |
| | SurfaceClass (IDirect3DSurface8 *d3d_surface) |
| |
| | ~SurfaceClass (void) |
| |
| void | Get_Description (SurfaceDescription &surface_desc) |
| |
| void * | Lock (int *pitch) |
| |
| void | Unlock (void) |
| |
| void | Clear () |
| |
| void | Copy (unsigned int dstx, unsigned int dsty, unsigned int srcx, unsigned int srcy, unsigned int width, unsigned int height, const SurfaceClass *other) |
| |
| void | Copy (const unsigned char *other) |
| |
| void | Copy (Vector2i &min, Vector2i &max, const unsigned char *other) |
| |
| void | Stretch_Copy (unsigned int dstx, unsigned int dsty, unsigned int dstwidth, unsigned int dstheight, unsigned int srcx, unsigned int srcy, unsigned int srcwidth, unsigned int srcheight, const SurfaceClass *source) |
| |
| void | FindBB (Vector2i *min, Vector2i *max) |
| |
| bool | Is_Transparent_Column (unsigned int column) |
| |
| unsigned char * | CreateCopy (int *width, int *height, int *size, bool flip=false) |
| |
| IDirect3DSurface8 * | Peek_D3D_Surface (void) |
| |
| void | Attach (IDirect3DSurface8 *surface) |
| |
| void | Detach (void) |
| |
| void | DrawHLine (const unsigned int y, const unsigned int x1, const unsigned int x2, unsigned int color) |
| |
| void | DrawPixel (const unsigned int x, const unsigned int y, unsigned int color) |
| |
| void | Get_Pixel (Vector3 &rgb, int x, int y) |
| |
| void | Hue_Shift (const Vector3 &hsv_shift) |
| |
| bool | Is_Monochrome (void) |
| |
| WW3DFormat | Get_Surface_Format () const |
| |
| virtual | ~W3DMPO () |
| |
| | RefCountClass (void) |
| |
| | RefCountClass (const RefCountClass &) |
| |
| void | Add_Ref (void) const |
| |
| WWINLINE void | Release_Ref (void) const |
| |
| int | Num_Refs (void) const |
| |
| virtual void | Delete_This (void) |
| |
Definition at line 61 of file surfaceclass.h.
◆ SurfaceClass() [1/3]
| SurfaceClass::SurfaceClass |
( |
unsigned | width, |
|
|
unsigned | height, |
|
|
WW3DFormat | format ) |
◆ SurfaceClass() [2/3]
| SurfaceClass::SurfaceClass |
( |
const char * | filename | ) |
|
◆ SurfaceClass() [3/3]
| SurfaceClass::SurfaceClass |
( |
IDirect3DSurface8 * | d3d_surface | ) |
|
◆ ~SurfaceClass()
| SurfaceClass::~SurfaceClass |
( |
void | | ) |
|
◆ Attach()
| void SurfaceClass::Attach |
( |
IDirect3DSurface8 * | surface | ) |
|
◆ Clear()
| void SurfaceClass::Clear |
( |
| ) |
|
◆ Copy() [1/3]
| void SurfaceClass::Copy |
( |
const unsigned char * | other | ) |
|
◆ Copy() [2/3]
| void SurfaceClass::Copy |
( |
unsigned int | dstx, |
|
|
unsigned int | dsty, |
|
|
unsigned int | srcx, |
|
|
unsigned int | srcy, |
|
|
unsigned int | width, |
|
|
unsigned int | height, |
|
|
const SurfaceClass * | other ) |
◆ Copy() [3/3]
| void SurfaceClass::Copy |
( |
Vector2i & | min, |
|
|
Vector2i & | max, |
|
|
const unsigned char * | other ) |
◆ CreateCopy()
| unsigned char * SurfaceClass::CreateCopy |
( |
int * | width, |
|
|
int * | height, |
|
|
int * | size, |
|
|
bool | flip = false ) |
◆ Detach()
| void SurfaceClass::Detach |
( |
void | | ) |
|
◆ DrawHLine()
| void SurfaceClass::DrawHLine |
( |
const unsigned int | y, |
|
|
const unsigned int | x1, |
|
|
const unsigned int | x2, |
|
|
unsigned int | color ) |
◆ DrawPixel()
| void SurfaceClass::DrawPixel |
( |
const unsigned int | x, |
|
|
const unsigned int | y, |
|
|
unsigned int | color ) |
◆ FindBB()
◆ Get_Description()
◆ Get_Pixel()
| void SurfaceClass::Get_Pixel |
( |
Vector3 & | rgb, |
|
|
int | x, |
|
|
int | y ) |
◆ Get_Surface_Format()
| WW3DFormat SurfaceClass::Get_Surface_Format |
( |
| ) |
const |
|
inline |
◆ Hue_Shift()
| void SurfaceClass::Hue_Shift |
( |
const Vector3 & | hsv_shift | ) |
|
◆ Is_Monochrome()
| bool SurfaceClass::Is_Monochrome |
( |
void | | ) |
|
◆ Is_Transparent_Column()
| bool SurfaceClass::Is_Transparent_Column |
( |
unsigned int | column | ) |
|
◆ Lock()
| void * SurfaceClass::Lock |
( |
int * | pitch | ) |
|
◆ Peek_D3D_Surface()
| IDirect3DSurface8 * SurfaceClass::Peek_D3D_Surface |
( |
void | | ) |
|
|
inline |
◆ Stretch_Copy()
| void SurfaceClass::Stretch_Copy |
( |
unsigned int | dstx, |
|
|
unsigned int | dsty, |
|
|
unsigned int | dstwidth, |
|
|
unsigned int | dstheight, |
|
|
unsigned int | srcx, |
|
|
unsigned int | srcy, |
|
|
unsigned int | srcwidth, |
|
|
unsigned int | srcheight, |
|
|
const SurfaceClass * | source ) |
◆ Unlock()
| void SurfaceClass::Unlock |
( |
void | | ) |
|
◆ TextureClass
The documentation for this class was generated from the following files: