' Gdiplus.ab

Declare Function GdipAlloc Lib "Gdiplus.dll" (size As SIZE_T) As VoidPtr
Declare Sub GdipFree Lib "Gdiplus.dll" (ptr As VoidPtr)

#require <GdiplusEnums.ab>
#require <GdiplusTypes.ab>
#require <GdiplusInit.ab>
#require <GdiPlusGpStubs.ab>

#require <GdiplusFlat.ab>

'#require <Classes/System/Drawing/misc.ab>
'#require <Classes/System/Drawing/Imaging/misc.ab>
'#require <Classes/System/Drawing/Imaging/MetafileHeader.ab>
