\section{Sadie\_\-File\-IO.c File Reference}
\label{Sadie__FileIO_8c}\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
{\tt \#include $<$tcl.h$>$}\par
{\tt \#include $<$tk.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
{\tt \#include $<$math.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf Sadie\_\-File\-IO\_\-Open\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Open\-TIFFCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Open\-PNMCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Import\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Save\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Save\-EPSCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Save\-TIFFCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Save\-PNMCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Save\-TEXTCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-File\-IO\_\-Init} (Tcl\_\-Interp $\ast$interp)
\end{CompactItemize}


\subsection{Function Documentation}
\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_ImportCmd@{Sadie\_\-FileIO\_\-ImportCmd}}
\index{Sadie_FileIO_ImportCmd@{Sadie\_\-FileIO\_\-ImportCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Import\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a4}




Definition at line 106 of file Sadie\_\-File\-IO.c.

References IMPORT, SLEN, and IMAGE::text.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_Init@{Sadie\_\-FileIO\_\-Init}}
\index{Sadie_FileIO_Init@{Sadie\_\-FileIO\_\-Init}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Init (Tcl\_\-Interp $\ast$ {\em interp})}\label{Sadie__FileIO_8c_a10}




Definition at line 388 of file Sadie\_\-File\-IO.c.

References Sadie\_\-File\-IO\_\-Import\-Cmd, Sadie\_\-File\-IO\_\-Open\-Cmd, Sadie\_\-File\-IO\_\-Open\-PNMCmd, Sadie\_\-File\-IO\_\-Open\-TIFFCmd, Sadie\_\-File\-IO\_\-Save\-Cmd, Sadie\_\-File\-IO\_\-Save\-EPSCmd, Sadie\_\-File\-IO\_\-Save\-PNMCmd, Sadie\_\-File\-IO\_\-Save\-TEXTCmd, and Sadie\_\-File\-IO\_\-Save\-TIFFCmd.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_OpenCmd@{Sadie\_\-FileIO\_\-OpenCmd}}
\index{Sadie_FileIO_OpenCmd@{Sadie\_\-FileIO\_\-OpenCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Open\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a1}




Definition at line 26 of file Sadie\_\-File\-IO.c.

References DISK2IMG, SLEN, and IMAGE::text.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_OpenPNMCmd@{Sadie\_\-FileIO\_\-OpenPNMCmd}}
\index{Sadie_FileIO_OpenPNMCmd@{Sadie\_\-FileIO\_\-OpenPNMCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Open\-PNMCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a3}




Definition at line 81 of file Sadie\_\-File\-IO.c.

References PNM2IMG, SLEN, and IMAGE::text.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_OpenTIFFCmd@{Sadie\_\-FileIO\_\-OpenTIFFCmd}}
\index{Sadie_FileIO_OpenTIFFCmd@{Sadie\_\-FileIO\_\-OpenTIFFCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Open\-TIFFCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a2}




Definition at line 58 of file Sadie\_\-File\-IO.c.

References SLEN, IMAGE::text, and TIFF2IMG.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_SaveCmd@{Sadie\_\-FileIO\_\-SaveCmd}}
\index{Sadie_FileIO_SaveCmd@{Sadie\_\-FileIO\_\-SaveCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Save\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a5}




Definition at line 242 of file Sadie\_\-File\-IO.c.

References IMG2DISK, and SLEN.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_SaveEPSCmd@{Sadie\_\-FileIO\_\-SaveEPSCmd}}
\index{Sadie_FileIO_SaveEPSCmd@{Sadie\_\-FileIO\_\-SaveEPSCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Save\-EPSCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a6}




Definition at line 271 of file Sadie\_\-File\-IO.c.

References IMG2EPSF, and SLEN.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_SavePNMCmd@{Sadie\_\-FileIO\_\-SavePNMCmd}}
\index{Sadie_FileIO_SavePNMCmd@{Sadie\_\-FileIO\_\-SavePNMCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Save\-PNMCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a8}




Definition at line 330 of file Sadie\_\-File\-IO.c.

References IMG2PNM, and SLEN.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_SaveTEXTCmd@{Sadie\_\-FileIO\_\-SaveTEXTCmd}}
\index{Sadie_FileIO_SaveTEXTCmd@{Sadie\_\-FileIO\_\-SaveTEXTCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Save\-TEXTCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a9}




Definition at line 357 of file Sadie\_\-File\-IO.c.

References IMG2TEXT, and SLEN.

Referenced by Sadie\_\-File\-IO\_\-Init.\index{Sadie_FileIO.c@{Sadie\_\-File\-IO.c}!Sadie_FileIO_SaveTIFFCmd@{Sadie\_\-FileIO\_\-SaveTIFFCmd}}
\index{Sadie_FileIO_SaveTIFFCmd@{Sadie\_\-FileIO\_\-SaveTIFFCmd}!Sadie_FileIO.c@{Sadie\_\-File\-IO.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-File\-IO\_\-Save\-TIFFCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__FileIO_8c_a7}




Definition at line 301 of file Sadie\_\-File\-IO.c.

References IMG2TIFF, and SLEN.

Referenced by Sadie\_\-File\-IO\_\-Init.