Anonymous user
Bitmap/Bresenham's line algorithm: Difference between revisions
Bitmap/Bresenham's line algorithm (view source)
Revision as of 15:48, 18 February 2017
, 7 years ago→version 1: added comments to the REXX section header concerning the REXX program's capabilities/features.
m (→version 1: added comments to the REXX section header concerning the REXX program's capabilities/features.) |
|||
Line 2,819:
=={{header|REXX}}==
===version 1===
This REXX version has automatic scaling (for displaying the plot),
<br>command line, and it also handles multiple line segments.
<lang rexx>/*REXX program plots/draws line segments using the Bresenham's line (2D) algorithm. */
parse arg data /*obtain optional arguments from the CL*/
|