\hypertarget{group__Evas__Object__Polygon}{\section{Polygon Object Functions}
\label{group__Evas__Object__Polygon}\index{Polygon Object Functions@{Polygon Object Functions}}
}


Functions that operate on evas polygon objects.  


\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Evas__Object__Polygon_gae6057404388f0bd72647b86ca45dc3ca}{const \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\-\_\-\-Class} $\ast$ {\bfseries evas\-\_\-object\-\_\-polygon\-\_\-class\-\_\-get} (void)}\label{group__Evas__Object__Polygon_gae6057404388f0bd72647b86ca45dc3ca}

\item 
\hypertarget{group__Evas__Object__Polygon_ga0b2f6f33e9053c3dda011327f44b97a6}{\#define {\bfseries E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-C\-L\-A\-S\-S}~evas\-\_\-object\-\_\-polygon\-\_\-class\-\_\-get()}\label{group__Evas__Object__Polygon_ga0b2f6f33e9053c3dda011327f44b97a6}

\item 
\hypertarget{group__Evas__Object__Polygon_ga74c775b59c35586c499f6cecd9dd54c6}{\#define {\bfseries E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-I\-D}(sub\-\_\-id)~(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-B\-A\-S\-E\-\_\-\-I\-D + sub\-\_\-id)}\label{group__Evas__Object__Polygon_ga74c775b59c35586c499f6cecd9dd54c6}

\item 
\#define \hyperlink{group__Evas__Object__Polygon_ga090351777cd42579e06d4863b75630e5}{evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add}(x, y)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, y)
\item 
\#define \hyperlink{group__Evas__Object__Polygon_gaa7cb080415465884c990b2fed7e0d931}{evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear}()~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-S\-\_\-\-C\-L\-E\-A\-R)
\item 
enum \{ \\*
{\bfseries E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-\_\-\-A\-D\-D}, 
\\*
{\bfseries E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-S\-\_\-\-C\-L\-E\-A\-R}, 
\\*
{\bfseries E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-L\-A\-S\-T}
 \}
\item 
\hypertarget{group__Evas__Object__Polygon_ga92623c4b160e96918ad881d8c82f79eb}{Eo\-\_\-\-Op {\bfseries E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-B\-A\-S\-E\-\_\-\-I\-D}}\label{group__Evas__Object__Polygon_ga92623c4b160e96918ad881d8c82f79eb}

\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$ \hyperlink{group__Evas__Object__Polygon_gab0f7e6065a282a31b88697e4d5f52655}{evas\-\_\-object\-\_\-polygon\-\_\-add} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Adds a new evas polygon object to the given evas. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Polygon_ga1086af8adfca395fdcd5ed13520ce8a9}{evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord x, Evas\-\_\-\-Coord y)
\begin{DoxyCompactList}\small\item\em Adds the given point to the given evas polygon object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Polygon_gadc41300036ecb0c40aefe209bbb8d47e}{evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Removes all of the points from the given evas polygon object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that operate on evas polygon objects. Hint\-: as evas does not provide ellipse, smooth paths or circle, one can calculate points and convert these to a polygon.

\begin{DoxyWarning}{Warning}
We don't guarantee any proper results if you create a Polygon object without setting the evas engine. 
\end{DoxyWarning}


\subsection{Macro Definition Documentation}
\hypertarget{group__Evas__Object__Polygon_ga090351777cd42579e06d4863b75630e5}{\index{Polygon Object Functions@{Polygon Object Functions}!evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add@{evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add}}
\index{evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add@{evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add}!Polygon Object Functions@{Polygon Object Functions}}
\subsubsection[{evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, y)}}\label{group__Evas__Object__Polygon_ga090351777cd42579e06d4863b75630e5}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Adds the given point to the given evas polygon object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & \\
\hline
\mbox{\tt in}  & {\em y} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Polygon_ga1086af8adfca395fdcd5ed13520ce8a9}{evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add().

\hypertarget{group__Evas__Object__Polygon_gaa7cb080415465884c990b2fed7e0d931}{\index{Polygon Object Functions@{Polygon Object Functions}!evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear@{evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear}}
\index{evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear@{evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear}!Polygon Object Functions@{Polygon Object Functions}}
\subsubsection[{evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-P\-O\-L\-Y\-G\-O\-N\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-O\-I\-N\-T\-S\-\_\-\-C\-L\-E\-A\-R)}}\label{group__Evas__Object__Polygon_gaa7cb080415465884c990b2fed7e0d931}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Removes all of the points from the given evas polygon object.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Polygon_gadc41300036ecb0c40aefe209bbb8d47e}{evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear().



\subsection{Function Documentation}
\hypertarget{group__Evas__Object__Polygon_gab0f7e6065a282a31b88697e4d5f52655}{\index{Polygon Object Functions@{Polygon Object Functions}!evas\-\_\-object\-\_\-polygon\-\_\-add@{evas\-\_\-object\-\_\-polygon\-\_\-add}}
\index{evas\-\_\-object\-\_\-polygon\-\_\-add@{evas\-\_\-object\-\_\-polygon\-\_\-add}!Polygon Object Functions@{Polygon Object Functions}}
\subsubsection[{evas\-\_\-object\-\_\-polygon\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\-\_\-\-Object}$\ast$ evas\-\_\-object\-\_\-polygon\-\_\-add (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Polygon_gab0f7e6065a282a31b88697e4d5f52655}


Adds a new evas polygon object to the given evas. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new evas polygon object. 
\end{DoxyReturn}
\hypertarget{group__Evas__Object__Polygon_ga1086af8adfca395fdcd5ed13520ce8a9}{\index{Polygon Object Functions@{Polygon Object Functions}!evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add@{evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add}}
\index{evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add@{evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add}!Polygon Object Functions@{Polygon Object Functions}}
\subsubsection[{evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-polygon\-\_\-point\-\_\-add (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{x, }
\item[{Evas\-\_\-\-Coord}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Polygon_ga1086af8adfca395fdcd5ed13520ce8a9}


Adds the given point to the given evas polygon object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given evas polygon object. \\
\hline
{\em x} & The X coordinate of the given point. \\
\hline
{\em y} & The Y coordinate of the given point. \\
\hline
\end{DoxyParams}


References evas\-\_\-obj\-\_\-polygon\-\_\-point\-\_\-add.

\hypertarget{group__Evas__Object__Polygon_gadc41300036ecb0c40aefe209bbb8d47e}{\index{Polygon Object Functions@{Polygon Object Functions}!evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear@{evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear}}
\index{evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear@{evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear}!Polygon Object Functions@{Polygon Object Functions}}
\subsubsection[{evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-polygon\-\_\-points\-\_\-clear (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Polygon_gadc41300036ecb0c40aefe209bbb8d47e}


Removes all of the points from the given evas polygon object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given polygon object. \\
\hline
\end{DoxyParams}


References evas\-\_\-obj\-\_\-polygon\-\_\-points\-\_\-clear.

