Let's rotate an SVG widget

Richmond Mathewson richmondmathewson at gmail.com
Sun Jan 7 04:03:15 EST 2018


I went here: https://livecode.com/livecode-widgets-svg-path/

and came across maintainAspectRatio which sounds dead groovy:

setthemaintainAspectRatio ofwidget "hour" totrue
settheangleofwidget "hour" toINC

but it didn't maintain its aspect ratio . . .

Richmond.


On 7/1/2018 10:43 am, Richmond Mathewson wrote:
> So, I imported an SVG from Inkscape into an SVG widget . . .
>
> Then I tried to rotate the thing;
>
> it rotated,
>
> it kept "swelling and shrinking" because its bounding box was square.
>
> This is not cutting the mustard.
>
> Richmond.




More information about the use-livecode mailing list