#include <xsurface.h>
Inherits Surface.
Inherited by BSurface, and DSurface.
|
| | XSurface (int width=0, int height=0) |
| |
| virtual | ~XSurface (void) |
| |
| 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 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 void * | Lock (Point2D=Point2D(0, 0)) const |
| |
| virtual bool | Unlock (void) const |
| |
| virtual bool | Is_Locked (void) const |
| |
| virtual int | Bytes_Per_Pixel (void) const =0 |
| |
| virtual int | Stride (void) const =0 |
| |
| virtual bool | Is_Direct_Draw (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 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 51 of file xsurface.h.
◆ XSurface()
| XSurface::XSurface |
( |
int | width = 0, |
|
|
int | height = 0 ) |
|
inline |
◆ ~XSurface()
| virtual XSurface::~XSurface |
( |
void | | ) |
|
|
inlinevirtual |
◆ Blit_From() [1/3]
◆ Blit_From() [2/3]
◆ Blit_From() [3/3]
◆ Blit_Plain()
◆ Blit_Trans()
◆ Bytes_Per_Pixel()
| virtual int XSurface::Bytes_Per_Pixel |
( |
void | | ) |
const |
|
pure virtual |
◆ Draw_Line() [1/2]
| bool XSurface::Draw_Line |
( |
Point2D const & | startpoint, |
|
|
Point2D const & | endpoint, |
|
|
int | color ) |
|
virtual |
◆ Draw_Line() [2/2]
| bool XSurface::Draw_Line |
( |
Rect const & | cliprect, |
|
|
Point2D const & | startpoint, |
|
|
Point2D const & | endpoint, |
|
|
int | color ) |
|
virtual |
◆ Draw_Rect() [1/2]
| bool XSurface::Draw_Rect |
( |
Rect const & | cliprect, |
|
|
Rect const & | rect, |
|
|
int | color ) |
|
virtual |
◆ Draw_Rect() [2/2]
| bool XSurface::Draw_Rect |
( |
Rect const & | rect, |
|
|
int | color ) |
|
virtual |
◆ Fill()
| bool XSurface::Fill |
( |
int | color | ) |
|
|
virtual |
◆ Fill_Rect() [1/2]
| bool XSurface::Fill_Rect |
( |
Rect const & | cliprect, |
|
|
Rect const & | fillrect, |
|
|
int | color ) |
|
virtual |
◆ Fill_Rect() [2/2]
| bool XSurface::Fill_Rect |
( |
Rect const & | rect, |
|
|
int | color ) |
|
virtual |
◆ Get_Pixel()
| int XSurface::Get_Pixel |
( |
Point2D const & | point | ) |
const |
|
virtual |
◆ Is_Direct_Draw()
| virtual bool XSurface::Is_Direct_Draw |
( |
void | | ) |
const |
|
inlinevirtual |
◆ Is_Locked()
| virtual bool XSurface::Is_Locked |
( |
void | | ) |
const |
|
inlinevirtual |
◆ Lock()
◆ Prep_For_Blit() [1/2]
| bool XSurface::Prep_For_Blit |
( |
Surface & | dest, |
|
|
Rect & | drect, |
|
|
Surface const & | source, |
|
|
Rect & | srect, |
|
|
bool & | overlapped, |
|
|
void *& | dbuffer, |
|
|
void *& | sbuffer ) |
|
static |
◆ Prep_For_Blit() [2/2]
| bool XSurface::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 |
◆ Put_Pixel()
| bool XSurface::Put_Pixel |
( |
Point2D const & | point, |
|
|
int | color ) |
|
virtual |
◆ Stride()
| virtual int XSurface::Stride |
( |
void | | ) |
const |
|
pure virtual |
◆ Unlock()
| virtual bool XSurface::Unlock |
( |
void | | ) |
const |
|
inlinevirtual |
◆ LockCount
The documentation for this class was generated from the following files: