Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 5732 of file graphics.c.
{ GpStatus ret; GpPointF *ptf; INT i; TRACE("(%p, %p, %p, %d)\n", graphics, pen, points, count); if(count<=0) return InvalidParameter; ptf = GdipAlloc(sizeof(GpPointF) * count); for(i = 0;i < count; i++){ ptf[i].X = (REAL)points[i].X; ptf[i].Y = (REAL)points[i].Y; } ret = GdipDrawPolygon(graphics,pen,ptf,count); GdipFree(ptf); return ret; }