// DrawMode() should be used in conjuction with DrawOutline()
        public static RenderParameter DrawMode()
        {
            if (m_DrawMode == null)
                m_DrawMode = CreateDrawMode();

            return m_DrawMode;
        }
 public void DrawScales(System.Drawing.Graphics gc, RenderParameter r, PointD thePoint, PointD theVector)
 {
 }
 public void DrawPositiveSpace(Graphics gc, GraphicsPath path, RenderParameter r)
 {
 }
 public void DrawHandles(Graphics gc, IToolFilter filter, RenderParameter r)
 {
 }
 protected static void CreateDrawMode(RenderParameter n)
 {
     n.RegionOutline = new Pen(Color.FromArgb(192, Color.Silver));
     n.RegionGuides = n.RegionOutline;
     n.StrokeOutline = n.RegionOutline;
     n.HandleOutline = Pens.Transparent;
     n.RegionInsideFill = Brushes.Transparent; // new SolidBrush(Color.FromArgb(127, Color.White));
     n.RegionOutsideFill = null;
     n.FontType = new Font(System.Drawing.FontFamily.GenericSansSerif, 8);
 }
 public static RenderParameter DetailedMode()
 {
     if (m_DetailedMode == null)
         m_DetailedMode = CreateDetailedMode();
     return m_DetailedMode;
 }
 private static RenderParameter CreateDrawMode()
 {
     RenderParameter n = new RenderParameter();
     CreateDrawMode(n);
     return n;
 }
 private static RenderParameter CreateDetailedMode()
 {
     RenderParameter n = new RenderParameter();
     n.RegionOutline = new Pen(Color.Black, 1);
     n.RegionGuides = new Pen(Color.Black, 1);
     n.StrokeOutline = new Pen(Color.Black, 1);
     n.HandleOutline = new Pen(Color.DarkBlue, 1);
     n.HandleFill = new SolidBrush(Color.LightBlue);
     n.StrokeFill = new SolidBrush(Color.FromArgb(127, Color.White));
     n.RegionInsideFill = new SolidBrush(Color.FromArgb(127, Color.White));
     n.RegionOutsideFill = null;
     n.FontType = new Font(System.Drawing.FontFamily.GenericSansSerif, 8);
     return n;
 }
 public void DrawPositiveSpace(Graphics gc, GraphicsPath path, RenderParameter r)
 {
     // do nothing here
 }
 public void DrawHandles(Graphics gc, IToolFilter filter, RenderParameter r)
 {
     // do nothing here
 }
 public void DrawArrow(System.Drawing.Graphics gc, RenderParameter r, PointD thePoint, PointD theVector)
 {
     // do nothing here
 }