wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.81k stars 1.71k forks source link

patch to provide wxSVGFileDC #5280

Closed wxtrac closed 2 years ago

wxtrac commented 22 years ago

Issue migrated from trac ticket # 5280

priority: normal

2002-02-18 13:03:10: biol75 (chris elliott) created the issue


SVG is a vector graphics standard coming into use on the Web. It provides a platform independent way of doing vector graphics, and viewers and editors are starting to appear.

This patch is to enable a DC to write out its contents to a file in SVG format. Most of the DC functions are implemented; but GetPixel and the SetLogicalFunction are not, as these functions are raster-based.

A more extensive SVG read/write ssytem is being built in wxCanvas; this patch is to write out a DC

the patch is in the formof a zip file at http://biolpc22.york.ac.uk/wx/wxSVGFileDC/svgsubmit.zip

it contains: documentation: dosc/latex/dcsvg.tex include file: include/wx/dcsvg.h source file: src/common/dcsvg.cpp sample: samples/svg/svg.cpp, svg.rc, makefiles for Borland and Linux/GTK etc

I would be grateful if someone could add these to the CVS, and add dcsvg.cpp to the list of files to be included in the build.

I know this is not a diff, but none of these files are in the CVS

thanks

chris

wxtrac commented 21 years ago

2002-06-19 11:23:29: biol75 (chris elliott) commented


As suggested on the wxDev mailing list, this patch has been reworked and put in the contrib directory