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
 [IEvolution] Selection rectangle of layer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

gcsoft

Italy
22 Posts

Posted - Mar 19 2012 :  03:03:58  Show Profile  Reply
Hi,
How can i change the selection rectangle that appears when select a a layers? Now displayed a filled yellow circles and a dashed line. I would the squares on a continuous line. How can i do that?

Thanks


Gregorio Carabino
software developer
http://www.gcsoft.it

fab

1310 Posts

Posted - Mar 19 2012 :  03:27:46  Show Profile  Reply
Hi,
you should use SetLayersBoxStyle and SetLayersGripStyle. For example:

  ImageEnView1.SetLayersBoxStyle(psSolid);
  ImageEnView1.SetLayersGripStyle(clBlack, clWhite, bsSolid, 5, iegsBox);
Go to Top of Page

gcsoft

Italy
22 Posts

Posted - Mar 19 2012 :  03:58:15  Show Profile  Reply
Thanks!

but SetLayersGripStyle doesn't exist; I use IEvolution 4.0.1


Gregorio Carabino
software developer
http://www.gcsoft.it
Go to Top of Page

fab

1310 Posts

Posted - Mar 19 2012 :  05:10:00  Show Profile  Reply
Please recheck, SetLayersGripStyle exists since version 3.0.0 (released about 5 years ago...).
Go to Top of Page

gcsoft

Italy
22 Posts

Posted - Mar 19 2012 :  07:52:46  Show Profile  Reply
I checked the documentation (IEvolution.chm) and in the objects viewer of the visual studio: the method doesn't exist.

Gregorio Carabino
software developer
http://www.gcsoft.it
Go to Top of Page

fab

1310 Posts

Posted - Mar 19 2012 :  08:11:03  Show Profile  Reply
Sorry, from the subject, it seemed you were talking about instead ImageEn IEvolution.
IEvolution hasn't SetLayersGripStyle method.
Go to Top of Page

gcsoft

Italy
22 Posts

Posted - Mar 22 2012 :  01:44:46  Show Profile  Reply
can you make available the method SetLayersGripStyle?

I would also like to share some observations, always for the selection of a level.
1. The bounding box of the layer appears in the foreground, the other levels are above the rectangle relative to a selected level
2. If I enable the rotation of the level (EnableRotateLayers), the rectangle disappears and you see only the center of rotation, I attempted to move the mouse to make the rotation
3. It would not be possible to fuse the transformation of a level with the rotation? That is, placing the mouse on a corner I can resize the layer, it would be nice to turn the layer simply moving out of the bounding box (like Photoshop for example)

Thanks

Gregorio Carabino
software developer
http://www.gcsoft.it
Go to Top of Page

fab

1310 Posts

Posted - Mar 26 2012 :  06:05:07  Show Profile  Reply
quote:
can you make available the method SetLayersGripStyle?


yes, it will be available in next minor version.

quote:
1. The bounding box of the layer appears in the foreground, the other levels are above the rectangle relative to a selected level



will be fixed in next minor release.

quote:
2. If I enable the rotation of the level (EnableRotateLayers), the rectangle disappears and you see only the center of rotation, I attempted to move the mouse to make the rotation



a box will be displayed when rotating a layer in next minor release.

quote:
3. It would not be possible to fuse the transformation of a level with the rotation? That is, placing the mouse on a corner I can resize the layer, it would be nice to turn the layer simply moving out of the bounding box (like Photoshop for example)


This could be added in a future release.

Many thanks for your observations!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: