#include <dsurface.h>
Inherits XSurface.
|
| virtual | ~DSurface (void) |
| |
| | DSurface (void) |
| |
| | DSurface (int width, int height, bool system_memory=false, DDPIXELFORMAT *pixform=NULL) |
| |
| | DSurface (LPDIRECTDRAWSURFACE surfaceptr) |
| |
| HDC | GetDC (void) |
| |
| int | ReleaseDC (HDC hdc) |
| |
| virtual bool | Blit_From (Rect const &dcliprect, Rect const &destrect, Surface const &source, Rect const &scliprect, Rect const &sourcerect, bool trans=false) |
| |
| virtual bool | Blit_From (Rect const &destrect, Surface const &source, Rect const &sourcerect, bool trans=false) |
| |
| virtual bool | Blit_From (Surface const &source, bool trans=false) |
| |
| virtual bool | Fill_Rect (Rect const &rect, int color) |
| |
| virtual bool | Fill_Rect (Rect const &cliprect, Rect const &fillrect, int color) |
| |
| virtual void * | Lock (Point2D point=Point2D(0, 0)) const |
| |
| virtual bool | Unlock (void) const |
| |
| virtual int | Bytes_Per_Pixel (void) const |
| |
| virtual int | Stride (void) const |
| |
| bool | In_Video_Ram (void) const |
| |
| virtual bool | Is_Direct_Draw (void) const |
| |
| | XSurface (int width=0, int height=0) |
| |
| virtual | ~XSurface (void) |
| |
| virtual bool | Fill (int color) |
| |
| virtual bool | Put_Pixel (Point2D const &point, int color) |
| |
| virtual int | Get_Pixel (Point2D const &point) const |
| |
| virtual bool | Draw_Line (Point2D const &startpoint, Point2D const &endpoint, int color) |
| |
| virtual bool | Draw_Line (Rect const &cliprect, Point2D const &startpoint, Point2D const &endpoint, int color) |
| |
| virtual bool | Draw_Rect (Rect const &rect, int color) |
| |
| virtual bool | Draw_Rect (Rect const &cliprect, Rect const &rect, int color) |
| |
| virtual bool | Is_Locked (void) const |
| |
| | Surface (int width, int height) |
| |
| virtual | ~Surface (void) |
| |
| virtual Rect | Get_Rect (void) const |
| |
| virtual int | Get_Width (void) const |
| |
| virtual int | Get_Height (void) const |
| |
|
| static DSurface * | Create_Primary (DSurface **backsurface1=NULL) |
| |
| static int | Build_Hicolor_Pixel (int red, int green, int blue) |
| |
| static void | Build_Remap_Table (unsigned short *table, PaletteClass const &palette) |
| |
| static unsigned short | Get_Halfbright_Mask (void) |
| |
| static unsigned short | Get_Quarterbright_Mask (void) |
| |
| static unsigned short | Get_Eighthbright_Mask (void) |
| |
| static bool | Prep_For_Blit (Surface &dest, Rect &drect, Surface const &source, Rect &srect, bool &overlapped, void *&dbuffer, void *&sbuffer) |
| |
| static bool | Prep_For_Blit (Surface &dest, Rect const &dcliprect, Rect &drect, Surface const &source, Rect const &scliprect, Rect &srect, bool &overlapped, void *&dbuffer, void *&sbuffer) |
| |
| static bool | Blit_Trans (Surface &dest, Rect const &destrect, Surface const &source, Rect const &sourcerect) |
| |
| static bool | Blit_Plain (Surface &dest, Rect const &destrect, Surface const &source, Rect const &sourcerect) |
| |
Definition at line 49 of file dsurface.h.
◆ ~DSurface()
| DSurface::~DSurface |
( |
void | | ) |
|
|
virtual |
◆ DSurface() [1/3]
| DSurface::DSurface |
( |
void | | ) |
|
◆ DSurface() [2/3]
| DSurface::DSurface |
( |
int | width, |
|
|
int | height, |
|
|
bool | system_memory = false, |
|
|
DDPIXELFORMAT * | pixform = NULL ) |
◆ DSurface() [3/3]
| DSurface::DSurface |
( |
LPDIRECTDRAWSURFACE | surfaceptr | ) |
|
◆ Blit_From() [1/3]
◆ Blit_From() [2/3]
◆ Blit_From() [3/3]
◆ Build_Hicolor_Pixel()
| int DSurface::Build_Hicolor_Pixel |
( |
int | red, |
|
|
int | green, |
|
|
int | blue ) |
|
static |
◆ Build_Remap_Table()
| void DSurface::Build_Remap_Table |
( |
unsigned short * | table, |
|
|
PaletteClass const & | palette ) |
|
static |
◆ Bytes_Per_Pixel()
| int DSurface::Bytes_Per_Pixel |
( |
void | | ) |
const |
|
virtual |
◆ Create_Primary()
◆ Fill_Rect() [1/2]
| bool DSurface::Fill_Rect |
( |
Rect const & | cliprect, |
|
|
Rect const & | fillrect, |
|
|
int | color ) |
|
virtual |
◆ Fill_Rect() [2/2]
| bool DSurface::Fill_Rect |
( |
Rect const & | rect, |
|
|
int | color ) |
|
virtual |
◆ Get_Eighthbright_Mask()
| static unsigned short DSurface::Get_Eighthbright_Mask |
( |
void | | ) |
|
|
inlinestatic |
◆ Get_Halfbright_Mask()
| static unsigned short DSurface::Get_Halfbright_Mask |
( |
void | | ) |
|
|
inlinestatic |
◆ Get_Quarterbright_Mask()
| static unsigned short DSurface::Get_Quarterbright_Mask |
( |
void | | ) |
|
|
inlinestatic |
◆ GetDC()
| HDC DSurface::GetDC |
( |
void | | ) |
|
◆ In_Video_Ram()
| bool DSurface::In_Video_Ram |
( |
void | | ) |
const |
|
inline |
◆ Is_Direct_Draw()
| virtual bool DSurface::Is_Direct_Draw |
( |
void | | ) |
const |
|
inlinevirtual |
◆ Lock()
◆ ReleaseDC()
| int DSurface::ReleaseDC |
( |
HDC | hdc | ) |
|
◆ Restore_Check()
| void DSurface::Restore_Check |
( |
void | | ) |
const |
|
protected |
◆ Stride()
| int DSurface::Stride |
( |
void | | ) |
const |
|
virtual |
◆ Unlock()
| bool DSurface::Unlock |
( |
void | | ) |
const |
|
virtual |
◆ BlueLeft
| int DSurface::BlueLeft = 0 |
|
staticprotected |
◆ BlueRight
| int DSurface::BlueRight = 0 |
|
staticprotected |
◆ BytesPerPixel
| int DSurface::BytesPerPixel |
|
mutableprotected |
◆ Clipper
| LPDIRECTDRAWCLIPPER DSurface::Clipper = NULL |
|
staticprotected |
◆ DCUnlockCount
| int DSurface::DCUnlockCount |
|
protected |
◆ Description
| DDSURFACEDESC* DSurface::Description |
|
protected |
◆ EighthbrightMask
| unsigned short DSurface::EighthbrightMask = 0 |
|
staticprotected |
◆ GreenLeft
| int DSurface::GreenLeft = 0 |
|
staticprotected |
◆ GreenRight
| int DSurface::GreenRight = 0 |
|
staticprotected |
◆ HalfbrightMask
| unsigned short DSurface::HalfbrightMask = 0 |
|
staticprotected |
◆ IsPrimary
◆ IsVideoRam
| bool DSurface::IsVideoRam |
|
protected |
◆ LockPtr
◆ PixelFormat
| DDPIXELFORMAT DSurface::PixelFormat |
|
staticprotected |
◆ QuarterbrightMask
| unsigned short DSurface::QuarterbrightMask = 0 |
|
staticprotected |
◆ RedLeft
| int DSurface::RedLeft = 0 |
|
staticprotected |
◆ RedRight
| int DSurface::RedRight = 0 |
|
staticprotected |
◆ SurfacePtr
| LPDIRECTDRAWSURFACE DSurface::SurfacePtr |
|
protected |
◆ ThisBlueLeft
| int DSurface::ThisBlueLeft |
◆ ThisBlueRight
| int DSurface::ThisBlueRight |
◆ ThisGreenLeft
| int DSurface::ThisGreenLeft |
◆ ThisGreenRight
| int DSurface::ThisGreenRight |
◆ ThisRedLeft
| int DSurface::ThisRedLeft |
◆ ThisRedRight
| int DSurface::ThisRedRight |
The documentation for this class was generated from the following files: