SysGraphicLightDrawRect (FUN)

FUNCTION SysGraphicLightDrawRect : RTS_IEC_RESULT

<description>

Function to draw a rectangle based on top left and bottom right. </description>

<param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”rectangle” type=”IN”>Rectangle description.</param> <param name=”eRectType” type=”IN”>Rectangle type. See corresponding category.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Return

SysGraphicLightDrawRect

RTS_IEC_RESULT

Input

hDisplayContext

RTS_IEC_HANDLE

rectangle

SimpleRectangle

eRectType

RectangleType