hi,
two questions:
1.
I'd like to allow the user to paint *only* on given area, for example
on a rectangle region that fills 2/3 of the window.
I create an svg.embed.Svg() widget and I can draw, but the canvas
expands automatically and annoys me. I'd like this region to always
be, say, 800px wide and 400px high.
I set the height and width properties of svg (mySvgWidget.getSvg() )
but it still expands. maybe it has to do with the viewPort?

2. if I use viewBox, so my background picture (in this svg widget) is
resized with the window, the free drawing part of my program messes
the coordinates. can I get the transform matrix that was internally
generated [1] for this viewBox?


any lights?
thanks!

[1] http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
Edu

------------------------------------------------------------------------------
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

Reply via email to