[cairo] [Cairo] Sample Working Applications for OpenVG backend

Luca Barbato lu_zero at gentoo.org
Thu Nov 25 04:52:59 PST 2010


On 11/25/2010 11:06 AM, guhan senthilkumar wrote:
> Ok.. I got a problem. Looks like there has been a significant change in the
> paramaters for the functions too.. Initially i thought the change was just
> with the names.
> 
> I got undefined reference error for cairo_openvg_surface_create.. So i
> renamed it to cairo_vg_surface_create in my sample application(i got this
> from the group. I dint write it on my own) . After this change i got
> compilation errors saying very few arguments for
> cairo_vg_create_function.Any ideas??
> 
> It would be of great help if anybody can send me a sample application with
> openVG backend using latest cairo 1.10.0. (if possible one app with GLX and
> one with EGL) :) :)

That's my dumb application using EGL on X11, I'm using this one to
understand what's wrong with the first cairo test not crashing but
failing. You can find in the ml another example working in drawing some
squares.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-cairo-vg.c
Type: text/x-csrc
Size: 6813 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20101125/87df1473/attachment.c>


More information about the cairo mailing list