private void InitializeGraphicsContext(GraphicsContext graphicsContext, CoordinateSystemMode coordinateSystemMode)
{
GraphicsContext = graphicsContext;
CoordinateSystemMode = coordinateSystemMode;
ScreenWidth = GraphicsContext.Screen.Rectangle.Width;
ScreenHeight = GraphicsContext.Screen.Rectangle.Height;
FrameBuffer fb = GraphicsContext.GetFrameBuffer();
FrameBufferWidth = fb.Width;
FrameBufferHeight = fb.Height;
FrameBufferWidthAsSingle = (Single)FrameBufferWidth;
FrameBufferHeightAsSingle = (Single)FrameBufferHeight;
}