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

CreatePositionPathsRight() private method

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

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

Same methods

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