\section{lib/common/shapes.c File Reference}
\label{shapes_8c}\index{lib/common/shapes.\-c@{lib/common/shapes.\-c}}
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}htmltable.\-h\char`\"{}}\\*
{\ttfamily \#include $<$limits.\-h$>$}\\*
Include dependency graph for shapes.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{shapes_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf poly\-\_\-desc\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf R\-B\-C\-O\-N\-S\-T}~12
\item 
\#define {\bf R\-B\-C\-U\-R\-V\-E}~.\-5
\item 
\#define {\bf A\-T\-T\-R\-\_\-\-S\-E\-T}(a, n)~((a) \&\& ($\ast$({\bf agxget}(n,a-\/$>$index)) != '\textbackslash{}0'))
\item 
\#define {\bf D\-E\-F\-\_\-\-P\-O\-I\-N\-T}~0.\-05
\item 
\#define {\bf M\-I\-N\-\_\-\-P\-O\-I\-N\-T}~0.\-0003
\item 
\#define {\bf I\-S\-\_\-\-B\-O\-X}(n)~({\bf N\-D\-\_\-shape}(n)-\/$>${\bf polygon} == \&p\-\_\-box)
\item 
\#define {\bf I\-S\-\_\-\-P\-L\-A\-I\-N}(n)~({\bf N\-D\-\_\-shape}(n)-\/$>${\bf polygon} == \&p\-\_\-plain)
\item 
\#define {\bf S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S}(style)~((style) \& ({\bf R\-O\-U\-N\-D\-E\-D} $|$ {\bf D\-I\-A\-G\-O\-N\-A\-L\-S} $|$ {\bf S\-H\-A\-P\-E\-\_\-\-M\-A\-S\-K}))
\item 
\#define {\bf G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X}(n, e)~((n) == (e)-\/$>${\bf head} ? {\bf E\-D\-\_\-head\-\_\-port}(e).bp \-: {\bf E\-D\-\_\-tail\-\_\-port}(e).bp)
\item 
\#define {\bf multicolor}(f)~(strchr(f,'\-:'))
\item 
\#define {\bf H\-A\-S\-T\-E\-X\-T}~1
\item 
\#define {\bf H\-A\-S\-P\-O\-R\-T}~2
\item 
\#define {\bf H\-A\-S\-T\-A\-B\-L\-E}~4
\item 
\#define {\bf I\-N\-T\-E\-X\-T}~8
\item 
\#define {\bf I\-N\-P\-O\-R\-T}~16
\item 
\#define {\bf I\-S\-C\-T\-R\-L}(c)~((c) == '\{' $|$$|$ (c) == '\}' $|$$|$ (c) == '$|$' $|$$|$ (c) == '$<$' $|$$|$ (c) == '$>$')
\item 
\#define {\bf alpha}~({\bf M\-\_\-\-P\-I}/10.\-0)
\item 
\#define {\bf alpha2}~(2$\ast${\bf alpha})
\item 
\#define {\bf alpha3}~(3$\ast${\bf alpha})
\item 
\#define {\bf alpha4}~(2$\ast${\bf alpha2})
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
char $\ast$ {\bf find\-Attr\-Color} (void $\ast$obj, {\bf attrsym\-\_\-t} $\ast$colorattr, char $\ast$dflt)
\item 
void {\bf round\-\_\-corners} ({\bf G\-V\-J\-\_\-t} $\ast$job, {\bf pointf} $\ast$A\-F, {\bf int} sides, {\bf int} style, {\bf int} filled)
\item 
{\bf shape\-\_\-kind} {\bf shape\-Of} ({\bf node\-\_\-t} $\ast$n)
\item 
{\bf boolean} {\bf is\-Polygon} ({\bf node\-\_\-t} $\ast$n)
\item 
{\bf shape\-\_\-desc} $\ast$ {\bf find\-\_\-user\-\_\-shape} (const char $\ast$name)
\item 
{\bf shape\-\_\-desc} $\ast$ {\bf bind\-\_\-shape} (char $\ast$name, {\bf node\-\_\-t} $\ast$np)
\item 
{\bf port} {\bf resolve\-Port} ({\bf node\-\_\-t} $\ast$n, {\bf node\-\_\-t} $\ast$other, {\bf port} $\ast$oldport)
\item 
void {\bf resolve\-Ports} ({\bf edge\-\_\-t} $\ast$e)
\item 
void {\bf gv\-\_\-init\-Shapes} (void)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{shapes.\-c@{shapes.\-c}!alpha@{alpha}}
\index{alpha@{alpha}!shapes.c@{shapes.\-c}}
\subsubsection[{alpha}]{\setlength{\rightskip}{0pt plus 5cm}\#define alpha~({\bf M\-\_\-\-P\-I}/10.\-0)}\label{shapes_8c_aa816ab3cd347f9fb8805f6296052c9c3}


Definition at line 3902 of file shapes.\-c.



Referenced by conjugate\-\_\-gradient(), conjugate\-\_\-gradient\-\_\-f(), conjugate\-\_\-gradient\-\_\-mkernel(), interpolate\-\_\-coord(), Operator\-\_\-uniform\-\_\-stress\-\_\-matmul(), Operator\-\_\-uniform\-\_\-stress\-\_\-matmul\-\_\-apply(), power\-\_\-iteration(), solve3(), Uniform\-Stress\-Smoother\-\_\-new(), and vectors\-\_\-scalar\-\_\-mult().

\index{shapes.\-c@{shapes.\-c}!alpha2@{alpha2}}
\index{alpha2@{alpha2}!shapes.c@{shapes.\-c}}
\subsubsection[{alpha2}]{\setlength{\rightskip}{0pt plus 5cm}\#define alpha2~(2$\ast${\bf alpha})}\label{shapes_8c_a5178705c538ff040b3f5d2e8a4dfdc5f}


Definition at line 3903 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!alpha3@{alpha3}}
\index{alpha3@{alpha3}!shapes.c@{shapes.\-c}}
\subsubsection[{alpha3}]{\setlength{\rightskip}{0pt plus 5cm}\#define alpha3~(3$\ast${\bf alpha})}\label{shapes_8c_a4cad34fac0a5df767fc4e4cf58e0180f}


Definition at line 3904 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!alpha4@{alpha4}}
\index{alpha4@{alpha4}!shapes.c@{shapes.\-c}}
\subsubsection[{alpha4}]{\setlength{\rightskip}{0pt plus 5cm}\#define alpha4~(2$\ast${\bf alpha2})}\label{shapes_8c_a0633f1e287c22a2c35abf8a508a74741}


Definition at line 3905 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!A\-T\-T\-R\-\_\-\-S\-E\-T@{A\-T\-T\-R\-\_\-\-S\-E\-T}}
\index{A\-T\-T\-R\-\_\-\-S\-E\-T@{A\-T\-T\-R\-\_\-\-S\-E\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{A\-T\-T\-R\-\_\-\-S\-E\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\-T\-T\-R\-\_\-\-S\-E\-T(
\begin{DoxyParamCaption}
\item[{}]{a, }
\item[{}]{n}
\end{DoxyParamCaption}
)~((a) \&\& ($\ast$({\bf agxget}(n,a-\/$>$index)) != '\textbackslash{}0'))}\label{shapes_8c_a1d52af55474f62c3234682165599ef5d}


Definition at line 28 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!D\-E\-F\-\_\-\-P\-O\-I\-N\-T@{D\-E\-F\-\_\-\-P\-O\-I\-N\-T}}
\index{D\-E\-F\-\_\-\-P\-O\-I\-N\-T@{D\-E\-F\-\_\-\-P\-O\-I\-N\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{D\-E\-F\-\_\-\-P\-O\-I\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-E\-F\-\_\-\-P\-O\-I\-N\-T~0.\-05}\label{shapes_8c_a7d4ff9f3904fb129ccb8f058c0dcb1c9}


Definition at line 30 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X@{G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X}}
\index{G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X@{G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X}!shapes.c@{shapes.\-c}}
\subsubsection[{G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define G\-E\-T\-\_\-\-P\-O\-R\-T\-\_\-\-B\-O\-X(
\begin{DoxyParamCaption}
\item[{}]{n, }
\item[{}]{e}
\end{DoxyParamCaption}
)~((n) == (e)-\/$>${\bf head} ? {\bf E\-D\-\_\-head\-\_\-port}(e).bp \-: {\bf E\-D\-\_\-tail\-\_\-port}(e).bp)}\label{shapes_8c_aa77aef7b38c49f3e35151b51cb56d902}


Definition at line 2253 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!H\-A\-S\-P\-O\-R\-T@{H\-A\-S\-P\-O\-R\-T}}
\index{H\-A\-S\-P\-O\-R\-T@{H\-A\-S\-P\-O\-R\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{H\-A\-S\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-A\-S\-P\-O\-R\-T~2}\label{shapes_8c_a11fe5478f43b207ceee7c823f899d01b}


Definition at line 3192 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!H\-A\-S\-T\-A\-B\-L\-E@{H\-A\-S\-T\-A\-B\-L\-E}}
\index{H\-A\-S\-T\-A\-B\-L\-E@{H\-A\-S\-T\-A\-B\-L\-E}!shapes.c@{shapes.\-c}}
\subsubsection[{H\-A\-S\-T\-A\-B\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-A\-S\-T\-A\-B\-L\-E~4}\label{shapes_8c_a327a8da3dfdf352169973461306151e7}


Definition at line 3193 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!H\-A\-S\-T\-E\-X\-T@{H\-A\-S\-T\-E\-X\-T}}
\index{H\-A\-S\-T\-E\-X\-T@{H\-A\-S\-T\-E\-X\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{H\-A\-S\-T\-E\-X\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-A\-S\-T\-E\-X\-T~1}\label{shapes_8c_a6fe7a90e212e9a4a5ca21f46b3ff8f57}


Definition at line 3191 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!I\-N\-P\-O\-R\-T@{I\-N\-P\-O\-R\-T}}
\index{I\-N\-P\-O\-R\-T@{I\-N\-P\-O\-R\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{I\-N\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-P\-O\-R\-T~16}\label{shapes_8c_a49ceace7cf236357e3f6245963914de9}


Definition at line 3195 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!I\-N\-T\-E\-X\-T@{I\-N\-T\-E\-X\-T}}
\index{I\-N\-T\-E\-X\-T@{I\-N\-T\-E\-X\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{I\-N\-T\-E\-X\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-T\-E\-X\-T~8}\label{shapes_8c_a3075cdaf13708e75fdcb32ea1fb3c5be}


Definition at line 3194 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!I\-S\-\_\-\-B\-O\-X@{I\-S\-\_\-\-B\-O\-X}}
\index{I\-S\-\_\-\-B\-O\-X@{I\-S\-\_\-\-B\-O\-X}!shapes.c@{shapes.\-c}}
\subsubsection[{I\-S\-\_\-\-B\-O\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-S\-\_\-\-B\-O\-X(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf N\-D\-\_\-shape}(n)-\/$>${\bf polygon} == \&p\-\_\-box)}\label{shapes_8c_a2b0c07f4fd137944fb3a81d68bcdeb09}


Definition at line 152 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!I\-S\-\_\-\-P\-L\-A\-I\-N@{I\-S\-\_\-\-P\-L\-A\-I\-N}}
\index{I\-S\-\_\-\-P\-L\-A\-I\-N@{I\-S\-\_\-\-P\-L\-A\-I\-N}!shapes.c@{shapes.\-c}}
\subsubsection[{I\-S\-\_\-\-P\-L\-A\-I\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-S\-\_\-\-P\-L\-A\-I\-N(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~({\bf N\-D\-\_\-shape}(n)-\/$>${\bf polygon} == \&p\-\_\-plain)}\label{shapes_8c_a55f796e737fa089698e59026b265c2d4}


Definition at line 153 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!I\-S\-C\-T\-R\-L@{I\-S\-C\-T\-R\-L}}
\index{I\-S\-C\-T\-R\-L@{I\-S\-C\-T\-R\-L}!shapes.c@{shapes.\-c}}
\subsubsection[{I\-S\-C\-T\-R\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-S\-C\-T\-R\-L(
\begin{DoxyParamCaption}
\item[{}]{c}
\end{DoxyParamCaption}
)~((c) == '\{' $|$$|$ (c) == '\}' $|$$|$ (c) == '$|$' $|$$|$ (c) == '$<$' $|$$|$ (c) == '$>$')}\label{shapes_8c_ab4b33bbd52131fa82c2cdbf54112e763}


Definition at line 3197 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!M\-I\-N\-\_\-\-P\-O\-I\-N\-T@{M\-I\-N\-\_\-\-P\-O\-I\-N\-T}}
\index{M\-I\-N\-\_\-\-P\-O\-I\-N\-T@{M\-I\-N\-\_\-\-P\-O\-I\-N\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{M\-I\-N\-\_\-\-P\-O\-I\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-I\-N\-\_\-\-P\-O\-I\-N\-T~0.\-0003}\label{shapes_8c_a9e15ed1bcda73c7e129096bee6ea8c70}


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

\index{shapes.\-c@{shapes.\-c}!multicolor@{multicolor}}
\index{multicolor@{multicolor}!shapes.c@{shapes.\-c}}
\subsubsection[{multicolor}]{\setlength{\rightskip}{0pt plus 5cm}\#define multicolor(
\begin{DoxyParamCaption}
\item[{}]{f}
\end{DoxyParamCaption}
)~(strchr(f,'\-:'))}\label{shapes_8c_a4ca3c9440338e85eb8396b5395c6e415}


Definition at line 2771 of file shapes.\-c.

\index{shapes.\-c@{shapes.\-c}!R\-B\-C\-O\-N\-S\-T@{R\-B\-C\-O\-N\-S\-T}}
\index{R\-B\-C\-O\-N\-S\-T@{R\-B\-C\-O\-N\-S\-T}!shapes.c@{shapes.\-c}}
\subsubsection[{R\-B\-C\-O\-N\-S\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\-B\-C\-O\-N\-S\-T~12}\label{shapes_8c_a92beb7214fe47648002ac2c964d8cf10}


Definition at line 18 of file shapes.\-c.



Referenced by round\-\_\-corners().

\index{shapes.\-c@{shapes.\-c}!R\-B\-C\-U\-R\-V\-E@{R\-B\-C\-U\-R\-V\-E}}
\index{R\-B\-C\-U\-R\-V\-E@{R\-B\-C\-U\-R\-V\-E}!shapes.c@{shapes.\-c}}
\subsubsection[{R\-B\-C\-U\-R\-V\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\-B\-C\-U\-R\-V\-E~.\-5}\label{shapes_8c_a6db1bf0ee53334b571949d842238c751}


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



Referenced by round\-\_\-corners().

\index{shapes.\-c@{shapes.\-c}!S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S@{S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S}}
\index{S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S@{S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S}!shapes.c@{shapes.\-c}}
\subsubsection[{S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-P\-E\-C\-I\-A\-L\-\_\-\-C\-O\-R\-N\-E\-R\-S(
\begin{DoxyParamCaption}
\item[{}]{style}
\end{DoxyParamCaption}
)~((style) \& ({\bf R\-O\-U\-N\-D\-E\-D} $|$ {\bf D\-I\-A\-G\-O\-N\-A\-L\-S} $|$ {\bf S\-H\-A\-P\-E\-\_\-\-M\-A\-S\-K}))}\label{shapes_8c_ad8637025f8ea5d47abf076d7fae0c0de}


Definition at line 156 of file shapes.\-c.



\subsection{Function Documentation}
\index{shapes.\-c@{shapes.\-c}!bind\-\_\-shape@{bind\-\_\-shape}}
\index{bind\-\_\-shape@{bind\-\_\-shape}!shapes.c@{shapes.\-c}}
\subsubsection[{bind\-\_\-shape}]{\setlength{\rightskip}{0pt plus 5cm}{\bf shape\-\_\-desc}$\ast$ bind\-\_\-shape (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name, }
\item[{{\bf node\-\_\-t} $\ast$}]{np}
\end{DoxyParamCaption}
)}\label{shapes_8c_a6f22d3e86a4c651d1c791054758fc00a}


Definition at line 3837 of file shapes.\-c.



References agget(), shape\-\_\-desc\-::name, N\-U\-L\-L, safefile(), str, and streq.



Referenced by common\-\_\-init\-\_\-node().

\index{shapes.\-c@{shapes.\-c}!find\-\_\-user\-\_\-shape@{find\-\_\-user\-\_\-shape}}
\index{find\-\_\-user\-\_\-shape@{find\-\_\-user\-\_\-shape}!shapes.c@{shapes.\-c}}
\subsubsection[{find\-\_\-user\-\_\-shape}]{\setlength{\rightskip}{0pt plus 5cm}{\bf shape\-\_\-desc}$\ast$ find\-\_\-user\-\_\-shape (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{shapes_8c_a9302219a59e26d5e60557c34fea98a4b}


Definition at line 3803 of file shapes.\-c.



References N\-U\-L\-L, and streq.



Referenced by gvrender\-\_\-usershape().

\index{shapes.\-c@{shapes.\-c}!find\-Attr\-Color@{find\-Attr\-Color}}
\index{find\-Attr\-Color@{find\-Attr\-Color}!shapes.c@{shapes.\-c}}
\subsubsection[{find\-Attr\-Color}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ find\-Attr\-Color (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj, }
\item[{{\bf attrsym\-\_\-t} $\ast$}]{colorattr, }
\item[{char $\ast$}]{dflt}
\end{DoxyParamCaption}
)}\label{shapes_8c_a05d903d36f5791f66d79554e60b9ea03}


Definition at line 367 of file shapes.\-c.



References D\-E\-F\-A\-U\-L\-T\-\_\-\-F\-I\-L\-L, late\-\_\-nnstring(), and N\-U\-L\-L.

\index{shapes.\-c@{shapes.\-c}!gv\-\_\-init\-Shapes@{gv\-\_\-init\-Shapes}}
\index{gv\-\_\-init\-Shapes@{gv\-\_\-init\-Shapes}!shapes.c@{shapes.\-c}}
\subsubsection[{gv\-\_\-init\-Shapes}]{\setlength{\rightskip}{0pt plus 5cm}void gv\-\_\-init\-Shapes (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{shapes_8c_a0727b23e2befe9a6fe5bc981f22bd66b}


Definition at line 4218 of file shapes.\-c.



References N\-U\-L\-L.



Referenced by gv\-Layout\-Jobs().

\index{shapes.\-c@{shapes.\-c}!is\-Polygon@{is\-Polygon}}
\index{is\-Polygon@{is\-Polygon}!shapes.c@{shapes.\-c}}
\subsubsection[{is\-Polygon}]{\setlength{\rightskip}{0pt plus 5cm}{\bf boolean} is\-Polygon (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{shapes_8c_a0d12ef6c01a8946802887d6581e93dba}


Definition at line 1840 of file shapes.\-c.



References N\-D\-\_\-shape.



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

\index{shapes.\-c@{shapes.\-c}!resolve\-Port@{resolve\-Port}}
\index{resolve\-Port@{resolve\-Port}!shapes.c@{shapes.\-c}}
\subsubsection[{resolve\-Port}]{\setlength{\rightskip}{0pt plus 5cm}{\bf port} resolve\-Port (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{n, }
\item[{{\bf node\-\_\-t} $\ast$}]{other, }
\item[{{\bf port} $\ast$}]{oldport}
\end{DoxyParamCaption}
)}\label{shapes_8c_ad1dae48e086605aa9b4d9fa4676b411f}


Definition at line 4196 of file shapes.\-c.



References port\-::bp, port\-::name, N\-U\-L\-L, and port\-::side.



Referenced by beginpath(), endpath(), and resolve\-Ports().

\index{shapes.\-c@{shapes.\-c}!resolve\-Ports@{resolve\-Ports}}
\index{resolve\-Ports@{resolve\-Ports}!shapes.c@{shapes.\-c}}
\subsubsection[{resolve\-Ports}]{\setlength{\rightskip}{0pt plus 5cm}void resolve\-Ports (
\begin{DoxyParamCaption}
\item[{{\bf edge\-\_\-t} $\ast$}]{e}
\end{DoxyParamCaption}
)}\label{shapes_8c_a377ba40084d71b89a5ed745f5413657c}


Definition at line 4208 of file shapes.\-c.



References aghead(), agtail(), E\-D\-\_\-head\-\_\-port, E\-D\-\_\-tail\-\_\-port, and resolve\-Port().



Referenced by spline\-Edges().

\index{shapes.\-c@{shapes.\-c}!round\-\_\-corners@{round\-\_\-corners}}
\index{round\-\_\-corners@{round\-\_\-corners}!shapes.c@{shapes.\-c}}
\subsubsection[{round\-\_\-corners}]{\setlength{\rightskip}{0pt plus 5cm}void round\-\_\-corners (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-J\-\_\-t} $\ast$}]{job, }
\item[{{\bf pointf} $\ast$}]{A\-F, }
\item[{{\bf int}}]{sides, }
\item[{{\bf int}}]{style, }
\item[{{\bf int}}]{filled}
\end{DoxyParamCaption}
)}\label{shapes_8c_a92c294b13e796e148c1e98d6259064dc}


Definition at line 516 of file shapes.\-c.



References A\-S\-S\-E\-M\-B\-L\-Y, assert, B\-O\-X3\-D, C, C\-D\-S, C\-O\-M\-P\-O\-N\-E\-N\-T, C\-Y\-L\-I\-N\-D\-E\-R, D\-I\-A\-G\-O\-N\-A\-L\-S, D\-O\-G\-E\-A\-R, F\-A\-L\-S\-E, F\-I\-V\-E\-P\-O\-V\-E\-R\-H\-A\-N\-G, F\-O\-L\-D\-E\-R, gvrender\-\_\-beziercurve(), gvrender\-\_\-polygon(), gvrender\-\_\-polyline(), I\-N\-S\-U\-L\-A\-T\-O\-R, L\-A\-R\-R\-O\-W, L\-P\-R\-O\-M\-O\-T\-E\-R, M\-I\-N, N\-\_\-\-G\-N\-E\-W, N\-\_\-\-N\-E\-W, N\-O\-V\-E\-R\-H\-A\-N\-G, P\-R\-I\-M\-E\-R\-S\-I\-T\-E, P\-R\-O\-M\-O\-T\-E\-R, P\-R\-O\-T\-E\-A\-S\-E\-S\-I\-T\-E, P\-R\-O\-T\-E\-I\-N\-S\-T\-A\-B, R\-A\-R\-R\-O\-W, R\-B\-C\-O\-N\-S\-T, R\-B\-C\-U\-R\-V\-E, R\-E\-S\-T\-R\-I\-C\-T\-I\-O\-N\-S\-I\-T\-E, R\-I\-B\-O\-S\-I\-T\-E, R\-N\-A\-S\-T\-A\-B, R\-O\-U\-N\-D\-E\-D, R\-P\-R\-O\-M\-O\-T\-E\-R, S\-H\-A\-P\-E\-\_\-\-M\-A\-S\-K, S\-I\-G\-N\-A\-T\-U\-R\-E, T\-A\-B, T\-E\-R\-M\-I\-N\-A\-T\-O\-R, T\-H\-R\-E\-E\-P\-O\-V\-E\-R\-H\-A\-N\-G, U\-T\-R, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.



Referenced by emit\-\_\-clusters().

\index{shapes.\-c@{shapes.\-c}!shape\-Of@{shape\-Of}}
\index{shape\-Of@{shape\-Of}!shapes.c@{shapes.\-c}}
\subsubsection[{shape\-Of}]{\setlength{\rightskip}{0pt plus 5cm}{\bf shape\-\_\-kind} shape\-Of (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{shapes_8c_a717a5d0848652d2fb4606b524f3a381b}


Definition at line 1820 of file shapes.\-c.



References epsf\-\_\-init(), N\-D\-\_\-shape, S\-H\-\_\-\-E\-P\-S\-F, S\-H\-\_\-\-P\-O\-I\-N\-T, S\-H\-\_\-\-P\-O\-L\-Y, S\-H\-\_\-\-R\-E\-C\-O\-R\-D, and S\-H\-\_\-\-U\-N\-S\-E\-T.



Referenced by common\-\_\-init\-\_\-node(), make\-Add\-Poly(), make\-Obstacle(), and make\-Poly().

