Bitmap/Bresenham's line algorithm: Difference between revisions

m (→‎{{header|Wren}}: Changed to Wren S/H)
imported>Chinhouse
Line 2,836:
This GUI implementation is for use with [http://miniscript.org/MiniMicro Mini Micro].
<syntaxhighlight lang="miniscript">
Img = new Image
Img.line = function(x1, y1, x2, y2, colr)
dx = abs(x2 - x1)
Anonymous user