Chris,

If I understand the app that you are describing, an API-like approach would
be overkill. All you want to end up with is an SVG file that is passed to a
renderer. Generating the SVG from some data source is the kind of thing SVG
does without breaking a sweat. A simple architecture would be to get the
data from the database into XML, and then run XSLT on it to get an SVG
document.

You could control that process with C++ of course -- or even better just
stick it on a server and use Apache and Batik, or a similar combination
(which will also make the PDF generation easier, too).

But using C++ to step through a database and generate API calls is a lot
more work (by an order of magnitude) than is needed here.

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/ 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris Serio
> Sent: 02 August 2005 17:47
> To: [email protected]
> Subject: [svg-developers] Re: Newbie SVG Developer
> 
> Thanks for the info. I was hoping to find a high level API 
> with basic functions built into it like "DrawColoredRectangle 
> (x,y,len,width,color)"
> 
> There's a very near deadline on this project so i'm trying to 
> get a library with the most comprehensive API i can.
> 
> Chris
> 
> 
> --- In [email protected], Holger Will <[EMAIL PROTECTED]>
> wrote:
> > Chris Serio schrieb:
> > 
> > > Hey all,
> > >
> > > I'm new to SVG. I've never used it before but i want to use it to 
> > > generate images that can be used in Visio (which can open SVG), 
> > > possibly convert to PDF and also view on the web. The images will
> be
> > > generated by a program i want to write which will interpret some
> data
> > > in a database.
> > >
> > > Basically i'm making schematics for a wiring diagram and i will
> have
> > > connector types saved in a database as well as to/from pin
> routings.
> > > >From this data i want to generate the schematic using SVG.
> > >
> > > I'm proficient in C/C++ but i'm not sure where to begin. Is there
> an
> > > SVG SDK for C/C++ out there somewhere?
> > >
> > > Thanks for any suggestions,
> > > Chris
> > 
> > Hi Chris
> > 
> > i dont know any c/c++ , but as svg is just plain simple xml, you
> should 
> > be able to build your svgs with any xml lib.
> > for more advanced features including rendering, and rendering to
> pdf see:
> > http://cairographics.org/introduction
> > and
> > http://cairographics.org/libsvg
> > 
> > or if you could use Java, there is the Apache Batik project, which
> is 
> > the most complete open source SVG implementation.
> > http://xml.apache.org/batik/
> > 
> > and if you are on Linux have a look at 
> http://librsvg.sourceforge.net/
> > 
> > or if you plan to have a GUI , and want that to be portable, you
> migth 
> > as well think of building a XUL app, using mozilla svg.
> > http://www.mozilla.org/projects/svg/
> > http://www.xulplanet.com/
> > 
> > as i said i dont know c/c++ ,
> > hope it helps anyways
> > Holger
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> <font face=arial size=-1><a 
> href="http://us.ard.yahoo.com/SIG=12h4339tc/M=362329.6886308.7
> 839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123008432
> /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p
> age_id=1992
> ">Fair play? Video games influencing politics. Click and talk 
> back!</a>.</font> 
> --------------------------------------------------------------
> ------~-> 
> 
> -----
> To unsubscribe send a message to: 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click 
> "edit my membership"
> ----
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h6sb1c4/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123011205/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to