\section{chain\_\-code.c File Reference}
\label{chain__code_8c}\index{chain_code.c@{chain\_\-code.c}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$malloc.h$>$}\par
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
{\tt \#include \char`\"{}mosaic.h\char`\"{}}\par
{\tt \#include \char`\"{}chain.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf RELMEM\_\-CHAIN} ({\bf CHAIN} $\ast$chainmap)
\item 
void {\bf CHAIN\_\-COMPUTE\_\-COORDINATES} (int prevx, int prevy, unsigned char code, int $\ast$currx, int $\ast$curry)
\item 
void {\bf CHAIN\_\-COMPUTE\_\-CODE} (int currx, int curry, int x, int {\bf y}, unsigned char $\ast$code)
\end{CompactItemize}


\subsection{Function Documentation}
\index{chain_code.c@{chain\_\-code.c}!CHAIN_COMPUTE_CODE@{CHAIN\_\-COMPUTE\_\-CODE}}
\index{CHAIN_COMPUTE_CODE@{CHAIN\_\-COMPUTE\_\-CODE}!chain_code.c@{chain\_\-code.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CHAIN\_\-COMPUTE\_\-CODE (int {\em currx}, int {\em curry}, int {\em x}, int {\em y}, unsigned char $\ast$ {\em code})}\label{chain__code_8c_a2}




Definition at line 103 of file chain\_\-code.c.

References y.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd, SCALE\_\-CHAIN, and SYNTHESIZE\_\-INSERT\_\-RING.\index{chain_code.c@{chain\_\-code.c}!CHAIN_COMPUTE_COORDINATES@{CHAIN\_\-COMPUTE\_\-COORDINATES}}
\index{CHAIN_COMPUTE_COORDINATES@{CHAIN\_\-COMPUTE\_\-COORDINATES}!chain_code.c@{chain\_\-code.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CHAIN\_\-COMPUTE\_\-COORDINATES (int {\em prevx}, int {\em prevy}, unsigned char {\em code}, int $\ast$ {\em currx}, int $\ast$ {\em curry})}\label{chain__code_8c_a1}




Definition at line 39 of file chain\_\-code.c.

Referenced by Sadie\_\-TREES\_\-Display\-Part\-Rings\-Cmd, Sadie\_\-TREES\_\-Display\-Rings\-Cmd, Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd, Sadie\_\-TREES\_\-Synthesize\-Display\-Ring\-Cmd, Sadie\_\-TREES\_\-Synthesize\-Zoom\-Ring\-Cmd, SCALE\_\-CHAIN, and SYNTHESIZE\_\-INSERT\_\-RING.\index{chain_code.c@{chain\_\-code.c}!RELMEM_CHAIN@{RELMEM\_\-CHAIN}}
\index{RELMEM_CHAIN@{RELMEM\_\-CHAIN}!chain_code.c@{chain\_\-code.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void RELMEM\_\-CHAIN ({\bf CHAIN} $\ast$ {\em chainmap})}\label{chain__code_8c_a0}




Definition at line 20 of file chain\_\-code.c.

Referenced by Sadie\_\-TREES\_\-Chain\-Close\-Cmd.