| 
					
				 | 
						 	Function CenterThis:Rectf(me:Rectf, r:Rectf ) 		Local x:=(me.Width-r.Width)/2+me.min.x 		Local y:=(me.Height-r.Height)/2+me.min.y 		Return New Rectf( x,y,x+r.Width,y+r.Height ) 	End      	Function CenterOther:Rectf(me:Rectf, r:Rectf ) 		Local x:=(r.Width-me.Width)/2+r.min.x 		Local y:=(r.Height-me.Height)/2+r.min.y 		Return New Rectf( x,y,x+me.Width,y+me.Height ) 	End  | 
					
				
			 
		 
Gives what I expect to be the result, which in turn would make Rect.Centered (based on CenterThis) :
		
		
			
			
			
			
				
					
				| 
					
				 | 
							Method Centered:Rect( r:Rect ) 		Local x:=(Width-r.Width)/2+min.x 		Local y:=(Height-r.Height)/2+min.y 		Return New Rect( x,y,x+r.Width,y+r.Height ) 	End  |