RosettaCodeData/Task/Bitmap/Julia/bitmap-4.julia

5 lines
88 B
Plaintext

function splat!(a::Image, x::Int, y::Int, c::Color)
a.pic[x, y] = c
nothing
end