This certainly brings new possibilities into Pivot, incorporating icons and illustrations goes a long ways already. I agree that the resizing would be useful. If a SVGImage is resized it would be appropriate to resize the wrapped SVGDiagram too.
A possible usage I'm thinking of now is for music notation. Lets say a staff object exists that extends the pivot component object. Possibly a staff's skin can simply be a SVGImage wrapped by a ImageView. The the SVGDiagram (scenegraph) wrapped by the SVGImage might then be able to contain the complete notation symbol tree, representing the staff's music, with elements for all related symbols involved. Also, the SVGDiagram elements can detect hits and be animated. There are other ways to render the symbols however the SVGDiagram approach sounds intriguing. Cheers, Thom On 2010-10-04, at 4:55 PM, Sandro Martini wrote: > Hi to all, > I've just tried the new Demo (under trunk) of interaction between > Pivot and SVG Salamander and I have to say it's a great combination !! > > To have some features of both more in evidence scalable features of > both, what do you think when resizing the application window, if all > SVG elements will resize too (for example to keep the same proportions > as the start, but locked as horizontal/vertical proportion) ? > > Little visual trick: is it possible to move the svg tiger a little > under, to have a little more vertical space between the Pivot logo and > the tiger (there is much vertical space at the top, and little here) ? > > > And last, some small things on the zoom feature: > - zooming the user interface I see that the current position of the > mouse is not taken as the center for the zooming in/out operation, but > I think this would be better (when the user want to zoom, it click in > a certain point) > - will it be possible to not zoom even added scrollbars (at high zoom > factors are really not-so-good to see) ? > - when I have a complex GUI (for example a big form that could have > scrollbars to fit in the application), will it be possible to zoom out > (1/2, 1/4, etc) ? > -- at the moment I don't know if this is possible, but in some cases > could be useful ... > > Bye, > Sandro