Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 65f8aa69c4b85eb2463f24ce9ff49b95 > files > 304

cimg-devel-1.5.9-3.mga5.i586.rpm

\hypertarget{group__cimg__drawing}{\section{Using Drawing Functions.}
\label{group__cimg__drawing}\index{Using Drawing Functions.@{Using Drawing Functions.}}
}
\hypertarget{group__cimg__drawing_s5}{}\subsection{Using Drawing Functions.}\label{group__cimg__drawing_s5}
This section tells more about drawing features in C\+Img images. Drawing functions list can be found in \href{structCImg.html}{\tt the C\+Img functions list} (section {\bfseries Drawing} Functions), and are all defined on a common basis. Here are the important points to understand before using drawing functions \+:


\begin{DoxyItemize}
\item Drawing is performed on the instance image. Drawing functions parameters are defined as {\itshape const} variables and return a reference to the current instance {\ttfamily ($\ast$this)}, so that drawing functions can be pipelined (see examples below). Drawing is usually done in 2\+D color images but can be performed in 3\+D images with any vector-\/valued dimension, and with any possible pixel type.
\item A color parameter is always needed to draw features in an image. The color must be defined as a C-\/style array whose dimension is at least 
\end{DoxyItemize}