Bitmap/Bresenham's line algorithm: Difference between revisions

m
→‎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), and  itincludes alsoa handlesborder, multiple  lineaccepts lines segments. from the
<br>command line, &nbsp; 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*/