Hid the platform specific implementation of the graphics context class with the pointer to implementation idiom.