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

CreatePositionPathsLeft() private method

private CreatePositionPathsLeft ( Rectangle drawRect ) : GraphicsPath
drawRect System.Drawing.Rectangle
return System.Drawing.Drawing2D.GraphicsPath
        private GraphicsPath CreatePositionPathsLeft(Rectangle drawRect)
        {
            float half = (float)drawRect.Height / 2 - 0.5f;

            GraphicsPath path = new GraphicsPath();
            path.AddLines(new PointF[]{ new PointF(drawRect.Right - 1.75f, drawRect.Y),
                                        new PointF(drawRect.Right - 1.0f, drawRect.Y + 0.75f),
                                        new PointF(drawRect.Right - 1.0f, drawRect.Bottom - 2.0f),
                                        new PointF(drawRect.Right - 2.0f, drawRect.Bottom - 1.0f),
                                        new PointF(drawRect.X + half, drawRect.Bottom - 1.0f),
                                        new PointF(drawRect.X, drawRect.Bottom - half - 1.0f),
                                        new PointF(drawRect.X + half, drawRect.Y),
                                        new PointF(drawRect.Right - 1.75f, drawRect.Y)});

            return path;
        }

Same methods

RenderStandard::CreatePositionPathsLeft ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
RenderStandard