ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 imageenvect miputline
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

save0804

Korea
20 Posts

Posted - Jun 08 2017 :  00:02:56  Show Profile  Reply
When creating objects of lines, I would like to change the usual black line during drawing.
What should I do?

xequte

38615 Posts

Posted - Jun 08 2017 :  17:11:18  Show Profile  Reply
Hi

Please set ObjPenColor:

https://www.imageen.com/help/TImageEnVect.ObjPenColor.html

e.g. to make newly added lines red:

ImageEnVect1.ObjPenColor[ IEV_NEXT_INSERTED_OBJECT ] := clRed;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

save0804

Korea
20 Posts

Posted - Jun 09 2017 :  01:22:02  Show Profile  Reply
Once the line is drawn, it picks up the color of the ObjPenStyle and ObjPenColor which is fine.
It is applied when mouse up.
I want it to be applied immediately when moving the mouse.
Is this possible?
Go to Top of Page

xequte

38615 Posts

Posted - Jun 11 2017 :  21:27:07  Show Profile  Reply
Hi

OK, please set the inserting pen via:

https://www.imageen.com/help/TImageEnVect.InsertingPen.html


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

save0804

Korea
20 Posts

Posted - Jun 11 2017 :  23:15:53  Show Profile  Reply
Really thankful.
I want to change Transparency, width and color in InsertingPen property.
InsertingPen.Color: = clred
But it comes out in black.
Is it not possible to change the transparency?
Go to Top of Page

xequte

38615 Posts

Posted - Jun 12 2017 :  17:55:36  Show Profile  Reply
Hi

Please use:

ImageEnVect1.InsertingPen.Color := clRed;
ImageEnVect1.InsertingPen.Mode := pmCopy;

Transparency of the line cannot be set while drawing.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

save0804

Korea
20 Posts

Posted - Jun 12 2017 :  19:38:17  Show Profile  Reply
Thank you.
I've already done it, but I have afterimages.
Can you draw without any afterimages?


Go to Top of Page

xequte

38615 Posts

Posted - Jun 12 2017 :  19:52:27  Show Profile  Reply
Hmmm, we'll need to investigate that for the next update.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: