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
 Clipping area

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
gbimage Posted - Jan 09 2016 : 11:45:46
Hi,
I have a ImageEnVect with dynamic polylines.
The points of polylines come from a complex algorithm and may partially occur outside the borders of image (coords negative or higher than image width and height). They are nastily visible with low zoom and image smaller than the client area.
Is there a way to hide parts of polyline out of image borders, to avoid calculating intersections with border lines?

Thanks in advance,
Giovanni
2   L A T E S T    R E P L I E S    (Newest First)
gbimage Posted - Jan 11 2016 : 22:51:25
Just done, Thanks!

Giovanni
xequte Posted - Jan 11 2016 : 17:46:01
Hi Giovanni

There is not an automatic way to handle it, but if you customize one of the paint events, you should be able to overpaint the background area.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com