\hypertarget{group__Eina__Quad__Group}{}\section{Quadrangles}
\label{group__Eina__Quad__Group}\index{Quadrangles@{Quadrangles}}


Quadrangles operations.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Quad}{\+\_\+\+Eina\+\_\+\+Quad}}
\begin{DoxyCompactList}\small\item\em Quadrangle definition. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}\label{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}} 
typedef struct \mbox{\hyperlink{struct__Eina__Quad}{\+\_\+\+Eina\+\_\+\+Quad}} \mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}}
\begin{DoxyCompactList}\small\item\em Quadrangle definition. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Quad__Group_gada6bfb9a5c5f9612d4284c1ff00f94eb}{eina\+\_\+quad\+\_\+rectangle\+\_\+to}} (const \mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$q, \mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} $\ast$r)
\begin{DoxyCompactList}\small\item\em Transform the given quadrangle to the given rectangle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Quad__Group_ga894d1153b06010cef5eda3a40757cd0a}{eina\+\_\+quad\+\_\+rectangle\+\_\+from}} (\mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$q, const \mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} $\ast$r)
\begin{DoxyCompactList}\small\item\em Transform the given rectangle to the given quadrangle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Quad__Group_gaa0b34be1282914dda7092412ca34ce71}{eina\+\_\+quad\+\_\+coords\+\_\+set}} (\mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$q, double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)
\begin{DoxyCompactList}\small\item\em Sets the values of the coordinates of the given quadrangle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Quad__Group_ga86c9f657fec5744aea5687e70bd64695}{eina\+\_\+quad\+\_\+coords\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$q, double $\ast$x0, double $\ast$y0, double $\ast$x1, double $\ast$y1, double $\ast$x2, double $\ast$y2, double $\ast$x3, double $\ast$y3)
\begin{DoxyCompactList}\small\item\em Gets the values of the coordinates of the given quadrangle. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Quadrangles operations. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Quad__Group_gada6bfb9a5c5f9612d4284c1ff00f94eb}\label{group__Eina__Quad__Group_gada6bfb9a5c5f9612d4284c1ff00f94eb}} 
\index{Quadrangles@{Quadrangles}!eina\+\_\+quad\+\_\+rectangle\+\_\+to@{eina\+\_\+quad\+\_\+rectangle\+\_\+to}}
\index{eina\+\_\+quad\+\_\+rectangle\+\_\+to@{eina\+\_\+quad\+\_\+rectangle\+\_\+to}!Quadrangles@{Quadrangles}}
\subsubsection{\texorpdfstring{eina\+\_\+quad\+\_\+rectangle\+\_\+to()}{eina\_quad\_rectangle\_to()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+quad\+\_\+rectangle\+\_\+to (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$}]{q,  }\item[{\mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} $\ast$}]{r }\end{DoxyParamCaption})}



Transform the given quadrangle to the given rectangle. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em q} & The quadrangle to get coordinates. \\
\hline
\mbox{\tt out}  & {\em r} & The rectangle.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \+\_\+\+Eina\+\_\+\+Rectangle\+::h, \+\_\+\+Eina\+\_\+\+Rectangle\+::w, \+\_\+\+Eina\+\_\+\+Rectangle\+::x, and \+\_\+\+Eina\+\_\+\+Rectangle\+::y.

\mbox{\Hypertarget{group__Eina__Quad__Group_ga894d1153b06010cef5eda3a40757cd0a}\label{group__Eina__Quad__Group_ga894d1153b06010cef5eda3a40757cd0a}} 
\index{Quadrangles@{Quadrangles}!eina\+\_\+quad\+\_\+rectangle\+\_\+from@{eina\+\_\+quad\+\_\+rectangle\+\_\+from}}
\index{eina\+\_\+quad\+\_\+rectangle\+\_\+from@{eina\+\_\+quad\+\_\+rectangle\+\_\+from}!Quadrangles@{Quadrangles}}
\subsubsection{\texorpdfstring{eina\+\_\+quad\+\_\+rectangle\+\_\+from()}{eina\_quad\_rectangle\_from()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+quad\+\_\+rectangle\+\_\+from (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$}]{q,  }\item[{const \mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} $\ast$}]{r }\end{DoxyParamCaption})}



