Re: [cairo] Re: Notes on cairo/win32
- From: "J. Ali Harlow" <ali juiblex co uk>
- To: Owen Taylor <otaylor redhat com>
- Cc: cairo cairographics org, gtk-devel-list gnome org, Miguel de Icaza <miguel ximian com>, John Ehresman <jpe wingide com>
- Subject: Re: [cairo] Re: Notes on cairo/win32
- Date: Thu, 13 Jan 2005 22:06:46 +0000
On 13/01/05 20:27:43, Owen Taylor wrote:
I think that the claim is that the flat API is C++ based too...
Concern, at least, yes.
GpPath *is* defined as a class, but only in the most trivial way.
As far as I can see, it's really just an opaque pointer and you could
use a C definition like:
typedef struct GpPath_ GpPath;
and it should work fine.
Let's hope you're right. I'll try and have a play tomorrow and see if I
can put together a gdiplusflat.h which uses opaque pointers or drops
functions that take classes that appear to be wrappers themselves (eg.,
GdipAddPathRectanglesI which probably just wraps
GdipAddPathRectangleI).
Ali.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]