Jump to content

Bitmap/Bresenham's line algorithm: Difference between revisions

m
→‎version 1: changed wording in the REXX section header.
m (split a long line.)
m (→‎version 1: changed wording in the REXX section header.)
Line 3,322:
=={{header|REXX}}==
=== version 1 ===
This REXX version has automatic scaling (for displaying the plot),   includes a border,   accepts lines segments from the
border,   accepts lines segments from the
<br>command line, &nbsp; displays a (background) plot field, &nbsp; and it also handles multiple line segments.
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*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.