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
 Draw line on object
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

alalieli

7 Posts

Posted - Feb 16 2017 :  02:36:44  Show Profile  Reply
Hi

I use TImageenVect
I need to add an object that draw cross on the background image
how can I do it?

Thanks

Eli

xequte

38127 Posts

Posted - Feb 16 2017 :  17:37:30  Show Profile  Reply
Hi Eli

Please try the Annotations\Vectorial demo. You can either use two line objects, or a polyline.



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

alalieli

7 Posts

Posted - Feb 19 2017 :  02:37:38  Show Profile  Reply
Do you have Builder C++ demoes?

I don't familiar with Delphi

Thanks

Eli
Go to Top of Page

xequte

38127 Posts

Posted - Feb 19 2017 :  14:32:58  Show Profile  Reply
Hi Eli

Not for the Vectorial demo. But the code is very simple. If you look into the demo pas files you should be able to convert it without much difficulty (but post on here if you have any issues).

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

w2m

USA
1990 Posts

Posted - Feb 19 2017 :  14:34:55  Show Profile  Reply
You could also draw the lines on a bitmap and then load the bitmap into a bitmap object.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

alalieli

7 Posts

Posted - Mar 02 2017 :  05:04:12  Show Profile  Reply
I used line object with height zero for horizontal line and width zero for vertical line and I get diagonal line

Thanks

Eli
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: