hey, > The width/height attributes of the svg *element* are kept in sync with > the width/height properties of the SVG *widget*. This is qooxdoo's > default behaviour for widgets. >
that makes sense. my svg widget was in a container with flex:1, which makes it fill the whole area. > > However, when you start using mouse coordinates (which you probably are, > in a drawing app), you're introducing a second coordinate space, because > mouse coordinates are relative to the screen or the document/client, not > to the svg element. it's even funnier: eyeOS has its own coordinate space, but I found a work around for that. > > The contrib provides a conversion class [2] that you can use to convert > client coordinates to svg coordinates and vice versa. The functions here > take in account any transformations and viewboxes that were applied. I read somewhere that I have to use svg contrib 0.1 with qooxdoo 1.3. does this restriction still apply? that helped me a lot. thanks! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
