Hi Brian,

> Am 15.11.2022 um 14:29 schrieb Brian Milby via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> I know that inside any native control, things are drawn at native resolution. 
>  A good way to see this is a browser widget.  So I’m thinking that that is 
> going to apply in the other direction too.  You will need to convert your 
> card coordinates to native coordinates to place the control.

Then this should go into the dictiuonary with 128 point fontsize!

> I might could play with the math, but it wouldn’t be until much later this 
> evening.

thanks, already got it:
------------------------------------------
## KM
...
   put the topleft of grc "qr_ios" into tRect1
   put the bottomright of grc "qr_ios" into tRect2
   put globalloc((tRect1)) & "," && globalloc((tRect2)) into tRect
   mergAVCamSet "rect",tRect
   ## KM
...
-----------------------------------------

> If you are already adjusting the aspect ratio, then you probably have a 
> resizeStack handler.  

How did you know? :-D

> It may be easier to just go the next step to using native coordinates.

I did, now I'm wating for a feedback of my tester

> Brian Milby
> br...@milby7.com

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to