implement Factory Interface for GraphicsContext