SysGraphicLightDrawPolygon (FUN)

FUNCTION SysGraphicLightDrawPolygon : RTS_IEC_RESULT

<description>

Function to draw a polygon based on an array of points. </description>

<param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”iPoints” type=”IN”>Number of points in the array.</param> <param name=”pPoints” type=”IN”>Pointer to the array of points. Length must be less or equal nPoints!</param> <param name=”ePolygonType” type=”IN”>Polygon type. See corresponding category.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Return

SysGraphicLightDrawPolygon

RTS_IEC_RESULT

Input

hDisplayContext

RTS_IEC_HANDLE

iPoints

INT

pPoints

POINTER TO Point

ePolygonType

PolygonType