SDL_svg library version 109 available

http://www.linuxmotors.com/SDL_svg/

This is a library used for rendering SVG objects onto SDL surfaces.
Version 109 incorporates the anti-aliasing rendering engine from freetype
and is a major step forward from the previous renderer.

SVG = Scaled Vector Graphics. You can draw your artwork with inkscape
http://www.inkscape.org/
and use SDL_svg to render it. It scales well (up or down). Not specifically
targeted for games, but things like pretty backgrounds, logos, icons, widgets
would be ideal.

SVG offers solid color, radial gradient, linear gradient fill types and
these are supported under SDL_svg. It also offers a pattern fill but this
isn’t supported yet.

Primitives that work are lines, bezier curves, and (partially) rectangles.
SVG supports arcs + ellipses but these aren’t supported yet. The path of a
stroke is a separate entity from the fill. SDL_svg currently does’t do anything
for the path, just the fill.

It’s a work in progress. However it is already extremely useful.

License is GPL._______________________________________________
SDL-announce mailing list
SDL-announce at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl-announce

Thanks, I’ll attach this to the LuaX set of scriptable SDL tools…

http://kotisivu.dnainternet.fi/askok/luax/index.html

Have you tried it on Win32, OS X yet?

Dave Ashley kirjoitti 18.2.2005 kello 15.51:> http://www.linuxmotors.com/SDL_svg/

This is a library used for rendering SVG objects onto SDL surfaces.
Version 109 incorporates the anti-aliasing rendering engine from
freetype
and is a major step forward from the previous renderer.

SVG = Scaled Vector Graphics. You can draw your artwork with inkscape
http://www.inkscape.org/
and use SDL_svg to render it. It scales well (up or down). Not
specifically
targeted for games, but things like pretty backgrounds, logos,
icons, widgets
would be ideal.

SVG offers solid color, radial gradient, linear gradient fill types
and
these are supported under SDL_svg. It also offers a pattern fill
but this
isn’t supported yet.

Primitives that work are lines, bezier curves, and (partially)
rectangles.
SVG supports arcs + ellipses but these aren’t supported yet. The
path of a
stroke is a separate entity from the fill. SDL_svg currently does’t
do anything
for the path, just the fill.

It’s a work in progress. However it is already extremely useful.

License is GPL.


SDL-announce mailing list
SDL-announce at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl-announce


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl