mergAV uses GLOBAL coordinates?

Klaus major-k klaus at major-k.de
Tue Nov 15 07:54:18 EST 2022


Hi Brian,

> Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
> 
> What fullscreenmode are you using on that card?

I use "showall".
However I resized the stack proportionally to the aspect ration of the device,
so it "behaves" like fullscreenmode "exactfit".

> Brian Milby
> brian at milby7.com
> 
>> On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi all,
>> 
>> I do not won an iPhone, but some users told me that 
>> scanning a barcode will show the previewarea way off
>> from where I definde it.
>> 
>> Here part of my script:
>> --------------------------------
>> on mergAVMediaAccess pType, pGranted
>>  mergAVCamSet "microphone", empty
>>  mergAVCamCreate
>> 
>>  ## See below...
>>  mergAVCamSet "rect",the rect of graphic "qr_ios"
>> ...
>> ----------------------------------
>> See what happens here:
>> <https://www.dropbox.com/s/6q1hmwl82ns7r1p/mergAVbarcodescan.png?dl=0>
>> The light green rect behind the (off-set preview) is gr "qr_ios" and nothing else in 
>> any script that could cause this!
>> 
>> So does mergAV use GLOBAL coordinates?
>> 
>> Any insight very welcome, thank you!

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list