public unsafe void FillTriangleFan(float* polygon2dVertices, int nelements, Drawing.Color color)
{
SetCurrent();
CheckViewMatrix();
//--------------------------------------------
u_solidColor.SetValue((float)color.R / 255f, (float)color.G / 255f, (float)color.B / 255f, (float)color.A / 255f);
a_position.UnsafeLoadPureV2f(polygon2dVertices);
GL.DrawArrays(BeginMode.TriangleFan, 0, nelements);
}
public void DrawLine(float x1, float y1, float x2, float y2, PixelFarm.Drawing.Color color)