Win32 to D
    nomad 
    nospam at home.com
       
    Sun Nov  8 15:48:36 PST 2009
    
    
  
Frank Benoit Wrote:
> nomad schrieb:
> > I would like to use the following Win32 function in D:
> > 
> > GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointI(
> >     GpGraphics * graphics,
> >     GDIPCONST GpMetafile * metafile,
> >     GDIPCONST Point & destPoint,
> >     GDIPCONST Rect & srcRect,
> >     Unit srcUnit,
> >     EnumerateMetafileProc callback,
> >     VOID * callbackData,
> >     GDIPCONST GpImageAttributes * imageAttributes
> > );
> > 
> > what is the proper way to do so?
> > 
> > 
> 
> FYI, there is GDI+ in DWT, see dwt-win\dwt\internal\gdip\
I had no idea it already existed but since I've already got all structures, constants, enums, and some 600+ functions already include in my implementation, I'll see if I can complete it before I peek into DWT.
Thank you much.
    
    
More information about the Digitalmars-d-learn
mailing list