C-based implementation of the GDI+ API