protected override void FinishDrawing()
        {
            RectangleF      rect = GetNormalRectangle(_Points[0].layerCoord, _Points[1].layerCoord);
            CurlyBraceShape go   = new CurlyBraceShape(new PointD2D(rect.X, rect.Y), new PointD2D(rect.Width, rect.Height));

            // deselect the text tool
            _grac.SetGraphToolFromInternal(Altaxo.Gui.Graph.Viewing.GraphToolType.ObjectPointer);
            _grac.ActiveLayer.GraphObjects.Add(go);
            _grac.WinFormsController.RefreshGraph();
        }
        protected override void FinishDrawing()
        {
            var rect = GetNormalRectangle(_Points[0].LayerCoordinates, _Points[1].LayerCoordinates);

            // deselect the text tool
            _grac.SetGraphToolFromInternal(GraphToolType.ObjectPointer);

            if (rect.Width != 0 && rect.Height != 0)
            {
                var go = new CurlyBraceShape(_grac.Doc.GetPropertyContext());
                go.SetParentSize(_grac.ActiveLayer.Size, false);
                go.SetRelativeSizePositionFromAbsoluteValues(rect.Size, rect.LeftTop);
                _grac.ActiveLayer.GraphObjects.Add(go);
            }
        }