Main Page | Data Structures | Directories | File List | Data Fields | Globals

Bresenham_line Struct Reference

A context capturing the state of the Bresenham line drawing algorithm. More...


Data Fields

Bpoint first
 The first point on the line.
Bpoint current
 The current point on the line.
Bpoint last
 The last point on the line.
int past_the_end
 Boolean true iff there are no more points.
bcoord_t epsilon
 The algorithm's error term.
bcoord_t delta_x
 Absolute first to last x distance.
bcoord_t delta_y
 Absolute first to last y distance.
coord_accessorp_t get_col
 Points to the column coordinate function.
coord_accessorp_t get_row
 Points to the row coordinate function.
point_iteratorp_t next_pt
 Points to the state iterating function.


Detailed Description

A context capturing the state of the Bresenham line drawing algorithm.

Definition at line 63 of file bresenham.c.


The documentation for this struct was generated from the following file:
Generated on Fri Jul 8 14:55:03 2005 for tclSadie by  doxygen 1.4.2