예제 #1
0
 /// <summary>
 /// The core of the Draw() method, where the rectangle actually gets painted.
 /// Vertical views use a rotated drawing routine.
 /// </summary>
 /// <param name="vdrb"></param>
 /// <param name="rootb"></param>
 /// <param name="hdc"></param>
 /// <param name="drawRect"></param>
 /// <param name="backColor"></param>
 /// <param name="drawSel"></param>
 /// <param name="clipRect"></param>
 public virtual void DrawTheRoot(IVwDrawRootBuffered vdrb, IVwRootBox rootb, IntPtr hdc,
                                 SIL.Utils.Rect drawRect, uint backColor, bool drawSel,
                                 Rectangle clipRect)
 {
     vdrb.DrawTheRoot(rootb, hdc, clipRect, backColor,
                      drawSel, m_site);
 }
예제 #2
0
 /// -----------------------------------------------------------------------------------
 /// <summary>
 /// The core of the Draw() method, where the rectangle actually gets painted.
 /// Vertical views use a rotated drawing routine.
 /// </summary>
 /// <param name="vdrb"></param>
 /// <param name="rootb"></param>
 /// <param name="hdc"></param>
 /// <param name="drawRect"></param>
 /// <param name="backColor"></param>
 /// <param name="drawSel"></param>
 /// <param name="clipRect"></param>
 /// -----------------------------------------------------------------------------------
 public override void DrawTheRoot(IVwDrawRootBuffered vdrb, IVwRootBox rootb, IntPtr hdc,
                                  SIL.Utils.Rect drawRect, uint backColor, bool drawSel,
                                  Rectangle clipRect)
 {
     vdrb.DrawTheRootRotated(rootb, hdc, drawRect, backColor,
                             drawSel, m_site, 1);
 }