Beispiel #1
0
 public void SetSize(double width, double height)
 {
     _viewport.SetSize(width, height);
     if (_viewport.HasSize)
     {
         Limiter.LimitExtent(_viewport, Map.Envelope);
     }
 }
Beispiel #2
0
        public void SetViewportSize(int width, int height)
        {
            _width  = width;
            _height = height;

            Camera.Width  = width;
            Camera.Height = height;
            _viewport.SetSize(width, height);
            _zBuffer = new int[width * height];
        }