[REBOL] Re: Carl? Re: View in Fullscreen?? Re: Re: a demo
From: rotenca:telvia:it at: 10-Dec-2002 18:49
Hi Cyphre,
i can't explain exactly why, but you can see with your eyes that if you use
an already displayed face, the rendering of effects starts only after show:
img: load-thru/binary http://www.rebol.cz/~cyphre/bay.jpg
test1: make face [image: img size: img/size]
view layout [
test2: image img
button "try" [
k1: to-image test1
test1/effect: [rotate 180 blur]
k2: to-image test1
show test1
k3: to-image test1
v1: to-image test2
test2/effect: [rotate 180 blur]
v2: to-image test2
show test2
v3: to-image test2
view layout [
text "not displayed"
image "start" k1
image "before show" k2
image "after show" k3 return
text "displayed"
image "start" v1
image "before show" v2
image "after show" v3 return
]
]
]
So the difference in behaviour here is between displayed/not-displayed image.
If i remember well your time calculation was about an already displayed face,
so the rendering is done by show not by to-image.
---
Ciao
Romano