Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / sun4-solaris / Tk / pTk / tkImgPhoto.h
CommitLineData
86530b38
AT
1#ifndef _TKIMGPHOTO
2#define _TKIMGPHOTO
3
4EXTERN void Tk_CreatePhotoImageFormat _ANSI_ARGS_((
5 Tk_PhotoImageFormat *formatPtr));
6EXTERN Tk_PhotoHandle Tk_FindPhoto _ANSI_ARGS_((Tcl_Interp *interp,
7 char *imageName));
8EXTERN void Tk_PhotoPutBlock _ANSI_ARGS_((Tk_PhotoHandle handle,
9 Tk_PhotoImageBlock *blockPtr, int x, int y,
10 int width, int height));
11EXTERN 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));
16EXTERN int Tk_PhotoGetImage _ANSI_ARGS_((Tk_PhotoHandle handle,
17 Tk_PhotoImageBlock *blockPtr));
18EXTERN void Tk_PhotoBlank _ANSI_ARGS_((Tk_PhotoHandle handle));
19EXTERN void Tk_PhotoExpand _ANSI_ARGS_((Tk_PhotoHandle handle,
20 int width, int height ));
21EXTERN void Tk_PhotoGetSize _ANSI_ARGS_((Tk_PhotoHandle handle,
22 int *widthPtr, int *heightPtr));
23EXTERN void Tk_PhotoSetSize _ANSI_ARGS_((Tk_PhotoHandle handle,
24 int width, int height));
25
26EXTERN char * Tk_PhotoFormatName _ANSI_ARGS_((Tcl_Interp *interp,
27 Tcl_Obj *formatString));
28
29extern Tk_PhotoImageFormat tkImgFmtPPM;
30extern Tk_PhotoImageFormat tkImgFmtGIF;
31
32#endif