[REBOL] Re: explanation, gurus? :-) (image memory representation)
From: cyphre:volny:cz at: 21-Aug-2001 15:03
Hello again Pekr and Nenad,
> btw: do you know that debase "00000001" crashes rebol/view? Rebol/Command
seems to be
> OK, but try debase/base "00000001" 2 :-)
bug in last version of /View (see
http://www.escribe.com/internet/rebol/m11462.html)
regarding the problems with images...maybe this problem has something to do
also with Rebol's crashing when drawing filled polygons(using Draw dialect)
out of bounds of the image area...looks like DRAW corrupts memory alocation
or so.Try for example:
this works:
view/new layout [i: image make image! [50x50] effect [DRAW [fill-pen red
polygon 0x0 25x0 25x50]]]
show i
wait []
this crashes:
view/new layout [i: image make image! [50x50] effect [DRAW [fill-pen red
polygon 0x0 25x0 25x100]]]
show i
wait []
Cyphre