MKI_InputDrawPatch (Input) New in Version 2023.0

www.CAD6.com

C++ Syntax

void

MKI_InputDrawPatch(

 MKI_CONST_PATCH_REF f_rPatch,

 D2D1_COLOR_F* f_pFillColor,

 D2D1_COLOR_F* f_pEdgeColor

 );

 

Draws a simple patch, i.e. a line, a triangle, or a quadrangle defined by the given points.

 

This command may only be called from within a MKI_InputDisplayProc!

 

Parameters

f_rPatch

[MKI_CONST_PATCH_REF] Definition of the patch. The coordinates are in internal [mm] (relative to the internal origin, scale-independent).

f_pFillColor

[D2D1_COLOR_F*] Direct2D color in RGB notation with transparency (alpha) information to be used for filling the patch. May be nullptr, resulting in non-filled output.

f_pEdgeColor

[D2D1_COLOR_F*] Direct2D color in RGB notation with transparency (alpha) information to be used for outlining the patch. The outline will be drawn with a solid line using a default width. May be nullptr, resulting in non-outlined output.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH