[cairo] using cairo in c++

Bill Spitzak spitzak at d2.com
Thu Oct 13 13:39:59 PDT 2005


Don't use the #define, instead include <cairo.h> directly along with 
fltk/x.h. Otherwise your fix looks good. I will get this and a few more 
cairo calls into the CVS version as soon as possible, unfortunatly that 
looks like not until next week.

John Taber wrote:

>> Yes. It is now:
>>
>>     typedef struct _cairo cairo_t;
>>
> 
> okay - made the above change in fltk/x.h - it recompiles without errors.
>  And added the #define but still the cairo commands are undefined -
> here is code - am I calling cairo commands incorrectly ?


More information about the cairo mailing list