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
 Free Rotate Multiple layers
 New Topic  Reply to Topic
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

xequte

39053 Posts

Posted - May 10 2016 :  00:11:42  Show Profile  Reply
Hmmm, no I still can't reproduce it when I recompile your source in Delphi 10 Seattle.

Bill can you reproduce it?

Have you made any customizations to ImageEn source, including ie.inc?



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

w2m

USA
1990 Posts

Posted - May 10 2016 :  12:37:26  Show Profile  Reply
Yes I still see repeatable problems when rotating a layer with objects. Here is a link to a demo that reveals the problem.

https://www.dropbox.com/s/wtceguqxypommtz/Vectorial%20Layer%20Rotate.zip?dl=0

If you do these operations in the demo
1. Open a background image.
2. Click Add Layer button.
3. Click Box button to add a box anchored to the layer.
4. Click on the layer to add the box to the layer.
5. Click on the Select layer button.
6. Resize the layer with the mouse.
7. Select Rotate button.
8. Rotate the layer with the mouse.
9. Click Select Object button.
After clicking the Select Object button the selected layer moves to the bottom right side of the view. You may have to maximize the window and or change the zoom with the mouse wheel to see the layer and the object.
The position of the layer does not change until ImageEnVect1.MouseInteractVt := [miObjectSelect] is executed.

I do not know if this is a bug or if it is caused by my code but what I am seeing can be reproduced.
ImageEn Version 6.3.0.

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

xequte

39053 Posts

Posted - May 12 2016 :  00:53:08  Show Profile  Reply
Hi Bill

Unfortunately Layers and Objects were not designed to interact so weird behavior can be expected when they are used simultaneously. For this reason, one of the enhancements suggested on our current survey is object support with TImageEnView, which I expect will go forward.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
Jump To: