Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

draw_line.h File Reference

Défini des fonctions graphiques de tracé de lignes. More...

#include "ddutil.h"
#include "geo_utils.h"

Go to the source code of this file.

Functions

void Draw_Line (CSurface *p_surface, cPoint2D &start, cPoint2D &goal, unsigned char color)
 dessine la ligne ds la surface precisée

void Draw_Line (CDisplay *display, cPoint2D &start, cPoint2D &goal, unsigned char color)
 dessine la ligne ds le back buffer du display para


Detailed Description

Défini des fonctions graphiques de tracé de lignes.

Auteur : Adrien Auclair

Definition in file draw_line.h.


Function Documentation

void Draw_Line CDisplay display,
cPoint2D start,
cPoint2D goal,
unsigned char  color
 

dessine la ligne ds le back buffer du display para

Definition at line 125 of file draw_line.cpp.

References _DbgOut(), g_pDisplay, CDisplay::GetBackBuffer(), cPoint2D::X, and cPoint2D::Y.

Referenced by cSquare_Area_Debug_Displayer::Display(), cWall::Display(), cGame_World_Debug_Displayer::Display_Graph(), and cUnit::Display_Path().

void Draw_Line CSurface p_surface,
cPoint2D start,
cPoint2D goal,
unsigned char  color
 

dessine la ligne ds la surface precisée

Definition at line 6 of file draw_line.cpp.

References _DbgOut(), CSurface::GetDDrawSurface(), cPoint2D::X, and cPoint2D::Y.


Generated on Fri May 21 19:22:37 2004 for LIBELL by doxygen 1.3.7