public void BeginDraw()
        {
            EditorZoomArea.Begin(_canvas.Zoom, _canvas.WindowRect);
            Rect drawArea =
                new Rect(
                    _canvas.Position - _canvas.WindowRect.position / _canvas.Zoom,
                    Vector2.one * _canvas.CanvasSize);

            GUILayout.BeginArea(drawArea);
        }
 public void EndDraw()
 {
     GUILayout.EndArea();
     EditorZoomArea.End();
 }