internal static Point DrawCorner(this StreamGeometryContext context, Point fromPoint, double offsetX, double offsetY)
        {
            // ReSharper disable once CompareOfFloatsByEqualityOperator
            if (offsetX == 0)
            {
                return fromPoint;
            }

            var p = fromPoint.WithOffset(offsetX, offsetY);
            var size = new Size(Math.Abs(offsetX), Math.Abs(offsetY));
            context.ArcTo(p, size, 90, false, SweepDirection.Clockwise, true, true);
            return p;
        }
 private static Circle CreateBottomLeft(Point p, double r) => new Circle(p.WithOffset(r, -r), r);
 private static Circle CreateTopRight(Point p, double r) => new Circle(p.WithOffset(-r, r), r);