Gdi::Polygon_I (Windows CE 5.0)
This method draws a polygon consisting of two or more vertices connected by straight lines. The current pen outlines the polygon, and the current brush fills the polygon using the specified polygon fill mode.
static WINGDIAPI BOOL WINAPI Polygon_I(HDChdc, constPOINT* lpPoints, intnCount);
Parameters
hdc
[in] Handle to the device context.lpPoints
[in] Long pointer to an array of POINT structures that specify the vertices of the polygon.nCount
[in] Integer that specifies the number of vertices in the array.This value must be greater than or equal to 2.
Return Values
Nonzero indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
Remarks
This method is an internal version of the Polygon function.
The polygon is closed by drawing a line from the last vertex to the first.
Gdi::Polygon_I neither uses nor updates the current position.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.
See Also
Gdi | Polygon | Gdi::Polyline_I | POINT
Send Feedback on this topic to the authors