cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
YONGWOO KIM
Participant

Mouse moving line

I want to draw moving line after click one point like measurement tool (shortcut 'm').

 

I can get click point using 'APIIo_GetPointID'.

 

But, I want to show preview line when they drawing.

 

API_GetPointType pointInfo1, pointInfo2;
BNZeroMemory(&pointInfo1, sizeof(API_GetPointType));
BNZeroMemory(&pointInfo2, sizeof(API_GetPointType));
GSErrCode err = ACAPI_Interface(APIIo_GetPointID, &pointInfo1, nullptr);
err = ACAPI_Interface(APIIo_GetPointID, &pointInfo2, nullptr);

 

This is code to get two point.

 

How can I show preview line after click one point.

1 Solution

Accepted Solutions
Erenford
Enthusiast

Look into rubber lines ACAPI_Interface (APIIo_DrawRubberLineID)

There are sample codes on Interface_Functions example

Go to post

2 Replies 2
Erenford
Enthusiast

Look into rubber lines ACAPI_Interface (APIIo_DrawRubberLineID)

There are sample codes on Interface_Functions example

YONGWOO KIM
Participant

Thank you for answer.

 

I solve this problem!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!