ASP.NET C# Graphics Path shape
<p>I'm having problem generating certian path for slightly modified round corner rectagle, here is code I am using for generating round rectagle:</p>

<pre><code>    public static System.Drawing.Drawing2D.GraphicsPath RoundedRectangle(Rectangle r, int d)
    {

        System.Drawing.Drawing2D.GraphicsPath gp = new System.Drawing.Drawing2D.GraphicsPath();

        gp.AddArc(r.X, r.Y, d, d, 180, 90);
        gp.AddArc(r.X + r.Width - d, r.Y, d, d, 270, 90);
        gp.AddArc(r.X + r.Width - d, r.Y + r.Height - d, d, d, 0, 90);
        gp.AddArc(r.X, r.Y + r.Height - d, d, d, 90, 90);
        gp.AddLine(r.X, r.Y + r.Height - d, r.X, r.Y + d / 2);

        return gp;
    }
</code></pre>

<p>And now I need to generate something like this:</p>

<p><img src="http://i.stack.imgur.com/Vyzuj.png" alt="enter image description here"></p>

<p>What would be best approach to achive this? Maybe erasing left border and then adding right triangle somehow?</p>

<p>Any help is appreaciated, thanks!</p>
