home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / site / Tk / pTk / tkImgPhoto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-10  |  1.1 KB  |  30 lines

  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_((char *imageName));
  7.  
  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 Tk_PhotoImageFormat    tkImgFmtPPM;
  27. extern Tk_PhotoImageFormat    tkImgFmtGIF;
  28.  
  29. #endif
  30.