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

kelong

China
9 Posts

Posted - Jul 03 2013 :  04:04:02  Show Profile  Reply
ImageEN how to achieve the figure of the selection do?

xequte

39076 Posts

Posted - Jul 03 2013 :  13:18:23  Show Profile  Reply
Hi

This image link does not seem to be valid.



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

kelong

China
9 Posts

Posted - Jul 08 2013 :  08:30:25  Show Profile  Reply
it here.


I LOVE IMAGEEN
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jul 08 2013 :  09:35:25  Show Profile  Reply
ImageEn selections only supports one selection, so this is not possible.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

kelong

China
9 Posts

Posted - Jul 08 2013 :  21:29:28  Show Profile  Reply
Figure is Graphics32 vcl achieve out of Layers. ImageEnview energy to achieve it anyway?



I LOVE IMAGEEN
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jul 09 2013 :  06:06:00  Show Profile  Reply
I thought you were discussing selections... if you add layers and load the layer with an image you can move the layers around just like you can with Graphics32.

{ Allow selection of transparent layers
If you do not add this then you can only move the layer by clicking on a pixel that is not transparent }
ImageEnView1.SelectionOptions := ImageEnView1.SelectionOptions + [iesoSelectTranspLayers];

Add a transparent layer:

  iLayer := ImageEnView1.LayersAdd;
  ImageEnView1.Layers[iLayer].Bitmap.AlphaChannel.Fill(0);
  ImageEnView1.Layers[iLayer].Name := AnsiString('Layer ' + IntToStr(ImageEnView1.LayersCount -
    1));
  ImageEnView1.CurrentLayer.VisibleBox := True;
  ImageEnView1.CurrentLayer.Selectable := True;
  ImageEnView1.LayersDrawBox := True;

To load an image into a selected (currentlayer)layer:
ImageEnView1.IO.LoadFromFile(OpenPictureDialog1.FileName);

To move and resize a layer:
ImageEnView1.MouseInteract := [miMoveLayers, miResizeLayers];


289.08 KB
William Miller
Adirondack Software & Graphics
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: