DrawPixelEllipse (class MKI_DISPLAYDATA) New in Version 2023.0

www.CAD6.com

C++ Syntax

void

MKI_DISPLAYDATA::DrawPixelEllipse(

 double f_dX1,

 double f_dY1,

 double f_dX2,

 double f_dY2,

 double f_dX3,

 double f_dY3,

 const D2D1_COLOR_F* f_pFillColor,

 const D2D1_COLOR_F* f_pEdgeColor );

 

Draws an ellipse 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.

 

Parameters

X1, Y1,
X2, Y2,
X3, Y3,

[double] Center and two vector definition points of the ellipse to be drawn in screen pixels.

FillColor

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

EdgeColor

[D2D1_COLOR_F*] Address of a Direct2D color in RGB notation with transparency (alpha) information to be used for outlining the ellipse. 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