// $Header: c:\RCSdir\kernel/userrect.def 1.1 1995/09/12 17:11:49 Ed Exp $
// extra functions specific to the DocRect class

/*
$Log: userrect.def $
Revision 1.1  1995/09/12  17:11:49  Ed
Initial revision

*/

DECLARE_SOURCE("$Revision: 1.1 $");

#include "docrect.h"

/********************************************************************************************
>	DocRect UserRect::ToSpread(Spread* pSpread)

	Author:		Ed Cornes
	Created:	6/9/95
	Inputs:		pSpread - 
	Returns:	SpreadRect
	Purpose:	Convert a UserRect to a SpreadRect (AKA DocRect)
********************************************************************************************/

DocRect UserRect::ToSpread(Spread* pSpread)
{
	return DocRect( this->lo.ToSpread(pSpread), this->hi.ToSpread(pSpread) );
}
