QuickDraw

Note for PicHandle

On Intel Mac, the field picFrame from the PictHandle can only be accessed by an API QDGetPictureBounds().

The following code let you conditional compile your source code.

#if TARGET_CPU_PPC
	Rect rect = (**(f_pic.value)).picFrame;
#elif TARGET_CPU_X86
	Rect rect = {0};
	QDGetPictureBounds(f_pic.value, &rect);
#else
#error "do not know how to conditional compile for ..."
#endif