Bitmap/Bresenham's line algorithm: Difference between revisions
Content deleted Content added
m →version 1: added wording to the REXX section header. |
|||
Line 3,324:
This REXX version has automatic scaling (for displaying the plot), includes a
border, accepts lines segments from the
<br>command line, displays a (background) plot field, uses an infinite field, and
it also handles multiple line segments.
<lang rexx>/*REXX program plots/draws line segments using the Bresenham's line (2D) algorithm. */
|