[cairo] Is Cairo fo me?

Mohit Sindhwani ml3p at onghu.com
Tue Apr 16 03:45:51 PDT 2013

Hi José,

I have used an older version of Cairo with a Windows Surface backend 
using the pre-compiled libraries from the Gtk for Windows project in a 
couple of internal projects using Borland C++ Developer Studio 2006.  
This was a few years back but it worked fine.

More comments inline.

On 12/4/2013 10:22 PM, José Antonio Carmena wrote:
> We are developing a powerful application with 2D graphics in OpenGL, 
> but we have reached a point where lines and points are not enough. We 
> need dashed thick lines, double or triple thick lines, drawing SVGs in 
> OpenGL, filled complex polygons, etc. We tried to develop some of 
> these functions without success.

I can't comment on using an OpenGL backend with Cairo because I have 
never tried it.  If you need it to be OpenGL enabled, I think someone 
else may have better inputs.

> We found Cairo and wonder if it would be a good choice. It should 
> solve the problems I mentioned above, plus working under Linux, Mac 
> and Windows, without any code modification.

"working under Linux, Mac and Windows"... well, the Cairo code may work 
but you'll still have to either use something cross-platform for the 
platform-specific surfaces, etc. or will need some platform specific 
code there anyway.

> Does Cairo meet these requirements?
As a library alone, it would... not sure about the OpenGL part.

> By the way, now we are developing in Embarcadero (formerly Borland). 
> Have you tried to use Cairo in that IDE?
Are you using XE3?  Even XE3 will only give you Mac OS and Windows, not 
Linux.  I have not tried using Cairo under Firemonkey but now there's a 
thought!  You would still need a Mac to compile the MacOS executable.

Let me know how it turns out... this is something I'm also keen to see :)

Best Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130416/fd4af79c/attachment.html>

More information about the cairo mailing list