Rotating widgets

2017-10-14 Thread Alejandro Tejada via use-livecode
Hi All, Effectively, SVG Icon widget grows and shrink when rotating, but Peter Thirkell SVG Multicolor widget does not. This Multicolor svg widget only clips it's content and stays the same size. Richmond, Have you installed SVG Multicolor widget? Download and install from this forum thread:

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 >

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

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

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

Rotating widgets

2017-10-14 Thread Richmond Mathewson via use-livecode
I am getting a bit fudgey with clock hands. I have used my SVG importer stack to import a minute and an hour hand as SVG widgets, as well as a clock face. The "only snag" is that when I do this sort of thing: set the angle of widget "hourHand" to 90 it rotates the widget round its centre