ARCed.UI.VS2005AutoHideStrip.GetTabOutline C# (CSharp) Method

GetTabOutline() private method

private GetTabOutline ( TabVS2005 tab, bool transformed, bool rtlTransform ) : GraphicsPath
tab TabVS2005
transformed bool
rtlTransform bool
return System.Drawing.Drawing2D.GraphicsPath
        private GraphicsPath GetTabOutline(TabVS2005 tab, bool transformed, bool rtlTransform)
        {
            DockState dockState = tab.Content.DockHandler.DockState;
            Rectangle rectTab = this.GetTabRectangle(tab, transformed);
            if (rtlTransform)
                rectTab = this.RtlTransform(rectTab, dockState);
            bool upTab = (dockState == DockState.DockLeftAutoHide || dockState == DockState.DockBottomAutoHide);
            DrawHelper.GetRoundedCornerTab(GraphicsPath, rectTab, upTab);

            return GraphicsPath;
        }