/*********************************************************/
/* This source code copyright (c) 1991-2001, Aaron Giles */
/* See the Read Me file for licensing information.       */
/* Contact email: mac@aarongiles.com                     */
/*********************************************************/

#ifndef __CIMAGE__
#define __CIMAGE__

pascal OSErr ImageAccessor(DescType classWanted, AEDesc *container, 
	DescType containerClass, DescType keyForm, AEDesc *keyData, 
	AEDesc *resultToken, long theRefCon);
pascal OSErr ImagePropertyAccessor(DescType classWanted, AEDesc *container, 
	DescType containerClass, DescType keyForm, AEDesc *keyData, 
	AEDesc *resultToken, long theRefCon);
OSErr GetImageData(WindowPtr theWindow, DescType typeWanted, AEDesc *theData);
OSErr GetImagePropertyData(WindowPtr theWindow, DescType theProperty, DescType typeWanted, 
	AEDesc *theData);
OSErr SetImagePropertyData(WindowPtr theWindow, DescType theProperty, AEDesc *theData);
OSErr MakeImageObject(WindowPtr theWindow, AEDesc *theObject);
OSErr MakeImagePropertyObject(WindowPtr theWindow, DescType theProperty, AEDesc *theObject);
OSErr DoSetImageBounds(ImageHandle theImage, Rect *theRect);

#endif
