ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnVect Flip Grouped Objects (not background)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
andyhill Posted - Feb 23 2016 : 14:58:46
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 23 2016 : 21:54:48
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