Thu, 05 Aug 2010 10:49:14 +0300 tarihinde Petri Keckman  =

<[email protected]> =FE=F6yle yazm=FD=FE:

>
> Greg Schwarz <[email protected]> kirjoitti Thu, 05 Aug 2010  =

> 09:07:33
> +0300
>
>> http://www.rebol.com/docs/image.html
>>
>> This link should help.
>
> No it doesn't, but i did it with line:
>
>
>       xy: as-pair xs ys
>           append plot reduce [
>           'pen (black)
>           'line  xy (xy + 1x1)
>       ]

here is what you want:

img: make image! 100x50
lay: layout [image img]
putpixel: func [x y] [change skip img 100 * y + x white]
putpixel 40 20
view lay
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to