GdipAddPathLine (gdiplus)
Last changed: -117.226.231.194

.
Summary
TODO - a short description

C# Signature:

[DllImport("gdiplus.dll", CharSet=CharSet.Unicode, ExactSpelling=true)]
static extern int GdipAddPathLine(HandleRef path, float x1, float y1,
   float x2, float y2);

VB Signature:

Declare Function GdipAddPathLine Lib "gdiplus.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Add this code to a form:

protected override void OnPaint(PaintEventArgs e)
{
    e.Graphics.DrawLine(new Pen(Color.Red), 0, 0, 100, 100);
}

Alternative Managed API:

System.Drawing.Graphics.DrawLine(Pen pen, float x1, float y1, float x2, float y2);

Documentation