namespace TriangleNet.Rendering.GDI.Native
{
using System.Runtime.InteropServices;
///
/// The GRADIENT_TRIANGLE structure specifies the index of three
/// vertices in the pVertex array in the GradientFill function.
/// These three vertices form one triangle
///
///
/// http://msdn.microsoft.com/en-us/library/windows/desktop/dd144959.aspx
///
[StructLayout(LayoutKind.Sequential)]
internal struct GradientTriangle
{
///
/// The first point of the triangle where sides intersect.
///
public uint Vertex1;
///
/// The second point of the triangle where sides intersect.
///
public uint Vertex2;
///
/// The third point of the triangle where sides intersect.
///
public uint Vertex3;
}
}