DrawPixelOrigin (class MKI_DISPLAYDATA)

www.CAD6.com

C++ Syntax

void

MKI_DISPLAYDATA::DrawPixelOrigin(

 double f_dX,

 double f_dY,

 MKI_COLORVALUE f_cColor,

 const LPCWSTR f_pszText );

 

Draws an origin marker 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

X, Y

[double] Coordinates of the origin to be drawn in screen pixels.

Color

[MKI_COLORVALUE] RGB color to be used to draw the origin marker's outline. It will always have quarters filled in black and white.

Text

[const LPCWSTR] Optional text to be drawn on the lower right of the origin marker. Should not be more than a very few characters. May be nullptr.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH