/*
** MUPage_Images.h
**
*/

#ifndef __MUPAGE_IMAGES_INCLUDED
#define __MUPAGE_IMAGES_INCLUDED
 
#include <mupdf/pdf.h>
#include "xTcl_util.h"
#include "MUPage.h"

EXTERN_C  TclResCode MUPage_Images_Setup(Tcl_Interp *interp);
EXTERN_C  Tcl_Obj*   mu_images(Tcl_Interp* interp, MUPage *self, char *op, char *imageID, char *outputDir, const char* pattern, int useAlpha);

EXTERN_C  TclResCode mu_addimage(Tcl_Interp* interp, MUPage* muPage,
	const char* filename,
	fz_rect targetRect,
	const char* anchor,
	int rotate,
	int resize,
	int over,
	int* xref  //return value
);

#endif  // __MUPAGE_IMAGES_INCLUDED

