Advanced Strategic Command
Public Member Functions | List of all members
tdrawline Class Referenceabstract

An abstract class that draws a line. More...

#include <basegfx.h>

Public Member Functions

void start (int x1, int y1, int x2, int y2)
virtual void putpix (int x, int y)=0
virtual ~tdrawline ()

Detailed Description

An abstract class that draws a line.

This can not only be used for drawing a straight line on the screen, but also on the gamemap for example

Definition at line 303 of file basegfx.h.

Constructor & Destructor Documentation

virtual tdrawline::~tdrawline ( )

Definition at line 307 of file basegfx.h.

Member Function Documentation

virtual void tdrawline::putpix ( int  x,
int  y 
pure virtual

Referenced by start().

void tdrawline::start ( int  x1,
int  y1,
int  x2,
int  y2 

Definition at line 99 of file basegfx.cpp.

References putpix().

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