Thank you for the reply, Still have problem with the contrib installation, i try to start a new project to try again. I use qooxdoo 1.2.1.
Il giorno mer, 03/11/2010 alle 17.21 +0100, Marc Puts ha scritto: > Hi Simone, > > Since I contributed the SVG lib, I guess I should try and answer this one. > > I'm not sure why you're having problems with the generator. I just tried > (with qooxdoo 1.2.1) and it seems to be working fine. What qooxdoo > version are you using? I hope some of the generator gurus on this list > can help with this. :) > > > The SVG library is still in a very early stage and does not have a lot > of features right now. For example, no text support is included yet. > Also, because of the early stage, anything can (and probably will) > change. Once the base is solid, I will tag it for a 0.1 release and > things should become more stable. Unfortunately, the project for which I > created it is temporarily on hold, which is why I didn't update it for a > while. I expect to pick up development again in late January, unless I > can find some spare time before that. > > As for documentation; It's true that I didn't create the wiki page yet. > I hope to get around to that shortly, but it will definately be there > before the 0.1 tag. > For now, I think you should start by looking at the two demo programs. > (see http://demo.qooxdoo.org/contrib/demobrowser/ ) > The default demo should make it clear how to include an SVG drawing into > your qx app along with some basic shapes. The freedraw demo shows how to > define and use the path element. I recommend you check out the source > code of both and have a look. > > Here's a little info for better understanding of the library core: > > You can include an SVG drawing into your application by adding the > svg.embed.Svg widget to it. The widget has a .getSvg() method which > returns an instance of svg.struct.Svg. This instance represents the > <svg> root element of your drawing. > > svg.core.Element subclasses qx.html.Element. Therefore, you can use all > (most?) of the features available to that. You can use those to > manipulate the entire SVG element tree. The main difference from > qx.html.Element, is that elements created with svg.core.Element are > created in the correct SVG namespace. This is required by browsers when > you mix SVG with XHTML. Therefore, all SVG elements created with this > lib are in fact svg.core.Element's. > In theory, the library is already capable of supporting the entire SVG > standard, because you can directly instantiate svg.core.Element and use > the setAttribute method to set the attributes. Because this is obviously > not very convenient, the library mostly consists of easier access to > these attributes, along with type and value checking. The > svg.path.PathData class takes this a bit further and is entirely devoted > to filling the "d" attribute of a <path> element. The freedraw demo > shows this. > > Your next stop should be the API documentation of the SVG lib (generate > it by ./generate.py api) which is quite complete. The next best sources > for information would be learnsvg.com and the W3 SVG standard. You will > notice that the SVG library's packages closely match the W3 SVG standard. > > > Feel free to ask any questions you might have (either on the mailing > list or by direct mail). Suggestions and critics are always welcome too. :) > > Regards, > Marc > > > On 11/03/2010 02:48 PM, Simone Pandolfo wrote: > > I need to work with some svg files, and after some reserch i try to use > > this contrib, but after i have added in the config.json the row: > > > > "manifest" : "contrib://SVG/trunk/Manifest.json" > > > > the generate.py report this error: > > > > Could not determine current revision of "SVG/trunk" > > [Errno 2] No such file or directory: > > u'/tmp/cache/downloads/SVG/trunk/Manifest.json' > > > > > > How i can resolve this? and how can i find some information about this > > contrib? > > > > http://qooxdoo.org/contrib/project/svg report that the topic does not > > exist yet :/ > > > > Regards > > Sp > > > > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
