\section{lib/common/output.c File Reference}
\label{output_8c}\index{lib/common/output.\-c@{lib/common/output.\-c}}
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}agxbuf.\-h\char`\"{}}\\*
{\ttfamily \#include $<$stdarg.\-h$>$}\\*
{\ttfamily \#include $<$string.\-h$>$}\\*
Include dependency graph for output.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{output_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf Y\-D\-I\-R}(y)~({\bf Y\-\_\-invert} ? (Y\-\_\-off -\/ (y)) \-: (y))
\item 
\#define {\bf Y\-F\-D\-I\-R}(y)~({\bf Y\-\_\-invert} ? (Y\-F\-\_\-off -\/ (y)) \-: (y))
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double {\bf y\-Dir} (double y)
\item 
void {\bf write\-\_\-plain} ({\bf G\-V\-J\-\_\-t} $\ast$job, {\bf graph\-\_\-t} $\ast$g, F\-I\-L\-E $\ast$f, {\bf boolean} extend)
\item 
void {\bf attach\-\_\-attrs\-\_\-and\-\_\-arrows} ({\bf graph\-\_\-t} $\ast$g, {\bf int} $\ast$sp, {\bf int} $\ast$ep)
\item 
void {\bf attach\-\_\-attrs} ({\bf graph\-\_\-t} $\ast$g)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{output.\-c@{output.\-c}!Y\-D\-I\-R@{Y\-D\-I\-R}}
\index{Y\-D\-I\-R@{Y\-D\-I\-R}!output.c@{output.\-c}}
\subsubsection[{Y\-D\-I\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define Y\-D\-I\-R(
\begin{DoxyParamCaption}
\item[{}]{y}
\end{DoxyParamCaption}
)~({\bf Y\-\_\-invert} ? (Y\-\_\-off -\/ (y)) \-: (y))}\label{output_8c_aa365c8e70672429e061bf78b6459c26d}


Definition at line 19 of file output.\-c.



Referenced by attach\-\_\-attrs\-\_\-and\-\_\-arrows(), and y\-Dir().

\index{output.\-c@{output.\-c}!Y\-F\-D\-I\-R@{Y\-F\-D\-I\-R}}
\index{Y\-F\-D\-I\-R@{Y\-F\-D\-I\-R}!output.c@{output.\-c}}
\subsubsection[{Y\-F\-D\-I\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define Y\-F\-D\-I\-R(
\begin{DoxyParamCaption}
\item[{}]{y}
\end{DoxyParamCaption}
)~({\bf Y\-\_\-invert} ? (Y\-F\-\_\-off -\/ (y)) \-: (y))}\label{output_8c_af68614c9a48491770778be6e21072de5}


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



Referenced by attach\-\_\-attrs\-\_\-and\-\_\-arrows().



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


Definition at line 399 of file output.\-c.



References attach\-\_\-attrs\-\_\-and\-\_\-arrows().



Referenced by main(), and render().

\index{output.\-c@{output.\-c}!attach\-\_\-attrs\-\_\-and\-\_\-arrows@{attach\-\_\-attrs\-\_\-and\-\_\-arrows}}
\index{attach\-\_\-attrs\-\_\-and\-\_\-arrows@{attach\-\_\-attrs\-\_\-and\-\_\-arrows}!output.c@{output.\-c}}
\subsubsection[{attach\-\_\-attrs\-\_\-and\-\_\-arrows}]{\setlength{\rightskip}{0pt plus 5cm}void attach\-\_\-attrs\-\_\-and\-\_\-arrows (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int} $\ast$}]{sp, }
\item[{{\bf int} $\ast$}]{ep}
\end{DoxyParamCaption}
)}\label{output_8c_af12a12f04812c00b0b5ce6de189465b4}


Definition at line 232 of file output.\-c.



References A\-G\-E\-D\-G\-E, agfstnode(), agfstout(), agget(), A\-G\-N\-O\-D\-E, agnxtnode(), agnxtout(), A\-G\-R\-A\-P\-H, agset(), agxbfree(), agxbinit(), agxbpop(), agxbput(), agxbputc, agxbuse, agxset(), E\-D\-\_\-edge\-\_\-type, E\-D\-\_\-head\-\_\-label, E\-D\-\_\-label, E\-D\-\_\-spl, E\-D\-\_\-tail\-\_\-label, E\-D\-\_\-xlabel, E\-D\-G\-E\-\_\-\-L\-A\-B\-E\-L, E\-D\-G\-E\-\_\-\-X\-L\-A\-B\-E\-L, G\-D\-\_\-has\-\_\-labels, G\-D\-\_\-odim, G\-R\-A\-P\-H\-\_\-\-L\-A\-B\-E\-L, gv\-\_\-fix\-Locale(), G\-V\-S\-P\-L\-I\-N\-E\-S, H\-A\-S\-\_\-\-C\-L\-U\-S\-T\-\_\-\-E\-D\-G\-E, H\-E\-A\-D\-\_\-\-L\-A\-B\-E\-L, I\-G\-N\-O\-R\-E\-D, is\-Polygon(), M\-\_\-\-P\-I, N\-\_\-height, N\-\_\-vertices, N\-\_\-width, N\-D\-\_\-coord, N\-D\-\_\-height, N\-D\-\_\-ht, N\-D\-\_\-lw, N\-D\-\_\-pos, N\-D\-\_\-rw, N\-D\-\_\-shape, N\-D\-\_\-shape\-\_\-info, N\-D\-\_\-width, N\-D\-\_\-xlabel, N\-O\-D\-E\-\_\-\-X\-L\-A\-B\-E\-L, N\-U\-L\-L, P\-O\-I\-N\-T\-S\-\_\-\-P\-E\-R\-\_\-\-I\-N\-C\-H, P\-S2\-I\-N\-C\-H, safe\-\_\-dcl(), polygon\-\_\-t\-::sides, State, T\-A\-I\-L\-\_\-\-L\-A\-B\-E\-L, undo\-Cluster\-Edges(), polygon\-\_\-t\-::vertices, pointf\-\_\-s\-::x, pointf\-\_\-s\-::y, Y\-D\-I\-R, and Y\-F\-D\-I\-R.



Referenced by attach\-\_\-attrs().

\index{output.\-c@{output.\-c}!write\-\_\-plain@{write\-\_\-plain}}
\index{write\-\_\-plain@{write\-\_\-plain}!output.c@{output.\-c}}
\subsubsection[{write\-\_\-plain}]{\setlength{\rightskip}{0pt plus 5cm}void write\-\_\-plain (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-J\-\_\-t} $\ast$}]{job, }
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{F\-I\-L\-E $\ast$}]{f, }
\item[{{\bf boolean}}]{extend}
\end{DoxyParamCaption}
)}\label{output_8c_a163a58c1973c2de5d52bf08fdba3610e}


Definition at line 113 of file output.\-c.



References agcanon\-Str(), agfstnode(), agfstout(), agget(), aghead(), agnameof(), agnxtnode(), agnxtout(), agraphof(), agtail(), agxget(), Agraph\-\_\-s\-::clos, D\-E\-F\-A\-U\-L\-T\-\_\-\-C\-O\-L\-O\-R, D\-E\-F\-A\-U\-L\-T\-\_\-\-F\-I\-L\-L, Agclos\-\_\-s\-::disc, E\-\_\-color, E\-\_\-style, E\-D\-\_\-label, E\-D\-\_\-spl, G\-D\-\_\-bb, Agdisc\-\_\-s\-::io, I\-S\-\_\-\-C\-L\-U\-S\-T\-\_\-\-N\-O\-D\-E, late\-\_\-nnstring(), lbl, bezier\-::list, N\-\_\-color, N\-\_\-fillcolor, N\-\_\-label, N\-\_\-style, N\-D\-\_\-coord, N\-D\-\_\-height, N\-D\-\_\-label, N\-D\-\_\-shape, N\-D\-\_\-width, N\-U\-L\-L, P\-S2\-I\-N\-C\-H, Agiodisc\-\_\-s\-::putstr, bezier\-::size, pointf\-\_\-s\-::x, pointf\-\_\-s\-::y, and G\-V\-J\-\_\-s\-::zoom.

\index{output.\-c@{output.\-c}!y\-Dir@{y\-Dir}}
\index{y\-Dir@{y\-Dir}!output.c@{output.\-c}}
\subsubsection[{y\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}double y\-Dir (
\begin{DoxyParamCaption}
\item[{double}]{y}
\end{DoxyParamCaption}
)}\label{output_8c_aa65666ab1388d970f857ae7158602e39}


Definition at line 25 of file output.\-c.



References Y\-D\-I\-R.

