]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | A wxSVGFileDC is a device context onto which graphics and text can be drawn, and the output | |
3 | produced as a vector file, in the SVG format (see http://www.w3.org/TR/2001/REC-SVG-20010904/ ). | |
4 | This format can be read by a range of programs, including a Netscape plugin (Adobe), full details at | |
5 | http://www.w3.org/Graphics/SVG/SVG-Implementations.htm8 | |
6 | ||
7 | Vector formats may often be smaller than raster formats. | |
8 | ||
9 | The intention behind wxSVGFileDC is that it can be used to produce a file corresponding | |
10 | to the screen display context, wxDC, by passing the wxSVGFileDC as a parameter instead of a wxDC. Thus, | |
11 | the wxSVGFileDC is a write-only class. | |
12 | ||
13 | As the wxSVGFileDC is a vector format, raster operations like GetPixel are unlikely to be supported. | |
14 | However, the SVG specification allows for PNG format raster files to be embedded in the SVG, and so | |
15 | bitmaps, icons and blit operations into the wxSVGFileDC are supported. | |
16 | ||
17 | A more substantial SVG library (for reading and writing) is available at | |
18 | http://www.xs4all.nl/~kholwerd/wxstuff/canvas/htmldocbook/aap.html | |
19 | ||
20 | Please notify Chris Elliott (biol75@york.ac.uk) of any bugs. Look in wxWindows\contrib\docs\latex\svg for the | |
21 | documentation |