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)); }
private void _UI_Update(Size?renderSize, SceneView2D xform, Record2D scene) { _DeviceContext2D.DrawScene(_VectorDrawing, renderSize, xform, scene); _VectorImage.Drawing = _VectorDrawing.Drawing; }
public void Update(int width, int height, SceneView2D xform, Record2D scene) { Update(new Size(width, height), xform, scene); }