Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

open source SVG library for C++ or C

2,253 views
Skip to first unread message

Lynn McGuire

unread,
Oct 5, 2016, 5:52:20 PM10/5/16
to
Does anyone have any good experience with one of the various open source libraries for SVG graphics for C++ or C ?

I am using Visual Studio 2015 on Windows 7.

Thanks,
Lynn

Sjouke Burry

unread,
Oct 5, 2016, 6:08:32 PM10/5/16
to
maybe you can use
From this web page:

ZSVGA101.ZIP (288k)
SVGACC26.ZIP (178k)
SVGAPB26.ZIP (214k)
SVGAPV26.ZIP (202k)
SVGAQB26.ZIP (188k)

at the site
> http://www.zephyrsoftware.com/download/zdownld.html

svgacc for 16bit and zsvga for 32 bit.

Richard

unread,
Oct 5, 2016, 6:21:00 PM10/5/16
to
[Please do not mail me a copy of your followup]

Lynn McGuire <lynnmc...@gmail.com> spake the secret code
<nt3slu$me3$1...@dont-email.me> thusly:

>Does anyone have any good experience with one of the various open
>source libraries for SVG graphics for C++ or C ?
>
>I am using Visual Studio 2015 on Windows 7.

Anti-Grain Geometry supports SVG. There is an SVG viewer demo:
<http://www.antigrain.com/svg/index.html>
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

Rick C. Hodgin

unread,
Oct 5, 2016, 6:29:20 PM10/5/16
to
Richard wrote:
> [Please do not mail me a copy of your followup]

Richard, is this really such a common occurrence that you
have to placard every post you make with a stand-out bulletin?

I've never had one person ever also email me a reply of their usenet
post. I find it difficult to believe that it's so much an issue with
your inbox that it truly warrants the perpetual note.

Best regards,
Rick C. Hodgin

Malcolm McLean

unread,
Oct 5, 2016, 10:04:25 PM10/5/16
to
NanoSVG.

A copy is in the Baby X resource compiler.
(I've also remoulded it into an HTML canvas-compatible graphics
context for Baby X. It's essentially independent of Baby X so you
can just take the graphic context if you wish).

Nano SVG
https://github.com/memononen/nanosvg

Baby X rsource compiler
https://github.com/MalcolmMcLean/babyxrc

Baby X
https://github.com/MalcolmMcLean/babyx

mark.b...@gmail.com

unread,
Oct 6, 2016, 3:39:06 AM10/6/16
to
On Wednesday, 5 October 2016 23:29:20 UTC+1, Rick C. Hodgin wrote:
> Richard wrote:
> > [Please do not mail me a copy of your followup]
>
> Richard, is this really such a common occurrence that you
> have to placard every post you make with a stand-out bulletin?

Oh the humanity!

Beams and Motes, Rick, Beams and Motes...

Lynn McGuire

unread,
Oct 6, 2016, 1:29:30 PM10/6/16
to
Thanks but this appears to be VGA library for DOS.

Lynn

Lynn McGuire

unread,
Oct 6, 2016, 1:37:02 PM10/6/16
to
Thanks ! I will look into it.

We are looking into adding SVG as a new shape library format for our homegrown diagram toolkit that we have been using since the 1980s.
https://www.winsim.com/media/refinery.png

Ideally, I would like to have SVG, PNG, BMP, JPEG, etc.

Sincerely,
Lynn McGuire

Lynn McGuire

unread,
Oct 6, 2016, 5:15:00 PM10/6/16
to
As usual, I failed to mention that I did find a StackOverflow posting addressing this topic, "Render a vector graphic (.svg) in C++":
http://stackoverflow.com/questions/4176637/render-a-vector-graphic-svg-in-c

Thanks,
Lynn

Christian Gollwitzer

unread,
Oct 6, 2016, 5:24:42 PM10/6/16
to
Am 06.10.16 um 19:36 schrieb Lynn McGuire:
> On 10/5/2016 9:04 PM, Malcolm McLean wrote:
>> Nano SVG
>> https://github.com/memononen/nanosvg
>>
>> Baby X rsource compiler
>> https://github.com/MalcolmMcLean/babyxrc
>>
>> Baby X
>> https://github.com/MalcolmMcLean/babyx
>
> Thanks ! I will look into it.

Wow, Nano SVG is very impressive. example2.c is an SVG to PNG converter,
the PNG writer is 500 LOC and the whole Nano SVG lib is <5kLOC.

Thanks for pointing there!

Christian

Malcolm McLean

unread,
Oct 7, 2016, 3:07:29 AM10/7/16
to
You're welcome to raid the Baby X resource compiler.
It handles all those formats.

Lynn McGuire

unread,
Oct 7, 2016, 1:26:10 PM10/7/16
to
Thanks !

Lynn

0 new messages