[REBOL] Capturing transparent faces.
From: carl::cybercraft::co::nz at: 26-Jun-2005 0:07
If you have a transparent face in View, it can be used to grab an image of the faces
under it. However, I can only get this to work on a layout in an open window - when
I attempt it on layout, all I get is a black image.
Here's an example of this: Just run it, click on the "Grab Area" button and you'll see
what I mean...
lo: layout [
title "Grab area test."
b: box 80x30 with [color: none] ; Transparent box.
button "Grab Area" [
window-grab: to-image b
lo-grab: to-image b
view layout [
text "Image grab from layout..."
text "Image grab from window..."
So, is there a way to do this on just a layout?
Thanks in advance,
-- Carl Read.