I'm very happy you liked the samples and could get them to load.
The shadow in the gauge is really easy... create a pointer and name it as such, make a copy and name it shadow.
Then color the shadow black, set it to be partially transparent, and offset it slightly.
Then rotate both the same amount.
If we can reference the SVG subcomponents and apply movement and/or rotation... awesome GUI could be created.
Jerry
Function Rotate(Angle As Float) As Image
Re: Function Rotate(Angle As Float) As Image
ok, I have managed to alter the properties of the sub components, the coordinates for the case of the indicator needle and the text. But something is wrong because the result is not as expected.
I'm going to try using another graphical element, like a line.
Jerry: How did you do it in javascript?
Regards.
Martin.
I'm going to try using another graphical element, like a line.
Jerry: How did you do it in javascript?
Regards.
Martin.
- Attachments
-
- sample-svg-load-for-jerry-0.0.3.tar.gz
- (42.45 KiB) Downloaded 272 times
Re: Function Rotate(Angle As Float) As Image
Here are a couple of files to play with...
http://askjerry.info/SVG/
http://askjerry.info/SVG/