Hi Anton,

one of my view docs says:

"saved-area Enables faster rendering for transparent faces. When a face is
transparent on a static (unchanging) backdrop, this field can be set to TRUE
to accelerate redrawing. The face can change without requiring the backdrop
to be rendered each time. The pixels for the area under the face will be
saved into this field, changing it from a TRUE to an IMAGE. This field
defaults to NONE."

for example try this:

-----------snip-----------

l: layout [backtile logo.gif t: vtext "HELLO WORLD" with [saved-area: true]]
view/new l
view/new layout [image t/saved-area] ;this is the "cutted" background
 view/new layout [box 150x50 with [pane: make t []]] ; the face holds this
background
----------snip--------

so as you can see, the image which contains 'saved-area is just for holding
of the background of the face so View doesnot have to "key"(or render)
background of this face when for example the face is moving . But it is
useful only when the backgound has one color etc.

regards,

Cyphre


----- Original Message -----
From: "Anton Rolls" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 2:43 AM
Subject: [REBOL] face/saved-area question


> Does anyone know how to get the saved-area image
>  before viewing?
>  Or, put another way, what is view doing that
>  causes pic/saved-area to be "resolved" to an image?
>
>
> lay: layout [pic: image img with [saved-area: true]]
> pic/saved-area ;== true  Not what I wanted...
>
>  However...
>
> view lay ; close the window
> pic/saved-area ;== make image! [429x63 #{
> 000000000000000000000000000000000000000000000000000000000000
> 00000000000000000000000000000000000000000000...
>
>
> I was thinking I could set saved-area to my own function
> for some interesting effects, but I am not sure what image
> it stores, when and how, and when it is drawn.
>
> Anton.
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>


---
Odchoz� zpr�va neobsahuje viry.
Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz).
Verze: 6.0.282 / Virov� b�ze: 150 - datum vyd�n�: 25.9.2001

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to