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
 ImageEnVect Flip Grouped Objects (not background)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

andyhill

Australia
133 Posts

Posted - Feb 23 2016 :  14:58:46  Show Profile  Reply
Hi, I have an ImageEnVect with Background Image loaded and then I build vectored polygons in code on top.

I want to flip the polygon objects but not the background image, please advise.

ImageEnVect1.SelAllObjects;
ImageEnVect1.GroupObjects(True);

//ImageEnVect1.proc.flip(fdhorizontal);

Thanks in advance
Andy


Andy

xequte

38610 Posts

Posted - Feb 23 2016 :  21:54:48  Show Profile  Reply
Hi Andy

Unfortunately there is not a method to rotate or flip polygons. You could access the points of the object:

http://www.imageen.com/help/TImageEnVect.ObjPolylinePoints.html

Transform them, and then call:

http://www.imageen.com/help/TImageEnVect.SetObjPolylinePoints.html

You could also convert the object to a bitmap, and then flip the bitmap.

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