private void DrawXYLine(DrawBlock block, Graphics graphic, Pen pen, double picRadio)
 {
     graphic.DrawLine(pen,
                      (float)(block.StartX * picRadio),
                      (float)(block.StartY * picRadio),
                      (float)(block.EndX * picRadio),
                      (float)(block.EndY * picRadio));
 }
 private void DrawXYCircleWithIJ(DrawBlock block, Graphics graphic, Pen pen, float picRadio)
 {
     graphic.DrawArc(
         pen,
         (float)(block.CenterX - block.Radius) * picRadio,
         (float)(block.CenterY - block.Radius) * picRadio,
         (float)block.Radius * 2 * picRadio,
         (float)block.Radius * 2 * picRadio,
         (float)(block.EndArc * 180 / Math.PI),
         (float)(block.StartArc.ToGraphicsSweep(block.EndArc, block.IsArcCw) * 180 / Math.PI)
         );
 }