| 1 |
#ifndef _TKIMGPHOTO |
| 2 |
#define _TKIMGPHOTO |
| 3 |
|
| 4 |
|
| 5 |
EXTERN void Tk_CreateOldPhotoImageFormat _ANSI_ARGS_(( |
| 6 |
Tk_PhotoImageFormat *formatPtr)); |
| 7 |
EXTERN void Tk_CreatePhotoImageFormat _ANSI_ARGS_(( |
| 8 |
Tk_PhotoImageFormat *formatPtr)); |
| 9 |
EXTERN void Tk_DitherPhoto _ANSI_ARGS_((Tk_PhotoHandle handle, |
| 10 |
int x, int y, int width, int height)); |
| 11 |
EXTERN Tk_PhotoHandle Tk_FindPhoto _ANSI_ARGS_((Tcl_Interp *interp, |
| 12 |
CONST char *imageName)); |
| 13 |
EXTERN void Tk_PhotoBlank _ANSI_ARGS_((Tk_PhotoHandle handle)); |
| 14 |
EXTERN void Tk_PhotoExpand _ANSI_ARGS_((Tk_PhotoHandle handle, |
| 15 |
int width, int height )); |
| 16 |
EXTERN char * Tk_PhotoFormatName _ANSI_ARGS_((Tcl_Interp *interp, |
| 17 |
Tcl_Obj *formatString)); |
| 18 |
EXTERN int Tk_PhotoGetImage _ANSI_ARGS_((Tk_PhotoHandle handle, |
| 19 |
Tk_PhotoImageBlock *blockPtr)); |
| 20 |
EXTERN void Tk_PhotoGetSize _ANSI_ARGS_((Tk_PhotoHandle handle, |
| 21 |
int *widthPtr, int *heightPtr)); |
| 22 |
EXTERN void Tk_PhotoPutBlock _ANSI_ARGS_((Tk_PhotoHandle handle, |
| 23 |
Tk_PhotoImageBlock *blockPtr, int x, int y, |
| 24 |
int width, int height, int compRule)); |
| 25 |
EXTERN void Tk_PhotoPutZoomedBlock _ANSI_ARGS_(( |
| 26 |
Tk_PhotoHandle handle, |
| 27 |
Tk_PhotoImageBlock *blockPtr, int x, int y, |
| 28 |
int width, int height, int zoomX, int zoomY, |
| 29 |
int subsampleX, int subsampleY, int compRule)); |
| 30 |
EXTERN void Tk_PhotoSetSize _ANSI_ARGS_((Tk_PhotoHandle handle, |
| 31 |
int width, int height)); |
| 32 |
extern Tk_PhotoImageFormat tkImgFmtGIF; |
| 33 |
extern Tk_PhotoImageFormat tkImgFmtPPM; |
| 34 |
#endif |
| 35 |
|
| 36 |
|