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 2 layers simultaneously
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

juanjose

5 Posts

Posted - Jan 20 2013 :  08:53:35  Show Profile  Reply
Hi I have the licensed version 4.0.1_53706 and wanted to know if you can upload a file without *. Psd and rotate 2 layers simultaneously with Timer and rotate it without being selected (not appearing as circles nor the tight orbit selection center of rotation)?

juanjose

5 Posts

Posted - Jan 20 2013 :  09:00:09  Show Profile  Reply
Hi I have the licensed version 4.0.1_53706.

I wanted to know if you can upload a file *. Psd and rotate 2 layers simultaneously with Timer and rotate them without being selected (not displayed selection circles nor the Circle of center of rotation)?
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 20 2013 :  10:36:19  Show Profile  Reply
You can not select more than one layer at a time so you have to specify which layer to rotate.
This rotates all layers except for layer 0:
procedure TForm1.Button1Click(Sender: TObject);
var
  i: integer;
  iAmount: double;
begin
  iAmount := 90.0;
  for i := 1 to ImageENView1.LayersCount - 1 do
  begin
    ImageENView1.Layers[i].Rotate:= iAmount;
    ImageENView1.LayersFixBorders(i);
    ImageENView1.LayersFixRotations(i);
    ImageENView1.LayersFixSizes(i);
  end;
end;

You will have to try doing this in a timer youself because I do not understand what you are trying to accomplish with the timer rotation.

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: