This is just a checkpoint of this SVG change, I'm not proposing checking it in at this point
Change hqm-20100915-Ug5 by [email protected] on 2010-09-15 21:17:29 EDT in /Users/hqm/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: experimental svg resource feature New Features: Bugs Fixed: Technical Reviewer: (pending) QA Reviewer: (pending) Doc Reviewer: (pending) Documentation: Release Notes: Overview: support for embedded svg resources on views Details: [ResourceCompiler mods only implemented for DHTML and SWF0 runtimes] + If an SVG file is specified ina <resource> tag, the ResourceCompiler will copy the SVG content inline into the resource table, and set a 'svg' flag on it to true. + LzView notices if a resource is svg, and instantiates a local dataset for the SVG, and an (invisible) <svgview> to render it. The svgview actually renders to the parent view's graphic context. - this implementation could be made more efficient if there were a single svgview to do the rendering, and the svgview could reuse it's datapointer and datapath, and cache the parsed __path. Tests: test/svg/simple.lzx test/svg/multi.lzx Files: A test/svg/loredana.svg A test/svg/Darth_Gimp_Cordless_Phone.svg A test/svg/simple.lzx A test/svg/blue_square.svg A test/svg/svgview.lzx A test/svg/multi.lzx A test/svg/line01.svg A test/svg/rect01.svg A test/svg/rect02.svg M WEB-INF/lps/lfc/views/LaszloView.lzs M WEB-INF/lps/server/src/org/openlaszlo/compiler/ObjectWriter.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20100915-Ug5.tar
