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
 Drawing Annotations on a TImageEnVect

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
john_siggy@yahoo.com Posted - Jul 04 2018 : 11:11:51
I have a simple editor that lets the user draw rectangle annotations on an ImageEnVect. I want a rectangle to be drawn when the user presses the left mouse button down and moves the mouse. If the mouse is pressed down over a prior annotation, the annotation will be in move mode. That is you see the grab handles when you mouse down on an existing annotation. If you press down on the mouse where there is no existing annotation(s) below, a rectangle annotation is started.

The demo: ...\Demos\ImageEditing\Layers_AllTypes\Layers.exe behaves this way but uses an ImageEnView and adds a new layer for each annotation.




Thanks in Advance.
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 05 2018 : 15:32:46
That requirement would be no better with TImageEnVect than TImageEnView, because in both controls the background is layer 0. By default, layer 0 cannot be moved.

Try creating a solution based on Demos\ImageEditing\Layers_AllTypes\Layers.dpr, and let us know if you hit any roadblocks.



Nigel
Xequte Software
www.imageen.com
john_siggy@yahoo.com Posted - Jul 05 2018 : 14:19:34
I am using an ImageEnVect because it allows for a background image which can change rapidly behind the annotations that do not change. User can move the annotations around but not the background image.

Not sure how to implement this with layers ???

xequte Posted - Jul 04 2018 : 22:10:43
Hi John

Sorry, just to clarify, do you have a specific reason for using a TImageEnvect instead of layers?

Nigel
Xequte Software
www.imageen.com