Beispiel #1
0
        public void Update(Size?renderSize, SceneView2D xform, Record2D scene)
        {
            if (CheckAccess())
            {
                _UI_Update(renderSize, xform, scene); return;
            }

            scene.CopyTo(_SafeClone2D);

            this.Dispatcher.Invoke(() => _UI_Update(renderSize, xform, _SafeClone2D));
        }
Beispiel #2
0
 private void _UI_Update(Size?renderSize, SceneView2D xform, Record2D scene)
 {
     _DeviceContext2D.DrawScene(_VectorDrawing, renderSize, xform, scene);
     _VectorImage.Drawing = _VectorDrawing.Drawing;
 }
Beispiel #3
0
 public void Update(int width, int height, SceneView2D xform, Record2D scene)
 {
     Update(new Size(width, height), xform, scene);
 }