home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / src / MacSource / sysMacPict.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-14  |  2.9 KB  |  70 lines  |  [TEXT/CWIE]

  1. /*==============================================================================
  2. Project:    POV
  3.  
  4. Version:    3
  5.  
  6. File:    sysMacPict.h
  7.  
  8. Description:
  9. This module contains all defines, typedefs, and prototypes for sysmacpict.C.
  10. (System-dependent image_map file format read/write routines - for Macintosh PICT)
  11. ------------------------------------------------------------------------------
  12. Author:
  13.     Eduard [esp] Schwan
  14. ------------------------------------------------------------------------------
  15.     from Persistence of Vision(tm) Ray Tracer
  16.     Copyright 1996 Persistence of Vision Team
  17. ------------------------------------------------------------------------------
  18.     NOTICE: This source code file is provided so that users may experiment
  19.     with enhancements to POV-Ray and to port the software to platforms other 
  20.     than those supported by the POV-Ray Team.  There are strict rules under
  21.     which you are permitted to use this file.  The rules are in the file
  22.     named POVLEGAL.DOC which should be distributed with this file. If 
  23.     POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  24.     Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  25.     Forum.  The latest version of POV-Ray may be found there as well.
  26.  
  27.     This program is based on the popular DKB raytracer version 2.12.
  28.     DKBTrace was originally written by David K. Buck.
  29.     DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  30. ------------------------------------------------------------------------------
  31. Change History:
  32. ==============================================================================*/
  33.  
  34. #ifndef SYSMACPICT_H
  35. #define SYSMACPICT_H
  36.  
  37. /*****************************************************************************
  38. * Global preprocessor defines
  39. ******************************************************************************/
  40.  
  41.  
  42.  
  43. /*****************************************************************************
  44. * Global typedefs
  45. ******************************************************************************/
  46.  
  47.  
  48.  
  49. /*****************************************************************************
  50. * Global variables
  51. ******************************************************************************/
  52.  
  53.  
  54.  
  55. /*****************************************************************************
  56. * Global functions
  57. ******************************************************************************/
  58.  
  59. FILE_HANDLE *Get_MacPICT_File_Handle PARAMS((void));
  60. char *Default_MacPICT_File_Name PARAMS((void));
  61. int Open_MacPICT_File PARAMS((FILE_HANDLE *handle, char *name,
  62.                           int *width, int *height, int buffer_size, int mode));
  63. void Write_MacPICT_Line PARAMS((FILE_HANDLE *handle, COLOUR *line_data, int line_number));
  64. int Read_MacPICT_Line PARAMS((FILE_HANDLE *handle, COLOUR *line_data, int *line_number));
  65. int Read_MacPICT_Int_Line PARAMS((FILE_HANDLE *handle, IMAGE_LINE *line_data, int *line_number));
  66. void Read_MacPICT_Image PARAMS((IMAGE *Image, char *filename));
  67. void Close_MacPICT_File PARAMS((FILE_HANDLE *handle));
  68.  
  69. #endif
  70.