GradientFill (gdi32)
Last changed: -84.229.91.166

.
Summary
Performs GDI32 based gradient fills of rectangles and triangles

C# Signature:

  [DllImport("gdi32.dll", EntryPoint="GdiGradientFill", ExactSpelling = true)]
  public static extern bool GradientFill(
    IntPtr hdc,           // handle to DC
    TRIVERTEX[] pVertex,    // array of vertices
    uint dwNumVertex,     // number of vertices
    GRADIENT_RECT[] pMesh,           // array of gradients
    uint dwNumMesh,       // size of gradient array
    uint dwMode           // gradient fill mode);

VB Signature:

Declare Function GradientFill Lib "gdi32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation