Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Svg Painter
Svg Painter [message #20247] Thu, 05 March 2009 01:28 Go to previous message
koldo is currently offline  koldo
Messages: 3372
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

index.php?t=getfile&id=1603&private=0
  • 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: usvn - SVN for dummies (and me)
Next Topic: Docking: How to call a callback on DockableCtrl's close
Goto Forum:
  


Current Time: Sun Jun 09 21:41:28 CEST 2024

Total time taken to generate the page: 0.01914 seconds