DrawPixelPolygon (class MKI_DISPLAYDATA) Changed in Version 2023.0 |
www.CAD6.com |
C++ Syntaxvoid MKI_DISPLAYDATA::DrawPixelPolygon( MKI_CONST_POINT_PTR f_pPoints, __int32 f_nPointCount, const D2D1_COLOR_F* f_pFillColor, const D2D1_COLOR_F* f_pEdgeColor );
Draws a filled polygon using the engine defined in the display data.
This procedure is usually used in reaction to a call of the MKI_PlugInNotify procedure with either MKI_NOTIFY_DISPLAY_CALLBACK or MKI_NOTIFY_DISPLAY_TEMP.
ParametersPoints [MKI_CONST_POINT_PTR] Address of a list of points of the polygon to be drawn in screen pixels. PointCount [__int32] Number of points in the list. Must be at least 3 to be drawn. FillColor New in Version 2023.0 [D2D1_COLOR_F*] Address of a Direct2D color in RGB notation with transparency (alpha) information to be used for filling the polygon. May be nullptr, resulting in non-filled output. EdgeColor New in Version 2023.0 [D2D1_COLOR_F*] Address of a Direct2D color in RGB notation with transparency (alpha) information to be used for outlining the polygon. The outline will be drawn with a solid line using a default width. May be nullptr, resulting in non-outlined output.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH