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