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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Vectorial demo & Insert Objects question

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
harry stahl Posted - Jul 28 2016 : 16:42:20
Hi, I use the know how from your Vectorial demo to insert Vector objects into the ImageEnVect (directly after inserting I burn it to the Background).

1. When Im in inserting mode, every mouseclick inserts a new obect, even when the mouse was not moved.

I want that an object will be insert, only, if the user "draws" the object, but not with one mouse-click.

How can I reach that?

2. An additional question:

Alternatively I want to offer, that the object is not directly burned to the background Image, and the working-modus is moving and selection the object. Only when the user draw an other object or change the working-tool (or click beside the just created object), then the object should be burnded.

Any idea, how I can reach that?


HS
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 30 2016 : 00:58:13
Nicely done :-)

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
harry stahl Posted - Jul 29 2016 : 18:27:48
Hi Nigel,

thank you, that could be a solution.

In the meantime I found an other one:

I remember mouseposition at mousedown- and mouseup-click. When the position is the same (that indicate, that there was no mouse-movement), I directly delete the created object in the event "OnNewObject".




HS
xequte Posted - Jul 28 2016 : 17:26:04
Hi

1. There is not an option to handle that automatically, but you could allow the user to make a selection:

ImageEnView1.MouseInteract := [ miSelect ];

Then in the OnSelectionChange event create an object in the selection rect.


2. Use the events such as OnNewObject to detect when an object has been added, and merge it then.





Nigel
Xequte Software
www.xequte.com
nigel@xequte.com