[cairo] Re: Notes on cairo/win32
Owen Taylor
otaylor at redhat.com
Thu Jan 13 12:27:43 PST 2005
On Thu, 2005-01-13 at 14:35 -0500, Miguel de Icaza wrote:
> Hey,
>
> > > From rom what I've figured out so far, the main two things that GDI+
> > > gives over GDI which are useful to us are anti-aliased paths and
> > > alpha-composited primitives.
> >
> > A major downside to GDI+ from my point of view is that it appears that
> > even the "Flat" API is actually in C++ (eg., GdipCreatePath takes a
> > GpPath **, where GpPath is a class). It's also not supported in mingw32
> > yet. There is a patch out there:
>
> It is the other way around.
>
> The GDI+ C++ interface is implemented on top of the C-based GDI+ flat
> API .
I think that the claim is that the flat API is C++ based too...
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.
Regards,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050113/6d11f89a/attachment.pgp
More information about the cairo
mailing list