Bound Pt WithIn a Rectangle

Category: Graphics

Date: 02-16-2022

Return to Index


 
               x = Min(R.nRight,Max(R.nLeft,x))
               y = Min(R.nBottom,Max(R.nTop,y))  
 
'gbs_01416
'Date: 10-17-2014               


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm