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
 Drag Line Layer points

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
c.basso Posted - Aug 19 2019 : 10:44:21
Hi,
I'm trying to migrate from IEKLine objects on ImageEnVect to new Line Layers.
I can't understand how to manage line points drag & drop to resize/move a line,
like it was on IEKLine vect objects.
If I try to move/resize a line layer, I can only drag & drop the layer rectangle corners, not the line points. If a line is a diagonal line, it's very complicated to manage.
Also on layers demo it seems that I cannot do that, but probably I'm missing something.
How can I achieve this?

Thanks

Claudio
6   L A T E S T    R E P L I E S    (Newest First)
c.basso Posted - Aug 23 2019 : 10:40:54
Ok, I'll wait stable version.

Thanks

Claudio
xequte Posted - Aug 22 2019 : 19:33:13
Hi Claudio

I believe that is an issue in 8.6.0. Please email me for an updated beta, or wait for 8.7.0 in early September.

Apologies for that.



Nigel
Xequte Software
www.imageen.com
c.basso Posted - Aug 22 2019 : 04:55:31
Ok, found the problem.
The issue appear if MouseInteractLayers = [mlEditLayerPoints]
if MouseInteractLayers = [mlClickCreateLineLayers, mlEditLayerPoints]
the behaviour is correct.
Is this intentionally?
With this situation to be able to manipulate existing line points,
I am forced to allow line creation with mouse.

Thanks


Claudio
xequte Posted - Aug 20 2019 : 15:58:35
Hi Claudio

That should not be happening. Are you able to reproduce in the Line Layers demo:

http://www.imageen.com/files/demos/run/LayerEditing/Layers_Lines/Layers.exe


Nigel
Xequte Software
www.imageen.com
c.basso Posted - Aug 20 2019 : 02:15:12
Hi,
ok, with that property it works like expected,
but if I clic on one of the points (example with simple line, 2 points),
instead of move that point, it rebuild the line starting from that point.
So I can't "adjust" a line moving just a bit one of the edges, because when I drag one of the points, it cancel old line and starts with a new one from the dragged point.
I hope you understand what I mean.

Thanks


Claudio
xequte Posted - Aug 19 2019 : 19:50:03
Hi Claudio

To drag by points, use the mlEditLayerPoints interaction:

ImageEnView1.MouseInteractLayers := [ mlEditLayerPoints ];
or
ImageEnView1.MouseInteractLayers := [ mlClickCreateLineLayers, mlEditLayerPoints ];

https://www.imageen.com/help/TImageEnView.MouseInteractLayers.html



Nigel
Xequte Software
www.imageen.com