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
 PolylineLayer always jumps back to original position
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zerob

182 Posts

Posted - Dec 28 2024 :  16:37:52  Show Profile  Reply
Hi Nigel

I've created a iesRectangle and converted it into a PolilineLayer.
Now im able to move the layer with my mouse and place it.

As soon as i try to edit the layerpoints or add new ones, the whole layer jumps back (X,Y) to the original position.
When i add a new point (on mouseup) or when i click and drag a existing point, the jump happens. (reset of X Y)

This also happens when i copy that layer with CTRL + Mousemove, this layer also jumps back.

I expect it to stay where i moved it and enable me to edit it, without jumping back.

Center := False;
MouseInteractLayers := [mlMoveLayers,mlResizeLayers,mlEditLayerPoints];
ImageEnView1.LayersAdd(TIEShape.iesRectangle,20,20,250,150);
ImageEnView1.Layers[1].ConvertToPolylineLayer(False);





zerob

182 Posts

Posted - Dec 28 2024 :  16:48:14  Show Profile  Reply
If i create a polylayer by myself, without converting it also jumps back.

ImageEnView1.LayersAdd([Point(20,20),Point(250,20),Point(250,150),Point(20,150)],True,clRed,1,clLime);

What do i do wrong, or is it a bug?
Go to Top of Page

xequte

38705 Posts

Posted - Dec 29 2024 :  15:02:46  Show Profile  Reply
Hi

Please email me for the latest beta

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