www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - OpenVG bindings

reply "ddos" <oggs gmx.at> writes:
Hi folks,

today i've created my first dlang library ^_^ a binding to the 
OpenVG library standard. The referenced implementation is ShivaVG 
which allows to draw vector graphics within an OpenGL context 
(similar to cairo).
A small demo application is included, using derelict gl3 and glfw3

https://github.com/oggs91/OpenVG_D
http://code.dlang.org/packages/dopenvg
Apr 03 2015
next sibling parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
On 4/04/2015 11:53 a.m., ddos wrote:
 Hi folks,

 today i've created my first dlang library ^_^ a binding to the OpenVG
 library standard. The referenced implementation is ShivaVG which allows
 to draw vector graphics within an OpenGL context (similar to cairo).
 A small demo application is included, using derelict gl3 and glfw3

 https://github.com/oggs91/OpenVG_D
 http://code.dlang.org/packages/dopenvg
Could you please add an example using Devisualization.Window? That way its one less external to D library that is a dependency. https://github.com/Devisualization/window
Apr 03 2015
parent "ddos" <oggs gmx.at> writes:
On Saturday, 4 April 2015 at 02:47:46 UTC, Rikki Cattermole wrote:
 On 4/04/2015 11:53 a.m., ddos wrote:
 Hi folks,

 today i've created my first dlang library ^_^ a binding to the 
 OpenVG
 library standard. The referenced implementation is ShivaVG 
 which allows
 to draw vector graphics within an OpenGL context (similar to 
 cairo).
 A small demo application is included, using derelict gl3 and 
 glfw3

 https://github.com/oggs91/OpenVG_D
 http://code.dlang.org/packages/dopenvg
Could you please add an example using Devisualization.Window? That way its one less external to D library that is a dependency. https://github.com/Devisualization/window
I tried and failed so far, pls have a look here: http://forum.dlang.org/thread/acfmrhyhpdrukkqljohq forum.dlang.org
Apr 06 2015
prev sibling parent reply "Baz" <bb.temp gmx.com> writes:
On Friday, 3 April 2015 at 22:53:51 UTC, ddos wrote:
 Hi folks,

 today i've created my first dlang library ^_^ a binding to the 
 OpenVG library standard. The referenced implementation is 
 ShivaVG which allows to draw vector graphics within an OpenGL 
 context (similar to cairo).
 A small demo application is included, using derelict gl3 and 
 glfw3

 https://github.com/oggs91/OpenVG_D
 http://code.dlang.org/packages/dopenvg
Thx. I'll give it a try because it matches something i've started last week. I could use Cairo but a few years ago i've already gave up something similar because of the bad performances (Cairo is made and dedicated to inkscape, isn't it ?). Are OpenVG perfs better? This lib is quite unknown btw.
Apr 04 2015
parent "ddos" <oggs gmx.at> writes:
On Saturday, 4 April 2015 at 09:24:29 UTC, Baz wrote:
 On Friday, 3 April 2015 at 22:53:51 UTC, ddos wrote:
 Hi folks,

 today i've created my first dlang library ^_^ a binding to the 
 OpenVG library standard. The referenced implementation is 
 ShivaVG which allows to draw vector graphics within an OpenGL 
 context (similar to cairo).
 A small demo application is included, using derelict gl3 and 
 glfw3

 https://github.com/oggs91/OpenVG_D
 http://code.dlang.org/packages/dopenvg
Thx. I'll give it a try because it matches something i've started last week. I could use Cairo but a few years ago i've already gave up something similar because of the bad performances (Cairo is made and dedicated to inkscape, isn't it ?). Are OpenVG perfs better? This lib is quite unknown btw.
I think the reason for this is that vector graphics are mainly used for drawing userinterfaces and illustrations like pdf file, svg file, etc. Here performance isn't much of a problem so there isn't any need for change. Cairo is imho a quasi standard and didn't change much since long time. Since I use OpenGL I recently looked into OpenVG and it has a really clean and easy to understand renderpipeline and api. Khronos created a specification for OpenVG, but there aren't many (open) implementations yet. Some mobilephone manufacturers have implementations for their devices, like nokia. Since you are interested in performance i think going with any hardware accelerated vector graphics library should work out for you. ShivaVG or cairo with a opengl backend (there are lots of different backends)
Apr 06 2015