Wrapper for GDI plus functions