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

CreatePositionPathsBoth() private method

private CreatePositionPathsBoth ( Rectangle drawRect ) : GraphicsPath
drawRect System.Drawing.Rectangle
return System.Drawing.Drawing2D.GraphicsPath
        private GraphicsPath CreatePositionPathsBoth(Rectangle drawRect)
        {
            GraphicsPath path = new GraphicsPath();
            path.AddLines(new PointF[]{ new PointF(drawRect.X + 0.75f, drawRect.Y),
                                        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 + 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::CreatePositionPathsBoth ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
RenderStandard