DrawPixelBeam (class MKI_DISPLAYDATA) New in Version 2025.0

www.CAD6.com

C++ Syntax

void

MKI_DISPLAYDATA::DrawPixelBeam(

 double f_dX1,

 double f_dY1,

 double f_dX2,

 double f_dY2,

 const D2D1_COLOR_F& f_rColor );

 

Draws a beam 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

[double] Starting point of the beam to be drawn in screen pixels.

X2, Y2

[double] Point on the beam to be drawn in screen pixels.

Color

[D2D1_COLOR_F&] Direct2D color in RGB notation with transparency (alpha) information to be used for drawing the endless line.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH