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
 Rotate question
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
497 Posts

Posted - Oct 29 2021 :  16:13:10  Show Profile  Reply
In mouseinteractgeneral, you have the option to rotate. Same thing with layers but what is the difference. If i have a bitmap on a layer, and i rotate the layer, it acts the same in i use the rotate option under the mouseinteractgeneral. I am a little confused
Pierre

// Rotate Tool
ImageEnView1.MouseInteractGeneral := [miRotateTool];

ImageEnView1.MouseInteractLayers := ImageEnView1.MouseInteractLayers +
[mlRotateLayers];

xequte

38198 Posts

Posted - Oct 29 2021 :  21:09:41  Show Profile  Reply
Hi

miRotateTool should be used in non-layer situations (Only permitted activity is rotating of the [background] image.

mlRotateLayers should be used for layer editors (permitted along with optionally moving, sizing and creating layers).





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

pierrotsc

USA
497 Posts

Posted - Oct 30 2021 :  10:54:23  Show Profile  Reply
Thanks Nigel but I am still confused. When I add an image it becomes a layer and I can rotate it with the layer rotate but I can also rotate it with the general rotate tool. I do not see any difference in behavior. But while I am typing that I realized that I am rotating the bitmap and not the layer. Let me look at my program again to be sure. Sorry to be a numb nut.
Go to Top of Page

xequte

38198 Posts

Posted - Oct 31 2021 :  01:53:43  Show Profile  Reply
It's really what your purpose is. Is it a layer editor (even if multiple layers are not in use) or is it a standard (single) image editor.

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