MathUtils.h 414 Bytes
/*
 *  MathUtils.h
 *  RouteMe
 *
 *  Created by Joseph Gentle on 8/09/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef _MATHUTILS_H_
#define _MATHUTILS_H_

#include <CoreGraphics/CGGeometry.h>

CGRect ScaleCGRectAboutPoint(CGRect rect, float factor, CGPoint point);
CGRect TranslateCGRectBy(CGRect rect, CGSize delta);
CGPoint TranslateCGPointBy(CGPoint point, CGSize delta);

#endif