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
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
Environment ¶ SysGraphicLightBeginPaint (Function) SysGraphicLightEndPaint (Function) SysGraphicLightGetDisplayDeviceContext (Function) SysGraphicLightReleaseDisplayDeviceContext (Function)
SysGraphicLightDrawText (FUN) ¶ FUNCTION SysGraphicLightDrawText : RTS_IEC_RESULT <description> Function to draw a text, based on top left and bottom right. Only the first line, if more than one is given. </description> <param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”rectangle” type=”IN”>Rectangle description.</param> <param name=”pszText” type=”IN”>Will be either: <ul> <li>char* if TF_WSTRING is not set in udiDrawFlags</li> <li>short* if (TF_WSTRING is set in udiDrawFlags)</li> </ul> </param> <param name=”udiDrawFlags” type=”IN”>Draw flags. Defined in IEC-Code for Visualization.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightDrawText RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE rectangle SimpleRectangle pszText POINTER TO BYTE udiDrawFlags UDINT
SysGraphicLightSetFill (FUN) ¶ FUNCTION SysGraphicLightSetFill : RTS_IEC_RESULT <description> Function to set the fill style of the following objects. </description> <param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”udiFillFlags” type=”IN”>Fill flags. Defined in IEC-Code for Visualization</param> <param name=”udiFillColor” type=”IN”>Fill color. Defined in IEC-Code for Visualization</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightSetFill RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE udiFillFlags UDINT udiFillColor UDINT
SysGraphicLightSetFont (FUN) ¶ FUNCTION SysGraphicLightSetFont : RTS_IEC_RESULT <description> Function to set the font for the following drawn texts. </description> <param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”pszFontName” type=”IN”>Name of the font that should be created.</param> <param name=”iFontSize” type=”IN”>Size of the font.</param> <param name=”udiFontFlags” type=”IN”>The font flags.</param> <param name=”udiFontCharSet” type=”IN”>The font character set.</param> <param name=”udiFontColor” type=”IN”>The font color.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightSetFont RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE Input Const pszFontName REFERENCE TO STRING Input iFontSize INT udiFontFlags UDINT udiFontCharSet UDINT udiFontColor UDINT
SysGraphicLightSetLine (FUN) ¶ FUNCTION SysGraphicLightSetLine : RTS_IEC_RESULT <description> Function to set the line style of the following objects. </description> <param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”iLineWidth” TYPE=”IN”>Width OF the line as in Win32</param> <param name=”udiLineFlags” type=”IN”>Line flags. Defined in IEC-Code for Visualization</param> <param name=”udiLineColor” type=”IN”>Line color. Defined in IEC-Code for Visualization</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightSetLine RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE iLineWidth INT udiLineFlags UDINT udiLineColor UDINT
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 01.04.2022, 08:15:48 companyName string 3S-Smart Software Solutions GmbH libraryFile SysGraphicLight Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysGraphicLight Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 01.04.2022, 08:15:48 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace Description See: Description Placeholder SysGraphicLight Implementation Project SysGraphicLight Implementation Title SysGraphicLight Implementation Version version 3.5.18.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysGraphicLight Interfaces ¶ Library Identification ¶ Name: SysGraphicLight Interfaces Version: newest Company: System Namespace: SysGraphicLight_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysGraphicLight Interfaces, * (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
SysGraphicLight Interfaces Library Documentation ¶ Company System Title SysGraphicLight Interfaces Version 3.5.18.0 Categories System|SysLibs Author CODESYS Development GmbH Description 1 ¶ This library provides common types for the SysGraphicLight component of the runtime system. Contents: ¶ Enums BrushStyle (Enum) PenStyle (Enum) PolygonType (Enum) RectangleType (Enum) Structs PaintRectangle (Struct) Point (Struct) SimpleRectangle (Struct) Indices and tables ¶ 1 Based on SysGraphicLight_Itfs.library, last modified 01.04.2022, 08:15:56. LibDoc 4.4.0.0-b.27 The content file SysGraphicLight_Itfs.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 01.04.2022, 08:15:56.