Re: Rotating widgets

2017-10-14 Thread J. Landman Gay via use-livecode
Another disadvantage of using a rotated SVG is that is will resize to fill its rectangle when rotating. The clock hand will change its size on each rotation. On 10/14/17 2:17 PM, Tore Nilsen via use-livecode wrote: That is why I suggest using a png-file, where all but the hand is transparent.

Re: Rotating widgets

2017-10-14 Thread Tore Nilsen via use-livecode
That is why I suggest using a png-file, where all but the hand is transparent. Setting the resizeQuality to best should give a good result without reducing the speed of any animation you do. Tore > 14. okt. 2017 kl. 21:06 skrev Richmond Mathewson via use-livecode > : > > But one cannot make a

Re: Rotating widgets

2017-10-14 Thread Richmond Mathewson via use-livecode
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 transparen

Re: Rotating widgets

2017-10-14 Thread Mark Wieder via use-livecode
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 fa

Re: Rotating widgets

2017-10-14 Thread Tore Nilsen via use-livecode
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