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

gbimage

Italy
10 Posts

Posted - Jan 09 2016 :  11:45:46  Show Profile  Reply
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

xequte

39053 Posts

Posted - Jan 11 2016 :  17:46:01  Show Profile  Reply
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
Go to Top of Page

gbimage

Italy
10 Posts

Posted - Jan 11 2016 :  22:51:25  Show Profile  Reply
Just done, Thanks!

Giovanni
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: