\section{lib/sparse/colorutil.h File Reference}
\label{colorutil_8h}\index{lib/sparse/colorutil.\-h@{lib/sparse/colorutil.\-h}}
{\ttfamily \#include $<$color.\-h$>$}\\*
Include dependency graph for colorutil.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=148pt]{colorutil_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=262pt]{colorutil_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf colorxlate} (char $\ast${\bf str}, {\bf gvcolor\-\_\-t} $\ast$color, {\bf color\-\_\-type\-\_\-t} target\-\_\-type)
\item 
void {\bf rgb2hex} (float r, float g, float b, char $\ast$cstring, char $\ast$opacity)
\item 
char $\ast$ {\bf hue2rgb} ({\bf real} hue, char $\ast$color)
\item 
void {\bf hue2rgb\-\_\-real} ({\bf real} hue, {\bf real} $\ast$color)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{colorutil.\-h@{colorutil.\-h}!colorxlate@{colorxlate}}
\index{colorxlate@{colorxlate}!colorutil.h@{colorutil.\-h}}
\subsubsection[{colorxlate}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} colorxlate (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{str, }
\item[{{\bf gvcolor\-\_\-t} $\ast$}]{color, }
\item[{{\bf color\-\_\-type\-\_\-t}}]{target\-\_\-type}
\end{DoxyParamCaption}
)}\label{colorutil_8h_a23632c26973c6b1ca9a65118214eaf93}


Definition at line 254 of file colxlate.\-c.



References hsvrgbacolor\-\_\-t\-::a, hsvrgbacolor\-\_\-t\-::b, C, color\-\_\-s\-::cmyk, C\-M\-Y\-K\-\_\-\-B\-Y\-T\-E, C\-O\-L\-O\-R\-\_\-\-I\-N\-D\-E\-X, C\-O\-L\-O\-R\-\_\-\-M\-A\-L\-L\-O\-C\-\_\-\-F\-A\-I\-L, C\-O\-L\-O\-R\-\_\-\-O\-K, C\-O\-L\-O\-R\-\_\-\-S\-T\-R\-I\-N\-G, C\-O\-L\-O\-R\-\_\-\-U\-N\-K\-N\-O\-W\-N, hsvrgbacolor\-\_\-t\-::g, grealloc(), hsvrgbacolor\-\_\-t\-::h, color\-\_\-s\-::\-H\-S\-V\-A, H\-S\-V\-A\-\_\-\-D\-O\-U\-B\-L\-E, int, M\-A\-X, M\-I\-N, hsvrgbacolor\-\_\-t\-::name, N\-U\-L\-L, hsvrgbacolor\-\_\-t\-::r, color\-\_\-s\-::\-R\-G\-B\-A, color\-\_\-s\-::rgba, R\-G\-B\-A\-\_\-\-B\-Y\-T\-E, R\-G\-B\-A\-\_\-\-D\-O\-U\-B\-L\-E, R\-G\-B\-A\-\_\-\-W\-O\-R\-D, color\-\_\-s\-::rrggbbaa, hsvrgbacolor\-\_\-t\-::s, color\-\_\-s\-::type, color\-\_\-s\-::u, and hsvrgbacolor\-\_\-t\-::v.

\index{colorutil.\-h@{colorutil.\-h}!hue2rgb@{hue2rgb}}
\index{hue2rgb@{hue2rgb}!colorutil.h@{colorutil.\-h}}
\subsubsection[{hue2rgb}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ hue2rgb (
\begin{DoxyParamCaption}
\item[{{\bf real}}]{hue, }
\item[{char $\ast$}]{color}
\end{DoxyParamCaption}
)}\label{colorutil_8h_ab5e2cf1419a01b311533e03564e64278}


Definition at line 53 of file colorutil.\-c.

\index{colorutil.\-h@{colorutil.\-h}!hue2rgb\-\_\-real@{hue2rgb\-\_\-real}}
\index{hue2rgb\-\_\-real@{hue2rgb\-\_\-real}!colorutil.h@{colorutil.\-h}}
\subsubsection[{hue2rgb\-\_\-real}]{\setlength{\rightskip}{0pt plus 5cm}void hue2rgb\-\_\-real (
\begin{DoxyParamCaption}
\item[{{\bf real}}]{hue, }
\item[{{\bf real} $\ast$}]{color}
\end{DoxyParamCaption}
)}\label{colorutil_8h_a2027eee26a5b9c0709f9083c796324d2}


Definition at line 79 of file colorutil.\-c.



References Hue2\-R\-G\-B(), int, and real.

\index{colorutil.\-h@{colorutil.\-h}!rgb2hex@{rgb2hex}}
\index{rgb2hex@{rgb2hex}!colorutil.h@{colorutil.\-h}}
\subsubsection[{rgb2hex}]{\setlength{\rightskip}{0pt plus 5cm}void rgb2hex (
\begin{DoxyParamCaption}
\item[{float}]{r, }
\item[{float}]{g, }
\item[{float}]{b, }
\item[{char $\ast$}]{cstring, }
\item[{char $\ast$}]{opacity}
\end{DoxyParamCaption}
)}\label{colorutil_8h_a523c9aa773c69d95b6bcf98d6d143c63}


Definition at line 27 of file colorutil.\-c.



Referenced by Dot\-\_\-\-Set\-Cluster\-Color().