Transform the given rectangle to the given quadrangle. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em q} & The quadrangle. \\
\hline
\mbox{\tt out}  & {\em r} & The rectangle to get coordinates.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \+\_\+\+Eina\+\_\+\+Rectangle\+::h, \+\_\+\+Eina\+\_\+\+Rectangle\+::w, \+\_\+\+Eina\+\_\+\+Rectangle\+::x, and \+\_\+\+Eina\+\_\+\+Rectangle\+::y.

\mbox{\Hypertarget{group__Eina__Quad__Group_gaa0b34be1282914dda7092412ca34ce71}\label{group__Eina__Quad__Group_gaa0b34be1282914dda7092412ca34ce71}} 
\index{Quadrangles@{Quadrangles}!eina\+\_\+quad\+\_\+coords\+\_\+set@{eina\+\_\+quad\+\_\+coords\+\_\+set}}
\index{eina\+\_\+quad\+\_\+coords\+\_\+set@{eina\+\_\+quad\+\_\+coords\+\_\+set}!Quadrangles@{Quadrangles}}
\subsubsection{\texorpdfstring{eina\+\_\+quad\+\_\+coords\+\_\+set()}{eina\_quad\_coords\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+quad\+\_\+coords\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$}]{q,  }\item[{double}]{x0,  }\item[{double}]{y0,  }\item[{double}]{x1,  }\item[{double}]{y1,  }\item[{double}]{x2,  }\item[{double}]{y2,  }\item[{double}]{x3,  }\item[{double}]{y3 }\end{DoxyParamCaption})}



Sets the values of the coordinates of the given quadrangle. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em q} & The quadrangle to set coordinates. \\
\hline
\mbox{\tt in}  & {\em x0} & Top left x coordinate. \\
\hline
\mbox{\tt in}  & {\em y0} & Top left y coordinate. \\
\hline
\mbox{\tt in}  & {\em x1} & Top right x coordinate. \\
\hline
\mbox{\tt in}  & {\em y1} & Top right y coordinate. \\
\hline
\mbox{\tt in}  & {\em x2} & Bottom right x coordinate. \\
\hline
\mbox{\tt in}  & {\em y2} & Bottom right y coordinate. \\
\hline
\mbox{\tt in}  & {\em x3} & Bottom left x coordinate. \\
\hline
\mbox{\tt in}  & {\em y3} & Bottom left y coordinate.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Quad__Group_ga86c9f657fec5744aea5687e70bd64695}\label{group__Eina__Quad__Group_ga86c9f657fec5744aea5687e70bd64695}} 
\index{Quadrangles@{Quadrangles}!eina\+\_\+quad\+\_\+coords\+\_\+get@{eina\+\_\+quad\+\_\+coords\+\_\+get}}
\index{eina\+\_\+quad\+\_\+coords\+\_\+get@{eina\+\_\+quad\+\_\+coords\+\_\+get}!Quadrangles@{Quadrangles}}
\subsubsection{\texorpdfstring{eina\+\_\+quad\+\_\+coords\+\_\+get()}{eina\_quad\_coords\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+quad\+\_\+coords\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Quad__Group_gad1216c445ce98862b68ba588f9635b0f}{Eina\+\_\+\+Quad}} $\ast$}]{q,  }\item[{double $\ast$}]{x0,  }\item[{double $\ast$}]{y0,  }\item[{double $\ast$}]{x1,  }\item[{double $\ast$}]{y1,  }\item[{double $\ast$}]{x2,  }\item[{double $\ast$}]{y2,  }\item[{double $\ast$}]{x3,  }\item[{double $\ast$}]{y3 }\end{DoxyParamCaption})}



Gets the values of the coordinates of the given quadrangle. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em q} & The quadrangle to get coordinates. \\
\hline
\mbox{\tt out}  & {\em x0} & Top left x coordinate. \\
\hline
\mbox{\tt out}  & {\em y0} & Top left y coordinate. \\
\hline
\mbox{\tt out}  & {\em x1} & Top right x coordinate. \\
\hline
\mbox{\tt out}  & {\em y1} & Top right y coordinate. \\
\hline
\mbox{\tt out}  & {\em x2} & Bottom right x coordinate. \\
\hline
\mbox{\tt out}  & {\em y2} & Bottom right y coordinate. \\
\hline
\mbox{\tt out}  & {\em x3} & Bottom left x coordinate. \\
\hline
\mbox{\tt out}  & {\em y3} & Bottom left y coordinate.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
