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

Public Member Functions | Private Attributes

graph_2d Class Reference

Collaboration diagram for graph_2d:
Collaboration graph

List of all members.

Public Member Functions

void check (void)
void clear (spr_handle dst=0)
tcolor color_map (Uint8 r, Uint8 g, Uint8 b, spr_handle dst=0)
SDL_Surface * create_screen (int flag, int width, int height, int bpp, int fullscreen)
void draw (spr_handle spr, tpos tx, tpos ty, spr_handle dst=0)
void draw (spr_handle spr, tpos sx, tpos sy, tpos dx, tpos dy, spr_handle dst, tpos tx, tpos ty)
void fill (tcolor color, spr_handle dst=0)
void fill (spr_handle dst=0)
void fill (tpos x, tpos y, tpos dx, tpos dy, tcolor color, spr_handle dst=0)
void fill (RECT *p_rect, tcolor color, spr_handle dst=0)
int flip (void)
 graph_2d (tpos dx, tpos dy, int depth, bool fullscreen)
const char * graphics_dir_get (void)
void graphics_dir_set (char *p_dir)
void redraw_add (void)
void redraw_add (trec x, trec y, trec dx, trec dy)
void redraw_add (spr_handle spr, trec x, trec y)
void redraw_add (RECT *p_rect)
int redraw_get (void)
void redraw_reset (void)
void redraw_set (int red_)
SPRITE * screen_get (void)
spr_handle sprite_copy (spr_handle dst_handle, spr_handle src_handle, bool surface_copy=false)
void sprite_delete (spr_handle handle, int num=1)
SPRITE * sprite_get (spr_handle spr=0)
tpos sprite_get_height (spr_handle spr=0)
tpos sprite_get_height_center (spr_handle spr)
tpos sprite_get_width (spr_handle spr=0)
tpos sprite_get_width_center (spr_handle spr)
spr_handle sprite_insert (SPRITE *p_spr, int num=1, spr_handle first=INSERT_APPEND)
spr_handle sprite_insert (const char *p_file, spr_handle first, spr_handle num=1, spr_handle *p_last=NULL)
SPRITE_STORE * store_get (void)

Private Attributes

SPRITE * p_screen
SURFACE * p_screen_surface
int rect_last
bool rect_whole
int redraw

Detailed Description

Definition at line 441 of file 2d_graph.h.

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

Generated by  Doxygen 1.6.0   Back to index