Bitmap/Bresenham's line algorithm: Difference between revisions
Content deleted Content added
add Ruby |
m →{{header|Ruby}}: update example |
||
Line 837:
end
bitmap = Pixmap.new(
bitmap.
10.step(430, 60) do |a|
bitmap.draw_line(Pixel[0,0], Pixel[29,14], RGBColour::BLACK)▼
bitmap.draw_line(Pixel[
bitmap.draw_line(Pixel[
end
=={{header|Tcl}}==
|