\doxysubsubsection{Quadrangles}
\hypertarget{group__Eina__Quad__Group}{}\label{group__Eina__Quad__Group}\index{Quadrangles@{Quadrangles}}
\doxysubsubsubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Quad}{\+\_\+\+Eina\+\_\+\+Quad}}
\begin{DoxyCompactList}\small\item\em Quadrangle definition. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}\label{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d} 
typedef struct \mbox{\hyperlink{struct__Eina__Quad}{\+\_\+\+Eina\+\_\+\+Quad}} {\bfseries Eina\+\_\+\+Quad}
\begin{DoxyCompactList}\small\item\em Quadrangle definition. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Quad__Group_gaf5367ce6c2d2af707221826f14cb5d7f}{eina\+\_\+quad\+\_\+rectangle\+\_\+to}} (const \mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\ast$}{*}q, \mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} \texorpdfstring{$\ast$}{*}r)
\begin{DoxyCompactList}\small\item\em Transform the given quadrangle to the given rectangle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Quad__Group_ga6aeb11509ed1b2c07fc14018a77d9a16}{eina\+\_\+quad\+\_\+rectangle\+\_\+from}} (\mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\ast$}{*}q, const \mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} \texorpdfstring{$\ast$}{*}r)
\begin{DoxyCompactList}\small\item\em Transform the given rectangle to the given quadrangle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Quad__Group_ga3d35e5139cb8c24ac9eafabc340355a4}{eina\+\_\+quad\+\_\+coords\+\_\+set}} (\mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\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__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Quad__Group_ga15c55fdd461346dd535f2ef6032a1101}{eina\+\_\+quad\+\_\+coords\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\ast$}{*}q, double \texorpdfstring{$\ast$}{*}x0, double \texorpdfstring{$\ast$}{*}y0, double \texorpdfstring{$\ast$}{*}x1, double \texorpdfstring{$\ast$}{*}y1, double \texorpdfstring{$\ast$}{*}x2, double \texorpdfstring{$\ast$}{*}y2, double \texorpdfstring{$\ast$}{*}x3, double \texorpdfstring{$\ast$}{*}y3)
\begin{DoxyCompactList}\small\item\em Gets the values of the coordinates of the given quadrangle. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsubsection{Detailed Description}


Quadrangles operations. 

\doxysubsubsubsection{Function Documentation}
\Hypertarget{group__Eina__Quad__Group_gaf5367ce6c2d2af707221826f14cb5d7f}\label{group__Eina__Quad__Group_gaf5367ce6c2d2af707221826f14cb5d7f} 
\index{Quadrangles@{Quadrangles}!eina\_quad\_rectangle\_to@{eina\_quad\_rectangle\_to}}
\index{eina\_quad\_rectangle\_to@{eina\_quad\_rectangle\_to}!Quadrangles@{Quadrangles}}
\doxysubsubsubsubsection{\texorpdfstring{eina\_quad\_rectangle\_to()}{eina\_quad\_rectangle\_to()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+quad\+\_\+rectangle\+\_\+to (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\ast$}{*}}]{q,  }\item[{\mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} \texorpdfstring{$\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}
\Hypertarget{group__Eina__Quad__Group_ga6aeb11509ed1b2c07fc14018a77d9a16}\label{group__Eina__Quad__Group_ga6aeb11509ed1b2c07fc14018a77d9a16} 
\index{Quadrangles@{Quadrangles}!eina\_quad\_rectangle\_from@{eina\_quad\_rectangle\_from}}
\index{eina\_quad\_rectangle\_from@{eina\_quad\_rectangle\_from}!Quadrangles@{Quadrangles}}
\doxysubsubsubsubsection{\texorpdfstring{eina\_quad\_rectangle\_from()}{eina\_quad\_rectangle\_from()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+quad\+\_\+rectangle\+\_\+from (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\ast$}{*}}]{q,  }\item[{const \mbox{\hyperlink{group__Eina__Rectangle__Group_gad1f49db9be2cd747f458ebf4718b6228}{Eina\+\_\+\+Rectangle}} \texorpdfstring{$\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}
\Hypertarget{group__Eina__Quad__Group_ga3d35e5139cb8c24ac9eafabc340355a4}\label{group__Eina__Quad__Group_ga3d35e5139cb8c24ac9eafabc340355a4} 
\index{Quadrangles@{Quadrangles}!eina\_quad\_coords\_set@{eina\_quad\_coords\_set}}
\index{eina\_quad\_coords\_set@{eina\_quad\_coords\_set}!Quadrangles@{Quadrangles}}
\doxysubsubsubsubsection{\texorpdfstring{eina\_quad\_coords\_set()}{eina\_quad\_coords\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+quad\+\_\+coords\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\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}
\Hypertarget{group__Eina__Quad__Group_ga15c55fdd461346dd535f2ef6032a1101}\label{group__Eina__Quad__Group_ga15c55fdd461346dd535f2ef6032a1101} 
\index{Quadrangles@{Quadrangles}!eina\_quad\_coords\_get@{eina\_quad\_coords\_get}}
\index{eina\_quad\_coords\_get@{eina\_quad\_coords\_get}!Quadrangles@{Quadrangles}}
\doxysubsubsubsubsection{\texorpdfstring{eina\_quad\_coords\_get()}{eina\_quad\_coords\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+quad\+\_\+coords\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Quad__Group_gadbfe5a151d5485f8f0f71baeddc82a6d}{Eina\+\_\+\+Quad}} \texorpdfstring{$\ast$}{*}}]{q,  }\item[{double \texorpdfstring{$\ast$}{*}}]{x0,  }\item[{double \texorpdfstring{$\ast$}{*}}]{y0,  }\item[{double \texorpdfstring{$\ast$}{*}}]{x1,  }\item[{double \texorpdfstring{$\ast$}{*}}]{y1,  }\item[{double \texorpdfstring{$\ast$}{*}}]{x2,  }\item[{double \texorpdfstring{$\ast$}{*}}]{y2,  }\item[{double \texorpdfstring{$\ast$}{*}}]{x3,  }\item[{double \texorpdfstring{$\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}


References \mbox{\hyperlink{struct__Eina__Quad_af6bcf3b671baa01476606520e784f570}{\+\_\+\+Eina\+\_\+\+Quad\+::x0}}, \mbox{\hyperlink{struct__Eina__Quad_aacfd06bab57183d6202dd14db5f19077}{\+\_\+\+Eina\+\_\+\+Quad\+::x1}}, \mbox{\hyperlink{struct__Eina__Quad_aa0400761e2dfc81d9b33c781c4f55fe0}{\+\_\+\+Eina\+\_\+\+Quad\+::x2}}, \mbox{\hyperlink{struct__Eina__Quad_a0b0d0c37464fec7af7e7e530000109cc}{\+\_\+\+Eina\+\_\+\+Quad\+::x3}}, \mbox{\hyperlink{struct__Eina__Quad_a75c9d703d3c67b64e0fbc06c36c2fc9b}{\+\_\+\+Eina\+\_\+\+Quad\+::y0}}, \mbox{\hyperlink{struct__Eina__Quad_a0fefb974e22e0d9cc6ffb8a04b769f16}{\+\_\+\+Eina\+\_\+\+Quad\+::y1}}, \mbox{\hyperlink{struct__Eina__Quad_af5e63d5874c045e4e53aee9d6447b341}{\+\_\+\+Eina\+\_\+\+Quad\+::y2}}, and \mbox{\hyperlink{struct__Eina__Quad_a6d476bd0fb12853f9d5eed5c6965fb09}{\+\_\+\+Eina\+\_\+\+Quad\+::y3}}.

