Modified package and import statements on existing code which has Flex specific changes and imported the remaining code unaltered (except for package names) from http://archive.apache.org/dist/xmlgraphics/batik/batik-src-1.6.zip.