Rotating widgets
Richmond Mathewson
richmondmathewson at gmail.com
Sat Oct 14 15:06:28 EDT 2017
But one cannot make an SVG image "twice as long, with half of it
transparent": belive me
I have tried that already.
Richmond.
On 10/14/17 9:44 pm, Mark Wieder via use-livecode wrote:
> On 10/14/2017 11:30 AM, Tore Nilsen via use-livecode wrote:
>> You would probably be better off using a transparent png-image that
>> is square for the clock hand, and where the rotation point of the
>> clock hand was at the center of the square. You could then put the
>> clock hand on top of the clock face and rotate the hand at will. My
>> students hand the same kind of problem as part of their national exam
>> this spring. You could also do some vector calculations to find the
>> new center for your widget, but I must admit that I am not all that
>> certain how you would go about it then. Mathematics is not my
>> strongest subject, and I must admit that at 56 I have forgotten most
>> of the maths I learnt in my upper secondary years.
>
> This is where I miss having Scott Rossi around.
> My simplistic take on this would be similar:
> Make your clock hand twice as long, with half of it transparent.
>
More information about the use-livecode
mailing list