[ANN] Squeak OpenVG bingings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Squeak OpenVG bingings

Igor Stasenko
Hello guys,

this is a small project to enable a fast & standard 2D vector graphics
API for squeak - OpenVG.

The squeak sources is hosted at:
  http://www.squeaksource.com/OpenVG

  currently there are 4 packages:
    OpenVG-Base   - base development package
    OpenVG-Tests  - package to hold different tests
    OpenVG-Demo - package to hold different demos

    OpenVG-Plugin - VMMaker package sources. Before installing it,
load the OpenVG-Base first.

The platform source files is hosted at code.coogle and can be obtained via svn:
   svn checkout http://openvg-squeak.googlecode.com/svn/trunk/

Platforms:
  - currently plugin available only for win32 platform, sorry. If
there is a brave soul to port the platform source on different
platform , i can add him to developers :)

To evaluate a plugin, install:

    OpenVG-Base,  OpenVG-Tests , OpenVG-Demo packages

next, download the squeak plugin from here:

http://openvg-squeak.googlecode.com/files/OpenVGPlugin.dll

now pick one of an OpenVG engine implementations:

[1]http://www.amanithvg.com/download/  (a closed source , but VERY
fast engine.. and for evaluation only :( )
   it having a SRE and GLE versions. Use GLE version.

[2]download & build own dll from http://sourceforge.net/projects/shivavg/
  or download built by me:
http://openvg-squeak.googlecode.com/files/OpenVGPlugin.dll

There are also other OpenVG implementations available:
  - GinkoVG (software renderer)
  - Kompazz  (seems like authors target it on unix platforms only)

Now, after doing the above you are ready to run some code.
First, tell a plugin, which OpenVG engine to use:

OpenVGAPI loadLibrary: 'yourlibname.dll'

Next, init the context:

OpenVGAPI initContext

Next, run some test:

VGUTests new display

Next run a tiger demo:

VGTigerDemo runDemo

have fun!


P.S. at the moment, the OpenVG API coverage is not complete (no
VGImage yet). So, you can play with paths/paints only.

--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] [ANN] Squeak OpenVG bingings

Michael Rueger-6
Igor Stasenko wrote:
> Hello guys,
>
> this is a small project to enable a fast & standard 2D vector graphics
> API for squeak - OpenVG.

How does OpenVG compare to Cairo in terms of capabilities?
How different are the resulting graphics on different platforms?

Sounds like to good thing to have nevertheless :-)
Would be interesting to integrate the OpenVG binding into the Rome
Canvas hierarchy.

Michael

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project