Card SnapShot from Negative Rect?
BNig
bernd.niggemann at uni-wh.de
Mon Jun 6 16:31:32 EDT 2016
Scott,
I don't know of any way to designate multiple objects for one snapshot.
Maybe instead of rearranging the objects then relayer etc. you could make
multiple snapshots that you place relative to each other in a temporary
(invisible) group and then snapshot the group? You could probably even use
the rects of the objects for placing the images of the objects. Since for
your final snapshot negative rects would not matter.
Of course this is not as fast as one snapshot but saves you from
rearranging.
(not tested)
Kind regards
Bernd
Scott Rossi wrote
> I'm trying to snapshot the card because I want
> to capture multiple objects/groups that are present in a designated rect,
> along with the card background pattern (where theRect includes negative
> values).
>
> export snapshot from rect theRect of this cd at size 120,120 to img "map"
>
>
> I supposed I could ignore the card and temporarily group the controls to
> be able to snapshot from a single object, but then I have to relayer
> everything back to where it was originally. This is not ideal, but
> possible.
>
> AFAIK, it's not possible to designate multiple objects for a snapshot, is
> it?
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 6/6/16, 12:42 PM, "use-livecode on behalf of BNig"
> <
> use-livecode-bounces at .runrev
> on behalf of
> bernd.niggemann@
> > wrote:
>
>>Hi Scott,
>>
>>what happens if you reference the object directly:
>>
>>on mouseUp
>> export snapshot from field 1 of group 1 to tImg as png
>> set the text of image 1 to tImg
>> put the rect of field 1 of group 1
>>end mouseUp
>>
>>or
>>
>>on mouseUp
>> import snapshot from field 1 of group 1
>> put the rect of field 1 of group 1
>>end mouseUp
>>
>>the rect of field 1 being 327,-125,577,-69
>>
>>both work for me in LC 7.1.4. Both retain transparency.
>>
>>Kind regards
>>Bernd
>>
>>
>>Scott Rossi wrote
>>> Anyone know how to snapshot a rect location of a card that includes
>>> negative values?
>>>
>>> In LC 7.1.3, I have an object in a group that's scrolled out of view,
>>> resulting in the object's rect having negative values. I want to
>>>snapshot
>>> the object, but I'm unable to snapshot any part of the card outside the
>>> card's rect (where the rect contains values less than zero). I know
>>>it's
>>> possible to snapshot an offscreen stack, but can't seem to do this with
>>>an
>>> offscreen object on a card.
>>>
>>> Any option for this besides locking the screen and moving the object to
>>>a
>>> visible location?
>>>
>>> Thanks,
>>>
>>> Scott Rossi
>>
>>
>>
>>
>>
>>--
>>View this message in context:
>>http://runtime-revolution.278305.n4.nabble.com/Card-SnapShot-from-Negative
>>-Rect-tp4705458p4705459.html
>>Sent from the Revolution - User mailing list archive at Nabble.com.
>>
>>_______________________________________________
>>use-livecode mailing list
>>
> use-livecode at .runrev
>>Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>>http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at .runrev
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Card-SnapShot-from-Negative-Rect-tp4705458p4705463.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list