Hi Marc,
I'm looking for the same question.
I'm trying to import an external svg into my qooxdoo application.
This is a very simple code:
===== from Application.js =====
var svgWidget = new svg.embed.Svg();
var svgroot = svgWidget.getSvg();
var image = new svg.struct.Image();
image.setHref(qx.util.ResourceManager.getInstance().toUri("myfile.svg"));
image.setWidth(707);
image.setHeight(276);
svgroot.add(image);
this.getRoot().add(svgWidget,
{
left : 0,
right : 0,
top : 0,
bottom : 0
});
=====================
However, in Firefox 3.6 I don't see anything (blank page) but in other
browser (like Google Chrome or Opera) I see the svg file correctly.
Something missing?
Another question: How can I interact with the SVG property? Example: I want
change a fill value from a specific tag definied into svg file.
Thanks for your help ;)
Daniele
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/SVG-contrib-Could-not-determine-current-revision-of-SVG-trunk-tp5701382p5708171.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel