Re: Import Snapshot in iOS

2013-05-15 Thread Björnke von Gierke
Is there a bug report for this? On 15.05.2013, at 06:47, Mark Wilcox wrote: Yes, the code I looked at definitely took a rect and not an object. I suspect the new method is not taking a snapshot of the screen at all but rendering the object into an image. Wouldn't using the new method and

RE: Import Snapshot in iOS

2013-05-15 Thread John Dixon
: Import Snapshot in iOS Yepp :) *import from object* works fine. The problem is *import from rect* notation. @Roger, for now the only solution seems this piece of code: _set the acceleratedRendering of this stack to false _import snapshot from rect tRect _set the acceleratedRendering

RE: Import Snapshot in iOS

2013-05-15 Thread Mark Wilcox
a rectangle !.. and it doesn't matter is acceleratedRendering is true or false.. or has even left the room ..:-) Date: Wed, 15 May 2013 03:13:59 +0300 From: endern...@gmail.com To: use-livecode@lists.runrev.com Subject: Re: Import Snapshot in iOS Yepp :) *import from object* works fine

Re: Import Snapshot in iOS

2013-05-15 Thread Richard Gaskin
Mark Wilcox wrote: Yes, the code I looked at definitely took a rect and not an object. I suspect the new method is not taking a snapshot of the screen at all but rendering the object into an image. Wouldn't using the new method and asking for the current card work for most scenarios? I

RE: Import Snapshot in iOS

2013-05-15 Thread J. Landman Gay
is true or false.. or has even left the room ..:-) Date: Wed, 15 May 2013 03:13:59 +0300 From: endern...@gmail.com To: use-livecode@lists.runrev.com Subject: Re: Import Snapshot in iOS Yepp :) *import from object* works fine. The problem is *import from rect* notation. @Roger, for now

RE: Import Snapshot in iOS

2013-05-14 Thread John Dixon
Roger... I use 'import snapshot' on an app in the iTunes store... acceleratedRendering is true. I am not have had any problems.. Dixie Subject: Import Snapshot in iOS From: i...@mac.com Date: Tue, 14 May 2013 05:25:34 -0700 To: use-livecode@lists.runrev.com Hi, I've discovered that

Re: Import Snapshot in iOS

2013-05-14 Thread Thomas McGrath III
Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 14, 2013, at 8:25 AM, Roger Guay

RE: Import Snapshot in iOS

2013-05-14 Thread John Dixon
Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... Subject: Re: Import Snapshot in iOS From: mcgra...@mac.com Date: Tue, 14 May 2013 08:57:11 -0400 To: use-livecode@lists.runrev.com

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
AM, John Dixon dixo...@hotmail.co.uk wrote: Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... Subject: Re: Import Snapshot in iOS From: mcgra...@mac.com Date: Tue, 14 May 2013 08:57:11

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
: Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... Subject: Re: Import Snapshot in iOS From: mcgra...@mac.com Date: Tue, 14 May 2013 08:57:11 -0400 To: use-livecode@lists.runrev.com

Re: Import Snapshot in iOS

2013-05-14 Thread Ender Nafi Elekçioğlu
Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though… ~ Ender Nafi ~… together, we're smarter …~ ___ use-livecode mailing list

Re: Import Snapshot in iOS

2013-05-14 Thread Richard Gaskin
Ender Nafi wrote: Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though… That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Ender Nafi wrote: Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it

Re: Import Snapshot in iOS

2013-05-14 Thread Mark Wilcox
2013, 19:59 Subject: Re: Import Snapshot in iOS Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Ender Nafi wrote: Roger's right. It's an odd thing but setting the a-R

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
it in a workshop on Thursday. Curious to look at this one some more when I understand the code better. Mark From: Roger Guay i...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tuesday, 14 May 2013, 19:59 Subject: Re: Import Snapshot

Re: Import Snapshot in iOS

2013-05-14 Thread Richard Gaskin
I recently stumbled across this post by Ender Nafi which confirm my hunch that it's only the older import from rect option that fails, and the newer import from object seems to work well: http://forums.runrev.com/viewtopic.php?f=49t=15093#p75531 -- Richard Gaskin Fourth World Systems

Re: Import Snapshot in iOS

2013-05-14 Thread Ender Nafi Elekçioğlu
Yepp :) *import from object* works fine. The problem is *import from rect* notation. @Roger, for now the only solution seems this piece of code: _set the acceleratedRendering of this stack to false _import snapshot from rect tRect _set the acceleratedRendering of this stack to true My sample

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
Very clever, Ender. Thanks! On May 14, 2013, at 5:13 PM, Ender Nafi Elekçioğlu endern...@gmail.com wrote: Yepp :) *import from object* works fine. The problem is *import from rect* notation. @Roger, for now the only solution seems this piece of code: _set the acceleratedRendering of

Re: Import Snapshot in iOS

2013-05-14 Thread Mark Wilcox
Yes, the code I looked at definitely took a rect and not an object. I suspect the new method is not taking a snapshot of the screen at all but rendering the object into an image. Wouldn't using the new method and asking for the current card work for most scenarios? Presumably if you want a