/*	File:		ScaleBlit.h	Contains:	fast scaling blitter	Written by:	Strout	Copyright:	Copyright ©1999 the Salk Institute	Change History (most recent first):         <1>    06/11/99    JJS     initial checkin to StimulusLib2 project*///	ScaleBlit.h////	This is a scaling blitter.  Requirements:////		Dest rectangle must be an integer multiple of the source rectangle.//		Both source and dest must be at least 16-bit color.//		Source buffer width must be even (divisible by two).// Prototypes#ifdef __cplusplusextern "C" {#endif#ifndef __QUICKDRAW__#include <QuickDraw.h>#endif//	Use this function when scaling to an offscreen pixel map:OSErr ScaleBlitOffscreen(PixMapPtr srcpm, PixMapPtr destpm, Rect *srcR, Rect *destR);//	Use this function when scaling to the screen:OSErr ScaleBlitToScreen(PixMapPtr srcpm, PixMapPtr destpm, PixMapPtr tempm, 						Rect *srcR, Rect *destR);// Note that in the latter function, you must supply an offscreen pixelmap (tempm)// at least as large as destR.  It basically passes this to ScaleBlitOffscreen,// then calls CopyBits to do the final copy to your destpm.// Prototypes#ifdef __cplusplus}#endif