|
|
Home » Developing U++ » UppHub » Svg Painter
Svg Painter [message #20247] |
Thu, 05 March 2009 01:28 |
|
koldo
Messages: 3371 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
I have uploaded to bazaar the code and demo to test a function to open and show with Painter static .svg files (Scalable Vector Graphics):
void ParseSVG(Painter& p, const char *svg);
This is an initial version and it is open to contributions by improving it or by testing it with .svg files.
I have included the next files and folders:
- PainterSvg
- ParseSvg.cpp: The code
- PainterSvg demo
- SvgDemo.cpp: The demo (compatible with Painter demo)
- Examples.h: Rest of files have been taken from Painter demo
- Examples.lay
- init
- main.cpp
- PainterSvg demo.upp
To open the .svg file copy it in C:\demo.svg or change String file in SvgDemo.cpp.
Before using it please download the last Upp svn.
It has been tested with GCC in Ubuntu/Linux and MinGW/MSC9 in XP.
Here I enclose you a screenshot.
Best regards
Koldo
-
Attachment: svgdemo.jpg
(Size: 47.84KB, Downloaded 925 times)
Best regards
Iñaki
[Updated on: Thu, 05 March 2009 08:39] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jun 01 06:20:35 CEST 2024
Total time taken to generate the page: 0.01833 seconds
|
|
|