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
Attachment:
signature.asc
Description: This is a digitally signed message part