Let's rotate an SVG widget

Richmond Mathewson richmondmathewson at gmail.com
Sun Jan 7 05:27:26 EST 2018


"But you can compute the needed rectangle and resize the

widget accordingly by LC Script."

Indeed: but that presupposes I'm NOT a lazy slob8-)

http://forums.livecode.com/viewtopic.php?f=8&t=30405

Richmond.


On 7/1/2018 11:58 am, hh via use-livecode wrote:
> Maintain aspect ratio is for resizing the svg object
> when resizing the widget.
>
> What you want is  probably that the widget resizes its
> rectangle *minimally* so that the size of the svg remains
> unchanged when rotating. That's not (yet) available in LCB.
>
> But you can compute the needed rectangle and resize the
> widget accordingly by LC Script.
> (I did that for a rotating text widget).
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list