Beispiel #1
0
		private void OnWindowChanged(WindowChangedEventArgs e)
		{
			if (WindowChanged != null)
				WindowChanged(this, e);
		}
		private void viewport1_WindowChanged(object sender, WindowChangedEventArgs e)
		{
            if (AutoRender && e.Type != WindowChangedEventType.PanStart && e.Type != WindowChangedEventType.Pan && _renderer != null)
                RedrawAsync();

            if (_matrixWindow != null)
                _matrixWindow.Matrix = viewport1.View;
		}