public void SetSize(double width, double height) { _viewport.SetSize(width, height); if (_viewport.HasSize) { Limiter.LimitExtent(_viewport, Map.Envelope); } }
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]; }