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
 LayersFixRotations isn't called correctly.
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zerob

113 Posts

Posted - Jun 28 2024 :  10:45:15  Show Profile  Reply
When i let the user rotate a image in a TImageEnView and set this:
ImageEnView1.LayersRotationFilter := ierBicubic;
ImageEnView1.LayersRotationAntialias := True;
ImageEnView1.LayersFastDrawing := iefDelayed;

and set "loAutoFixRotation", rotating the image by mouse and letting the mouse go or deselecting the layer or doing anything else will not paint the layer pretty.

manually calling the LayersFixRotations function does draw it pretty. Also sometimes when
doing other stuff with other layers, the rotated one gets drawn pretty.

Would be nice if the rotated layer would get drawn pretty more often (for example letting go the mouse after rotating by the rotationdot).

Setting LayersRotationUseFilterOnPreview will make it unbearable slow, so delaying it is really needed. But calling the "LayersFixRotations" function on different places to get it called more often isn't that nice also.

Did i forget to set something or isn't the delayed fixrotation supposed to be called on many occasions, like stopping rotation, deselecting the rotated layer and so on?

xequte

38319 Posts

Posted - Jun 28 2024 :  14:56:58  Show Profile  Reply
Hi

What is your value for LayersCaching?

http://www.imageen.com/help/TImageEnView.LayersCaching.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

zerob

113 Posts

Posted - Jun 28 2024 :  15:57:05  Show Profile  Reply
Tried it with -1 and 0
Go to Top of Page

xequte

38319 Posts

Posted - Jun 29 2024 :  15:42:35  Show Profile  Reply
OK, let me check that when I'm back in the office tomorrow.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38319 Posts

Posted - Jul 01 2024 :  19:15:05  Show Profile  Reply
Hi

Please set:

ImageEnView1.LayersRotationUseFilterOnPreview := True;

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



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