\hypertarget{eina__vector_8h}{}\section{eina\+\_\+vector.\+h File Reference}
\label{eina__vector_8h}\index{eina\+\_\+vector.\+h@{eina\+\_\+vector.\+h}}


\{Eina\+\_\+\+Vector\+\_\+\+Type\} \{Eina\+\_\+\+Vector2\}  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eina__Vector2}{\+\_\+\+Eina\+\_\+\+Vector2}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{eina__vector_8h_a4dec2993e64b780b351a08b6422b08e2}\label{eina__vector_8h_a4dec2993e64b780b351a08b6422b08e2}} 
typedef struct \hyperlink{struct__Eina__Vector2}{\+\_\+\+Eina\+\_\+\+Vector2} {\bfseries Eina\+\_\+\+Vector2}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{group__Eina__Vector2_gae38d75e8f305b13ef002ef0b5cfac558}{eina\+\_\+vector2\+\_\+set} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$dst, double x, double y)
\begin{DoxyCompactList}\small\item\em Set parameters to vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_gadb3dfcc2a843cdde59422f90037b7e54}{eina\+\_\+vector2\+\_\+array\+\_\+set} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$dst, const double $\ast$v)
\begin{DoxyCompactList}\small\item\em Set array to vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga08b62668951b03dcd65a9cad60794e79}{eina\+\_\+vector2\+\_\+copy} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$dst, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$src)
\begin{DoxyCompactList}\small\item\em Copy vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga3cf4fe1c9072de09501140127038a52b}{eina\+\_\+vector2\+\_\+negate} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em Make negative vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga918611a5f9c68549c98bf39e771610e6}{eina\+\_\+vector2\+\_\+add} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$a, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$b)
\begin{DoxyCompactList}\small\item\em Add two vectors. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga4845f984cd94138f6fcd848ba6496172}{eina\+\_\+vector2\+\_\+subtract} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$a, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$b)
\begin{DoxyCompactList}\small\item\em Subtract two vectors. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_gab606d190ccc07e533b7758cccdd80277}{eina\+\_\+vector2\+\_\+scale} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v, double scale)
\begin{DoxyCompactList}\small\item\em Scale vector. \end{DoxyCompactList}\item 
static double \hyperlink{group__Eina__Vector2_ga971dd932689516a71b6e94cb8eb60537}{eina\+\_\+vector2\+\_\+dot\+\_\+product} (const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$a, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$b)
\begin{DoxyCompactList}\small\item\em Return the dot product of the two vectors. \end{DoxyCompactList}\item 
static double \hyperlink{group__Eina__Vector2_ga102e39574ace00b0acf85108bdf7b0cc}{eina\+\_\+vector2\+\_\+length\+\_\+get} (const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em Return the length of the given vector. \end{DoxyCompactList}\item 
static double \hyperlink{group__Eina__Vector2_gab37b4d279190a8a55b2aa764345707e1}{eina\+\_\+vector2\+\_\+length\+\_\+square\+\_\+get} (const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em Return the length in square of the given vector. \end{DoxyCompactList}\item 
static double \hyperlink{group__Eina__Vector2_gaf91977a7970d27a27834a0d07cd0559f}{eina\+\_\+vector2\+\_\+distance\+\_\+get} (const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$a, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$b)
\begin{DoxyCompactList}\small\item\em Return the distance between of two vectors. \end{DoxyCompactList}\item 
static double \hyperlink{group__Eina__Vector2_ga9a96d5f73a222b35329e17e15c4312d0}{eina\+\_\+vector2\+\_\+distance\+\_\+square\+\_\+get} (const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$a, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$b)
\begin{DoxyCompactList}\small\item\em Return the distance in square between of two vectors. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga0a9192aff21abd1306e74efc9ea4c940}{eina\+\_\+vector2\+\_\+normalize} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em normalize vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_gaab36c2dccdb9e6a78872d6f4169290f3}{eina\+\_\+vector2\+\_\+transform} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{struct__Eina__Matrix2}{Eina\+\_\+\+Matrix2} $\ast$m, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em Transform vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga56fbeafe7f42fa04443b8442fc38d539}{eina\+\_\+vector2\+\_\+homogeneous\+\_\+position\+\_\+transform} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{group__Eina__Matrix3_ga7b643a47bf40554b991338bbc2597a98}{Eina\+\_\+\+Matrix3} $\ast$m, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em Homogeneous position transform vector. \end{DoxyCompactList}\item 
static void \hyperlink{group__Eina__Vector2_ga664bc9c76e55fa30fefe15caef744007}{eina\+\_\+vector2\+\_\+homogeneous\+\_\+direction\+\_\+transform} (\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$out, const \hyperlink{group__Eina__Matrix3_ga7b643a47bf40554b991338bbc2597a98}{Eina\+\_\+\+Matrix3} $\ast$m, const \hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2} $\ast$v)
\begin{DoxyCompactList}\small\item\em Homogeneous direction ransform vector. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\{Eina\+\_\+\+Vector\+\_\+\+Type\} \{Eina\+\_\+\+Vector2\} 

