Card SnapShot from Negative Rect?

-hh hh at hh.on-rev.com
Mon Jun 6 18:11:08 EDT 2016


Yet another option could be:

[1] Shift each control down and right, so that the negative coords become
non-negative
and enlarge also the stack size so that the rectangle fits into the stack
window (and hide img X)
[2] Take your snapshot from the 'shifted' rect to img X.
I use 'export snapshot from rect <rect> of window windowID here and resize
the image if necesary.
[3] Invert the action from step 1 (and show img X)

This works pretty fast.
Sadly we cannot lock screen for that, so there is some 'flickering' and it
is, contrary to export snapshot from a group, restricted to current
screensize.




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Card-SnapShot-from-Negative-Rect-tp4705458p4705469.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list