VideoTools
|
A class template for drawing lines in terms of separate horizontal line segments. More...
#include <grlinedraw.h>
Public Member Functions | |
LineDraw (T x1, T y1, T x2, T y2) | |
Constructor. | |
bool | more () |
Iterator for the next line segment. Returns true at least once. | |
T | x1 () const |
Returns the current smaller x coordinate. | |
T | x2 () const |
Returns the current larger x coordinate. | |
T | y () const |
Returns the current y coordinate. | |
bool | flat () const |
Returns true if the x dimension of the line is greater the the y dimension. More... | |
A class template for drawing lines in terms of separate horizontal line segments.
Usage:
Definition at line 30 of file grlinedraw.h.
bool Gr::LineDraw< T >::flat | ( | ) | const |
Returns true if the x dimension of the line is greater the the y dimension.
Definition at line 275 of file grlinedraw.h.