\section{lib/patchwork/patchwork.c File Reference}
\label{patchwork_8c}\index{lib/patchwork/patchwork.\-c@{lib/patchwork/patchwork.\-c}}
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$patchwork.\-h$>$}\\*
{\ttfamily \#include $<$tree\-\_\-map.\-h$>$}\\*
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
Include dependency graph for patchwork.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{patchwork_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf treenode\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf D\-F\-L\-T\-\_\-\-S\-Z}~1.\-0
\item 
\#define {\bf S\-C\-A\-L\-E}~1000.\-0      /$\ast$ scale up so that 1 is a reasonable default size $\ast$/
\item 
\#define {\bf I\-N\-S\-E\-R\-T}(cp)~{\bf if}(!first) first=cp; {\bf if}(prev) prev-\/$>$rightsib=cp; prev=cp;
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf treenode\-\_\-t} {\bf treenode\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf patchwork\-Layout} ({\bf Agraph\-\_\-t} $\ast$g)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{patchwork.\-c@{patchwork.\-c}!D\-F\-L\-T\-\_\-\-S\-Z@{D\-F\-L\-T\-\_\-\-S\-Z}}
\index{D\-F\-L\-T\-\_\-\-S\-Z@{D\-F\-L\-T\-\_\-\-S\-Z}!patchwork.c@{patchwork.\-c}}
\subsubsection[{D\-F\-L\-T\-\_\-\-S\-Z}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-F\-L\-T\-\_\-\-S\-Z~1.\-0}\label{patchwork_8c_afde30929f7ad60eb26b5acc6cfae8cc3}


Definition at line 34 of file patchwork.\-c.

\index{patchwork.\-c@{patchwork.\-c}!I\-N\-S\-E\-R\-T@{I\-N\-S\-E\-R\-T}}
\index{I\-N\-S\-E\-R\-T@{I\-N\-S\-E\-R\-T}!patchwork.c@{patchwork.\-c}}
\subsubsection[{I\-N\-S\-E\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-S\-E\-R\-T(
\begin{DoxyParamCaption}
\item[{}]{cp}
\end{DoxyParamCaption}
)~{\bf if}(!first) first=cp; {\bf if}(prev) prev-\/$>$rightsib=cp; prev=cp;}\label{patchwork_8c_afbf75b26a7f4c63c640ac893fd82e3e0}


Definition at line 86 of file patchwork.\-c.

\index{patchwork.\-c@{patchwork.\-c}!S\-C\-A\-L\-E@{S\-C\-A\-L\-E}}
\index{S\-C\-A\-L\-E@{S\-C\-A\-L\-E}!patchwork.c@{patchwork.\-c}}
\subsubsection[{S\-C\-A\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-C\-A\-L\-E~1000.\-0      /$\ast$ scale up so that 1 is a reasonable default size $\ast$/}\label{patchwork_8c_a0cbea62f1ce2043dd08108e65ed8de1d}


Definition at line 35 of file patchwork.\-c.



\subsection{Typedef Documentation}
\index{patchwork.\-c@{patchwork.\-c}!treenode\-\_\-t@{treenode\-\_\-t}}
\index{treenode\-\_\-t@{treenode\-\_\-t}!patchwork.c@{patchwork.\-c}}
\subsubsection[{treenode\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf treenode\-\_\-t} {\bf treenode\-\_\-t}}\label{patchwork_8c_af90c33707bc9c99e9ea5af326e3d3552}


Definition at line 20 of file patchwork.\-c.



\subsection{Function Documentation}
\index{patchwork.\-c@{patchwork.\-c}!patchwork\-Layout@{patchwork\-Layout}}
\index{patchwork\-Layout@{patchwork\-Layout}!patchwork.c@{patchwork.\-c}}
\subsubsection[{patchwork\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}void patchwork\-Layout (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{patchwork_8c_ab32c9af6633160b2b5fefd63bf021f95}


Definition at line 275 of file patchwork.\-c.



References agfindgraphattr, agfindnodeattr, treenode\-\_\-t\-::area, treenode\-\_\-t\-::r, and rectangle\-\_\-new().



Referenced by patchwork\-\_\-layout().

