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


Quadrangles operations.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Quad}{\+\_\+\+Eina\+\_\+\+Quad}}
\begin{DoxyCompactList}\small\item\em Quadrangle definition. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{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}
\doxysubsection*{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}


\doxysubsection{Detailed Description}
Quadrangles operations. 



\doxysubsection{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}}
\doxysubsubsection{\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{\texttt{ in}}  & {\em q} & The quadrangle to get coordinates. \\
\hline
\mbox{\texttt{ out}}  & {\em r} & The rectangle.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\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}}
\doxysubsubsection{\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{\texttt{ in}}  & {\em q} & The quadrangle. \\
\hline
\mbox{\texttt{ out}}  & {\em r} & The rectangle to get coordinates.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\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}}
\doxysubsubsection{\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{\texttt{ out}}  & {\em q} & The quadrangle to set coordinates. \\
\hline
\mbox{\texttt{ in}}  & {\em x0} & Top left x coordinate. \\
\hline
\mbox{\texttt{ in}}  & {\em y0} & Top left y coordinate. \\
\hline
\mbox{\texttt{ in}}  & {\em x1} & Top right x coordinate. \\
\hline
\mbox{\texttt{ in}}  & {\em y1} & Top right y coordinate. \\
\hline
\mbox{\texttt{ in}}  & {\em x2} & Bottom right x coordinate. \\
\hline
\mbox{\texttt{ in}}  & {\em y2} & Bottom right y coordinate. \\
\hline
\mbox{\texttt{ in}}  & {\em x3} & Bottom left x coordinate. \\
\hline
\mbox{\texttt{ 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}}
\doxysubsubsection{\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{\texttt{ in}}  & {\em q} & The quadrangle to get coordinates. \\
\hline
\mbox{\texttt{ out}}  & {\em x0} & Top left x coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em y0} & Top left y coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em x1} & Top right x coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em y1} & Top right y coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em x2} & Bottom right x coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em y2} & Bottom right y coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em x3} & Bottom left x coordinate. \\
\hline
\mbox{\texttt{ out}}  & {\em y3} & Bottom left y coordinate.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
