ComponentFactory.Krypton.Toolkit.RenderStandard.DrawRibbonTabSelectedLeftDraw2010 C# (CSharp) Method

DrawRibbonTabSelectedLeftDraw2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedLeftDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2010
g System.Drawing.Graphics
return void
        protected virtual void DrawRibbonTabSelectedLeftDraw2010(Rectangle rect,
                                                                 MementoRibbonTabSelected2010 cache,
                                                                 Graphics g)
        {
            // Fill in the bottom two lines that the 'FillPath' above missed
            g.DrawLine(cache.centerPen, rect.Right - 2, rect.Bottom - 3, rect.Right - 2, rect.Top + 2);
            g.DrawLine(cache.centerPen, rect.Right - 1, rect.Bottom - 2, rect.Right - 1, rect.Top + 1);

            using (AntiAlias aa = new AntiAlias(g))
            {
                // Draw shadow lines on the outside of the top and bottom edges
                g.DrawLine(_mediumShadowPen, rect.Right - 3, rect.Bottom - 1, rect.Left + 3, rect.Bottom - 1);
                g.DrawLine(_mediumShadowPen, rect.Right - 3, rect.Top, rect.Left + 3, rect.Top);
            }
        }
RenderStandard