\hypertarget{group__Ecore__Animator__Group}{}\section{Ecore Animator functions}
\label{group__Ecore__Animator__Group}\index{Ecore Animator functions@{Ecore Animator functions}}


Ecore animators are a helper to simplify creating animations.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga6166b80b228b3601c8dbe5a4e4d43936}\label{group__Ecore__Animator__Group_ga6166b80b228b3601c8dbe5a4e4d43936}} 
typedef enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga65389917c70f87bd3b9b76850df8bfe6}{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source}} {\bfseries Ecore\+\_\+\+Animator\+\_\+\+Source}
\item 
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga7cfa90cfd3bb181d28604ca34d896c91}\label{group__Ecore__Animator__Group_ga7cfa90cfd3bb181d28604ca34d896c91}} 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{group__Ecore__Animator__Group_ga7cfa90cfd3bb181d28604ca34d896c91}{Ecore\+\_\+\+Timeline\+\_\+\+Cb}}) (void $\ast$data, double pos)
\begin{DoxyCompactList}\small\item\em A callback run for a task (animators with runtimes) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga65389917c70f87bd3b9b76850df8bfe6}{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source}} \{ \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga65389917c70f87bd3b9b76850df8bfe6a0dbb85b96817331505974486f5604e77}{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga65389917c70f87bd3b9b76850df8bfe6a40806499705304d1a7a0784b7ea06be3}{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM}}
 \}
\begin{DoxyCompactList}\small\item\em Defines the timing sources for animators. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}} \{ \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a67cea4cd70c7c97862cdb9d3f51e59fd}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR}} = 0, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG}}, 
\newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER}}
 \}
\begin{DoxyCompactList}\small\item\em Defines the position mappings for the animation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}{ecore\+\_\+animator\+\_\+frametime\+\_\+set}} (double frametime)
\begin{DoxyCompactList}\small\item\em Sets the animator call interval in seconds. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Ecore__Animator__Group_ga2981cf0a663650e0457d18a7ba18a6ad}{ecore\+\_\+animator\+\_\+frametime\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Gets the animator call interval in seconds. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}{ecore\+\_\+animator\+\_\+pos\+\_\+map}} (double pos, \mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}} map, double v1, double v2)
\begin{DoxyCompactList}\small\item\em Maps an input position from 0.\+0 to 1.\+0 along a timeline to a position in a different curve. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Ecore__Animator__Group_gaf003ecceff48304546472ad28b987883}{ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n}} (double pos, \mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}} map, int v\+\_\+size, double $\ast$v)
\begin{DoxyCompactList}\small\item\em Maps an input position from 0.\+0 to 1.\+0 along a timeline to a position in a different curve. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}{ecore\+\_\+animator\+\_\+source\+\_\+set}} (Ecore\+\_\+\+Animator\+\_\+\+Source source)
\begin{DoxyCompactList}\small\item\em Sets the source of animator ticks for the mainloop. \end{DoxyCompactList}\item 
Ecore\+\_\+\+Animator\+\_\+\+Source \mbox{\hyperlink{group__Ecore__Animator__Group_ga880be7bbe3c47b2e1b91f5678e7f6c26}{ecore\+\_\+animator\+\_\+source\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Gets the animator source currently set. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga00aa98b68b33de046b49a0158956874f}{Ecore\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the function that begins a custom animator tick source. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_ga7bc6abc79daeb32d2b0951f701948576}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga00aa98b68b33de046b49a0158956874f}{Ecore\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the function that ends a custom animator tick source. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick}} (void)
\begin{DoxyCompactList}\small\item\em Triggers a custom animator tick. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga52fada8588561ce171a2d679df7f0c02}\label{group__Ecore__Animator__Group_ga52fada8588561ce171a2d679df7f0c02}} 
typedef struct \+\_\+\+Ecore\+\_\+\+Animator {\bfseries Ecore\+\_\+\+Animator}
\item 
Ecore\+\_\+\+Animator $\ast$ \mbox{\hyperlink{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}{ecore\+\_\+animator\+\_\+add}} (\mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga8a36ef1ac24bfa317a7826617264e530}{Ecore\+\_\+\+Task\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Adds an animator to call {\ttfamily func} at every animation tick during main loop execution. \end{DoxyCompactList}\item 
Ecore\+\_\+\+Animator $\ast$ \mbox{\hyperlink{group__Ecore__Animator__Group_ga523a0e9716bcc6573eb9f4b310067ed1}{ecore\+\_\+animator\+\_\+timeline\+\_\+add}} (double runtime, \mbox{\hyperlink{group__Ecore__Animator__Group_ga7cfa90cfd3bb181d28604ca34d896c91}{Ecore\+\_\+\+Timeline\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Adds an animator that runs for a limited time. \end{DoxyCompactList}\item 
void $\ast$ \mbox{\hyperlink{group__Ecore__Animator__Group_gaadfa590f3c1638035393ed9d7aa10e2f}{ecore\+\_\+animator\+\_\+del}} (Ecore\+\_\+\+Animator $\ast$animator)
\begin{DoxyCompactList}\small\item\em Deletes the specified animator from the animator list. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_gaff76e892f893610f9360aa6fddd810ef}{ecore\+\_\+animator\+\_\+freeze}} (Ecore\+\_\+\+Animator $\ast$animator)
\begin{DoxyCompactList}\small\item\em Suspends the specified animator. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Animator__Group_ga11c89906f136e3132e23527e412ccc69}{ecore\+\_\+animator\+\_\+thaw}} (Ecore\+\_\+\+Animator $\ast$animator)
\begin{DoxyCompactList}\small\item\em Restores execution of the specified animator. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ecore animators are a helper to simplify creating animations. 

Creating an animation is as simple as saying for how long it should be run and having a callback that does the animation, something like this\+: 
\begin{DoxyCode}
\textcolor{keyword}{static} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}
\_do\_animation(\textcolor{keywordtype}{void} *data, \textcolor{keywordtype}{double} pos)
\{
   evas\_object\_move(data, 100 * pos, 100 * pos);
   ... \textcolor{keywordflow}{do} some more animating ...
\}
...
ecore\_animator\_timeline\_add(2, \_do\_animation, my\_evas\_object);
\end{DoxyCode}
 In the sample above we create an animation to move {\ttfamily my\+\_\+evas\+\_\+object} from position (0,0) to (100,100) in 2 seconds.

If your animation will run for an unspecified amount of time you can use \mbox{\hyperlink{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}{ecore\+\_\+animator\+\_\+add()}}, which is like using \mbox{\hyperlink{group__Ecore__Timer__Group_ga7b9cb9d24ecebfdbb957436e2e669402}{ecore\+\_\+timer\+\_\+add()}} with the interval being the \mbox{\hyperlink{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}{framerate}}. Note that this has tangible benefits to creating a timer for each animation in terms of performance.

For a more detailed example that show several animation see \mbox{\hyperlink{tutorial_ecore_animator}{Ecore animator example}}. 

\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga65389917c70f87bd3b9b76850df8bfe6}\label{group__Ecore__Animator__Group_ga65389917c70f87bd3b9b76850df8bfe6}} 
\index{Ecore Animator functions@{Ecore Animator functions}!\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source@{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source}}
\index{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source@{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source}{\_Ecore\_Animator\_Source}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga65389917c70f87bd3b9b76850df8bfe6}{\+\_\+\+Ecore\+\_\+\+Animator\+\_\+\+Source}}}



Defines the timing sources for animators. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER@{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER@{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga65389917c70f87bd3b9b76850df8bfe6a0dbb85b96817331505974486f5604e77}\label{group__Ecore__Animator__Group_gga65389917c70f87bd3b9b76850df8bfe6a0dbb85b96817331505974486f5604e77}} 
E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER&The default system clock/timer based animator that ticks every \char`\"{}frametime\char`\"{} seconds. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM@{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM@{E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga65389917c70f87bd3b9b76850df8bfe6a40806499705304d1a7a0784b7ea06be3}\label{group__Ecore__Animator__Group_gga65389917c70f87bd3b9b76850df8bfe6a40806499705304d1a7a0784b7ea06be3}} 
E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM&A custom animator trigger that you need to call \mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}} to make it tick. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}\label{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}} 
\index{Ecore Animator functions@{Ecore Animator functions}!Ecore\+\_\+\+Pos\+\_\+\+Map@{Ecore\+\_\+\+Pos\+\_\+\+Map}}
\index{Ecore\+\_\+\+Pos\+\_\+\+Map@{Ecore\+\_\+\+Pos\+\_\+\+Map}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{Ecore\+\_\+\+Pos\+\_\+\+Map}{Ecore\_Pos\_Map}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}}}



Defines the position mappings for the animation. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a67cea4cd70c7c97862cdb9d3f51e59fd}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a67cea4cd70c7c97862cdb9d3f51e59fd}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR&Linear 0.\+0 -\/$>$ 1.\+0. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE&Start slow then speed up. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE&Start fast then slow down. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL&Start slow, speed up then slow down at end. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR&Start slow then speed up, v1 being a power factor, 0.\+0 being linear, 1.\+0 being normal accelerate, 2.\+0 being much more pronounced accelerate (squared), 3.\+0 being cubed, etc. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR&Start fast then slow down, v1 being a power factor, 0.\+0 being linear, 1.\+0 being normal decelerate, 2.\+0 being much more pronounced decelerate (squared), 3.\+0 being cubed, etc. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR&Start slow, speed up then slow down at end, v1 being a power factor, 0.\+0 being linear, 1.\+0 being normal sinusoidal, 2.\+0 being much more pronounced sinusoidal (squared), 3.\+0 being cubed, etc. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP&Start at gradient $\ast$ v1, interpolated via power of v2 curve. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE&Start at 0.\+0 then \char`\"{}drop\char`\"{} like a ball bouncing to the ground at 1.\+0, and bounce v2 times, with decay factor of v1. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG&Start at 0.\+0 then \char`\"{}wobble\char`\"{} like a spring rest position 1.\+0, and wobble v2 times, with decay factor of v1. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER@{E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}} 
E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER&Follow the cubic-\/bezier curve calculated with the control points (x1, y1), (x2, y2) \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}\label{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+frametime\+\_\+set@{ecore\+\_\+animator\+\_\+frametime\+\_\+set}}
\index{ecore\+\_\+animator\+\_\+frametime\+\_\+set@{ecore\+\_\+animator\+\_\+frametime\+\_\+set}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+frametime\+\_\+set()}{ecore\_animator\_frametime\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+frametime\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{frametime }\end{DoxyParamCaption})}



Sets the animator call interval in seconds. 


\begin{DoxyParams}{Parameters}
{\em frametime} & The time in seconds in between animator ticks.\\
\hline
\end{DoxyParams}
This function sets the time interval (in seconds) between animator ticks. At every tick the callback of every existing animator will be called.

\begin{DoxyWarning}{Warning}
Too small a value may cause performance issues and too high a value may cause your animation to seem \char`\"{}jerky\char`\"{}.
\end{DoxyWarning}
\begin{DoxyNote}{Note}
The default {\ttfamily frametime} value is 1/30th of a second. 
\end{DoxyNote}


References E\+I\+N\+A\+\_\+\+D\+B\+L\+\_\+\+EQ, and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.



Referenced by edje\+\_\+frametime\+\_\+set().

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga2981cf0a663650e0457d18a7ba18a6ad}\label{group__Ecore__Animator__Group_ga2981cf0a663650e0457d18a7ba18a6ad}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+frametime\+\_\+get@{ecore\+\_\+animator\+\_\+frametime\+\_\+get}}
\index{ecore\+\_\+animator\+\_\+frametime\+\_\+get@{ecore\+\_\+animator\+\_\+frametime\+\_\+get}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+frametime\+\_\+get()}{ecore\_animator\_frametime\_get()}}
{\footnotesize\ttfamily double ecore\+\_\+animator\+\_\+frametime\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets the animator call interval in seconds. 

\begin{DoxyReturn}{Returns}
The time in second in between animator ticks.
\end{DoxyReturn}
This function retrieves the time in seconds between animator ticks.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}{ecore\+\_\+animator\+\_\+frametime\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.



Referenced by edje\+\_\+frametime\+\_\+get().

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}\label{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+pos\+\_\+map@{ecore\+\_\+animator\+\_\+pos\+\_\+map}}
\index{ecore\+\_\+animator\+\_\+pos\+\_\+map@{ecore\+\_\+animator\+\_\+pos\+\_\+map}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+pos\+\_\+map()}{ecore\_animator\_pos\_map()}}
{\footnotesize\ttfamily double ecore\+\_\+animator\+\_\+pos\+\_\+map (\begin{DoxyParamCaption}\item[{double}]{pos,  }\item[{\mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}}}]{map,  }\item[{double}]{v1,  }\item[{double}]{v2 }\end{DoxyParamCaption})}



Maps an input position from 0.\+0 to 1.\+0 along a timeline to a position in a different curve. 


\begin{DoxyParams}{Parameters}
{\em pos} & The input position to map \\
\hline
{\em map} & The mapping to use \\
\hline
{\em v1} & A parameter use by the mapping (pass 0.\+0 if not used) \\
\hline
{\em v2} & A parameter use by the mapping (pass 0.\+0 if not used) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mapped value
\end{DoxyReturn}
Takes an input position (0.\+0 to 1.\+0) and maps to a new position (normally between 0.\+0 and 1.\+0, but it may go above/below 0.\+0 or 1.\+0 to show that it has \char`\"{}overshot\char`\"{} the mark) using some interpolation (mapping) algorithm.

This function useful to create non-\/linear animations. It offers a variety of possible animation curves to be used\+: \begin{DoxyItemize}
\item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR -\/ Linear, returns {\ttfamily pos} \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE -\/ Start slow then speed up \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE -\/ Start fast then slow down \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL -\/ Start slow, speed up then slow down at end \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR -\/ Start slow then speed up, v1 being a power factor, 0.\+0 being linear, 1.\+0 being E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE, 2.\+0 being much more pronounced accelerate (squared), 3.\+0 being cubed, etc. \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR -\/ Start fast then slow down, v1 being a power factor, 0.\+0 being linear, 1.\+0 being E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE, 2.\+0 being much more pronounced decelerate (squared), 3.\+0 being cubed, etc. \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR -\/ Start slow, speed up then slow down at end, v1 being a power factor, 0.\+0 being linear, 1.\+0 being E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL, 2.\+0 being much more pronounced sinusoidal (squared), 3.\+0 being cubed, etc. \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP -\/ Start at gradient $\ast$ v1, interpolated via power of v2 curve \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE -\/ Start at 0.\+0 then \char`\"{}drop\char`\"{} like a ball bouncing to the ground at 1.\+0, and bounce v2 times, with decay factor of v1 \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG -\/ Start at 0.\+0 then \char`\"{}wobble\char`\"{} like a spring rest position 1.\+0, and wobble v2 times, with decay factor of v1 \begin{DoxyNote}{Note}
When not listed v1 and v2 have no effect.
\end{DoxyNote}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\\textwidth]{ecore-pos-map}}
\end{DoxyImageNoCaption}
\end{DoxyItemize}
One way to use this would be\+: 
\begin{DoxyCode}
\textcolor{keywordtype}{double} pos; \textcolor{comment}{// input position in a timeline from 0.0 to 1.0}
\textcolor{keywordtype}{double} out; \textcolor{comment}{// output position after mapping}
\textcolor{keywordtype}{int} x1, y1, x2, y2; \textcolor{comment}{// x1 & y1 are start position, x2 & y2 are end position}
\textcolor{keywordtype}{int} x, y; \textcolor{comment}{// x & y are the calculated position}

out = \mbox{\hyperlink{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}{ecore\_animator\_pos\_map}}(pos, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}{ECORE\_POS\_MAP\_BOUNCE}}, 1.8, 7);
x = (x1 * out) + (x2 * (1.0 - out));
y = (y1 * out) + (y2 * (1.0 - out));
move\_my\_object\_to(myobject, x, y);
\end{DoxyCode}
 This will make an animation that bounces 7 each times diminishing by a factor of 1.\+8.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1.\+0 
\end{DoxySince}


References ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n().

\mbox{\Hypertarget{group__Ecore__Animator__Group_gaf003ecceff48304546472ad28b987883}\label{group__Ecore__Animator__Group_gaf003ecceff48304546472ad28b987883}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n@{ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n}}
\index{ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n@{ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n()}{ecore\_animator\_pos\_map\_n()}}
{\footnotesize\ttfamily double ecore\+\_\+animator\+\_\+pos\+\_\+map\+\_\+n (\begin{DoxyParamCaption}\item[{double}]{pos,  }\item[{\mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}}}]{map,  }\item[{int}]{v\+\_\+size,  }\item[{double $\ast$}]{v }\end{DoxyParamCaption})}



Maps an input position from 0.\+0 to 1.\+0 along a timeline to a position in a different curve. 


\begin{DoxyParams}{Parameters}
{\em pos} & The input position to map \\
\hline
{\em map} & The mapping to use \\
\hline
{\em v\+\_\+size} & The size of the v array. \\
\hline
{\em v} & An array with the double parameters to be used by the mapping. N\+U\+LL if not used. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mapped value
\end{DoxyReturn}
Takes an input position (0.\+0 to 1.\+0) and maps to a new position (normally between 0.\+0 and 1.\+0, but it may go above/below 0.\+0 or 1.\+0 to show that it has \char`\"{}overshot\char`\"{} the mark) using some interpolation (mapping) algorithm.

This function useful to create non-\/linear animations. It offers a variety of possible animation curves to be used\+: \begin{DoxyItemize}
\item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR -\/ Linear, returns {\ttfamily pos} \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE -\/ Start slow then speed up \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE -\/ Start fast then slow down \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL -\/ Start slow, speed up then slow down at end \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR -\/ Start slow then speed up, v\mbox{[}0\mbox{]} being a power factor, 0.\+0 being linear, 1.\+0 being E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE, 2.\+0 being much more pronounced accelerate (squared), 3.\+0 being cubed, etc. \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR -\/ Start fast then slow down, v\mbox{[}0\mbox{]} being a power factor, 0.\+0 being linear, 1.\+0 being E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE, 2.\+0 being much more pronounced decelerate (squared), 3.\+0 being cubed, etc. \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR -\/ Start slow, speed up then slow down at end, v\mbox{[}0\mbox{]} being a power factor, 0.\+0 being linear, 1.\+0 being E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL, 2.\+0 being much more pronounced sinusoidal (squared), 3.\+0 being cubed, etc. \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP -\/ Start at gradient $\ast$ v\mbox{[}0\mbox{]}, interpolated via power of v2 curve \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE -\/ Start at 0.\+0 then \char`\"{}drop\char`\"{} like a ball bouncing to the ground at 1.\+0, and bounce v2 times, with decay factor of v\mbox{[}0\mbox{]} \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG -\/ Start at 0.\+0 then \char`\"{}wobble\char`\"{} like a spring rest position 1.\+0, and wobble v2 times, with decay factor of v\mbox{[}0\mbox{]} \item E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER -\/ Use an interpolated cubic-\/bezier curve ajusted with parameters from v\mbox{[}0\mbox{]} to v\mbox{[}3\mbox{]}. \begin{DoxyNote}{Note}
When not listed v has no effect.
\end{DoxyNote}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\\textwidth]{ecore-pos-map}}
\end{DoxyImageNoCaption}
\end{DoxyItemize}
One way to use this would be\+: 
\begin{DoxyCode}
\textcolor{keywordtype}{double} pos; \textcolor{comment}{// input position in a timeline from 0.0 to 1.0}
\textcolor{keywordtype}{double} out; \textcolor{comment}{// output position after mapping}
\textcolor{keywordtype}{int} x1, y1, x2, y2; \textcolor{comment}{// x1 & y1 are start position, x2 & y2 are end position}
\textcolor{keywordtype}{int} x, y; \textcolor{comment}{// x & y are the calculated position}
\textcolor{keywordtype}{double} v[2] = \{1.8, 7\};

out = \mbox{\hyperlink{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}{ecore\_animator\_pos\_map}}(pos, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}{ECORE\_POS\_MAP\_BOUNCE}}, 2, v);
x = (x1 * out) + (x2 * (1.0 - out));
y = (y1 * out) + (y2 * (1.0 - out));
move\_my\_object\_to(myobject, x, y);
\end{DoxyCode}
 This will make an animation that bounces 7 each times diminishing by a factor of 1.\+8.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga1047011623d9e2ea31b7e5678b451016}{Ecore\+\_\+\+Pos\+\_\+\+Map}} 
\end{DoxySeeAlso}


References E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+TE, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+B\+O\+U\+N\+CE, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+C\+U\+B\+I\+C\+\_\+\+B\+E\+Z\+I\+ER, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+TE, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+E\+C\+E\+L\+E\+R\+A\+T\+E\+\_\+\+F\+A\+C\+T\+OR, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+D\+I\+V\+I\+S\+O\+R\+\_\+\+I\+N\+T\+E\+RP, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+L\+I\+N\+E\+AR, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+AL, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+I\+N\+U\+S\+O\+I\+D\+A\+L\+\_\+\+F\+A\+C\+T\+OR, E\+C\+O\+R\+E\+\_\+\+P\+O\+S\+\_\+\+M\+A\+P\+\_\+\+S\+P\+R\+I\+NG, and E\+I\+N\+A\+\_\+\+F32\+P32\+\_\+\+PI.



Referenced by ecore\+\_\+animator\+\_\+pos\+\_\+map().

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}\label{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+source\+\_\+set@{ecore\+\_\+animator\+\_\+source\+\_\+set}}
\index{ecore\+\_\+animator\+\_\+source\+\_\+set@{ecore\+\_\+animator\+\_\+source\+\_\+set}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+source\+\_\+set()}{ecore\_animator\_source\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+source\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Animator\+\_\+\+Source}]{source }\end{DoxyParamCaption})}



Sets the source of animator ticks for the mainloop. 


\begin{DoxyParams}{Parameters}
{\em source} & The source of animator ticks to use\\
\hline
\end{DoxyParams}
This sets the source of animator ticks. When an animator is active the mainloop will \char`\"{}tick\char`\"{} over frame by frame calling all animators that are registered until none are. The mainloop will tick at a given rate based on the animator source. The default source is the system clock timer source -\/ E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER. This source uses the system clock to tick over every N seconds (specified by \mbox{\hyperlink{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}{ecore\+\_\+animator\+\_\+frametime\+\_\+set()}}, with the default being 1/30th of a second unless set otherwise). You can set a custom tick source by setting the source to E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM and then drive it yourself based on some input tick source (like another application via ipc, some vertical blanking interrupt, and etc.) using \mbox{\hyperlink{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set()}} and \mbox{\hyperlink{group__Ecore__Animator__Group_ga7bc6abc79daeb32d2b0951f701948576}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set()}} to set the functions that will be called to start and stop the ticking source, which when it gets a \char`\"{}tick\char`\"{} should call \mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}} to make the \char`\"{}tick\char`\"{} over 1 frame.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga880be7bbe3c47b2e1b91f5678e7f6c26}{ecore\+\_\+animator\+\_\+source\+\_\+get()}} 
\end{DoxySeeAlso}


References D\+BG, E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM, E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+T\+I\+M\+ER, and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga880be7bbe3c47b2e1b91f5678e7f6c26}\label{group__Ecore__Animator__Group_ga880be7bbe3c47b2e1b91f5678e7f6c26}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+source\+\_\+get@{ecore\+\_\+animator\+\_\+source\+\_\+get}}
\index{ecore\+\_\+animator\+\_\+source\+\_\+get@{ecore\+\_\+animator\+\_\+source\+\_\+get}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+source\+\_\+get()}{ecore\_animator\_source\_get()}}
{\footnotesize\ttfamily Ecore\+\_\+\+Animator\+\_\+\+Source ecore\+\_\+animator\+\_\+source\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets the animator source currently set. 

\begin{DoxyReturn}{Returns}
The current animator source
\end{DoxyReturn}
This gets the current animator source.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}{ecore\+\_\+animator\+\_\+source\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}\label{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set@{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set}}
\index{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set@{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set()}{ecore\_animator\_custom\_source\_tick\_begin\_callback\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga00aa98b68b33de046b49a0158956874f}{Ecore\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Sets the function that begins a custom animator tick source. 


\begin{DoxyParams}{Parameters}
{\em func} & The function to call when ticking is to begin \\
\hline
{\em data} & The data passed to the tick begin function as its parameter\\
\hline
\end{DoxyParams}
The Ecore Animator infrastructure handles tracking if animators are needed or not and which ones need to be called and when, but when the tick source is custom, you have to provide a tick source by calling \mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}} to indicate a frame tick happened. In order to allow the source of ticks to be dynamically enabled or disabled as needed, the {\ttfamily func} when set is called to enable the tick source to produce tick events that call \mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}}. If {\ttfamily func} is {\ttfamily N\+U\+LL} then no function is called to begin custom ticking.

\begin{DoxyWarning}{Warning}
Do not use this function unless you know what you are doing.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}{ecore\+\_\+animator\+\_\+source\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_ga7bc6abc79daeb32d2b0951f701948576}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga7bc6abc79daeb32d2b0951f701948576}\label{group__Ecore__Animator__Group_ga7bc6abc79daeb32d2b0951f701948576}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set@{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set}}
\index{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set@{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set()}{ecore\_animator\_custom\_source\_tick\_end\_callback\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga00aa98b68b33de046b49a0158956874f}{Ecore\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Sets the function that ends a custom animator tick source. 


\begin{DoxyParams}{Parameters}
{\em func} & The function to call when ticking is to end \\
\hline
{\em data} & The data passed to the tick end function as its parameter\\
\hline
\end{DoxyParams}
This function is a matching pair to the function set by \mbox{\hyperlink{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set()}} and is called when ticking is to stop. If {\ttfamily func} is {\ttfamily N\+U\+LL} then no function will be called to stop ticking. For more information please see \mbox{\hyperlink{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set()}}.

\begin{DoxyWarning}{Warning}
Do not use this function unless you know what you are doing.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}{ecore\+\_\+animator\+\_\+source\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}\label{group__Ecore__Animator__Group_gac49405d70dc83d6313fe6a8d15e2a50c}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+custom\+\_\+tick@{ecore\+\_\+animator\+\_\+custom\+\_\+tick}}
\index{ecore\+\_\+animator\+\_\+custom\+\_\+tick@{ecore\+\_\+animator\+\_\+custom\+\_\+tick}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+custom\+\_\+tick()}{ecore\_animator\_custom\_tick()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+custom\+\_\+tick (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Triggers a custom animator tick. 

When animator source is set to E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM, then calling this function triggers a run of all animators currently registered with Ecore as this indicates a \char`\"{}frame tick\char`\"{} happened. This will do nothing if the animator source(set by ecore\+\_\+animator\+\_\+source\+\_\+set()) is not set to E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM.

\begin{DoxyWarning}{Warning}
Do not use this function unless you know what you are doing.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga4c434a81eaf0949a138ae04fe09953dd}{ecore\+\_\+animator\+\_\+source\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_gadba7c3950f80eeccd89c2a286e488471}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+begin\+\_\+callback\+\_\+set}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_ga7bc6abc79daeb32d2b0951f701948576}{ecore\+\_\+animator\+\_\+custom\+\_\+source\+\_\+tick\+\_\+end\+\_\+callback\+\_\+set()}}() 
\end{DoxySeeAlso}


References E\+C\+O\+R\+E\+\_\+\+A\+N\+I\+M\+A\+T\+O\+R\+\_\+\+S\+O\+U\+R\+C\+E\+\_\+\+C\+U\+S\+T\+OM, and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}\label{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+add@{ecore\+\_\+animator\+\_\+add}}
\index{ecore\+\_\+animator\+\_\+add@{ecore\+\_\+animator\+\_\+add}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+add()}{ecore\_animator\_add()}}
{\footnotesize\ttfamily Ecore\+\_\+\+Animator$\ast$ ecore\+\_\+animator\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga8a36ef1ac24bfa317a7826617264e530}{Ecore\+\_\+\+Task\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Adds an animator to call {\ttfamily func} at every animation tick during main loop execution. 


\begin{DoxyParams}{Parameters}
{\em func} & The function to call when it ticks off \\
\hline
{\em data} & The data to pass to the function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A handle to the new animator
\end{DoxyReturn}
This function adds an animator and returns its handle on success and {\ttfamily N\+U\+LL} on failure. The function {\ttfamily func} will be called every N seconds where N is the {\ttfamily frametime} interval set by \mbox{\hyperlink{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}{ecore\+\_\+animator\+\_\+frametime\+\_\+set()}}. The function will be passed the {\ttfamily data} pointer as its parameter.

When the animator {\ttfamily func} is called, it must return a boolean value. If it returns {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} (or {\ttfamily E\+C\+O\+R\+E\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+R\+E\+N\+EW}), it will be called again at the next tick, or if it returns {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} (or {\ttfamily E\+C\+O\+R\+E\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+C\+A\+N\+C\+EL}) it will be deleted automatically making any references/handles for it invalid. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_ga523a0e9716bcc6573eb9f4b310067ed1}{ecore\+\_\+animator\+\_\+timeline\+\_\+add()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_ga2c7aa7e621cd68562519066ad87a3fa1}{ecore\+\_\+animator\+\_\+frametime\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
The default {\ttfamily frametime} value is 1/30th of a second. 
\end{DoxyNote}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_animator_example_8c-example}{ecore\+\_\+animator\+\_\+example.\+c}}, \mbox{\hyperlink{evas-map-utils_8c-example}{evas-\/map-\/utils.\+c}}, and \mbox{\hyperlink{test_camera_8c-example}{test\+\_\+camera.\+c}}.\end{Desc}


Referenced by elm\+\_\+transit\+\_\+go().

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga523a0e9716bcc6573eb9f4b310067ed1}\label{group__Ecore__Animator__Group_ga523a0e9716bcc6573eb9f4b310067ed1}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+timeline\+\_\+add@{ecore\+\_\+animator\+\_\+timeline\+\_\+add}}
\index{ecore\+\_\+animator\+\_\+timeline\+\_\+add@{ecore\+\_\+animator\+\_\+timeline\+\_\+add}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+timeline\+\_\+add()}{ecore\_animator\_timeline\_add()}}
{\footnotesize\ttfamily Ecore\+\_\+\+Animator$\ast$ ecore\+\_\+animator\+\_\+timeline\+\_\+add (\begin{DoxyParamCaption}\item[{double}]{runtime,  }\item[{\mbox{\hyperlink{group__Ecore__Animator__Group_ga7cfa90cfd3bb181d28604ca34d896c91}{Ecore\+\_\+\+Timeline\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Adds an animator that runs for a limited time. 


\begin{DoxyParams}{Parameters}
{\em runtime} & The time to run in seconds \\
\hline
{\em func} & The function to call when it ticks off \\
\hline
{\em data} & The data to pass to the function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A handle to the new animator
\end{DoxyReturn}
This function is just like \mbox{\hyperlink{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}{ecore\+\_\+animator\+\_\+add()}} except the animator only runs for a limited time specified in seconds by {\ttfamily runtime}. Once the runtime the animator has elapsed (animator finished) it will automatically be deleted. The callback function {\ttfamily func} can return {\ttfamily E\+C\+O\+R\+E\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+R\+E\+N\+EW} to keep the animator running or {\ttfamily E\+C\+O\+R\+E\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+C\+A\+N\+C\+EL} or stop it and have it be deleted automatically at any time. Just like timers, the start of The animation is \char`\"{}now\char`\"{} (when the loop woke up -\/ gettable with \mbox{\hyperlink{group__Ecore__Time__Group_gab53d952cc4c2f3ed032d535b307c43bd}{ecore\+\_\+loop\+\_\+time\+\_\+get()}}).

The {\ttfamily func} will A\+L\+SO be passed a position parameter that will be in value from 0.\+0 to 1.\+0 to indicate where along the timeline (0.\+0 start, 1.\+0 end) the animator run is at. If the callback wishes not to have a linear transition it can \char`\"{}map\char`\"{} this value to one of several curves and mappings via \mbox{\hyperlink{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}{ecore\+\_\+animator\+\_\+pos\+\_\+map()}}. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}{ecore\+\_\+animator\+\_\+add()}} 

\mbox{\hyperlink{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}{ecore\+\_\+animator\+\_\+pos\+\_\+map()}}
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
The default {\ttfamily frametime} value is 1/30th of a second. 

The first position parameter passed to the callback will never be 0.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+1.\+0 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_animator_example_8c-example}{ecore\+\_\+animator\+\_\+example.\+c}}.\end{Desc}


References ecore\+\_\+loop\+\_\+time\+\_\+get().

\mbox{\Hypertarget{group__Ecore__Animator__Group_gaadfa590f3c1638035393ed9d7aa10e2f}\label{group__Ecore__Animator__Group_gaadfa590f3c1638035393ed9d7aa10e2f}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+del@{ecore\+\_\+animator\+\_\+del}}
\index{ecore\+\_\+animator\+\_\+del@{ecore\+\_\+animator\+\_\+del}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+del()}{ecore\_animator\_del()}}
{\footnotesize\ttfamily void$\ast$ ecore\+\_\+animator\+\_\+del (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Animator $\ast$}]{animator }\end{DoxyParamCaption})}



Deletes the specified animator from the animator list. 


\begin{DoxyParams}{Parameters}
{\em animator} & The animator to delete \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data pointer set for the animator on add
\end{DoxyReturn}
Deletes the specified {\ttfamily animator} from the set of animators that are executed during main loop execution. This function returns the data parameter that was being passed to the callback on success, or {\ttfamily N\+U\+LL} on failure. After this call returns the specified animator object {\ttfamily animator} is invalid and should not be used again. It will not get called again after deletion. \begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_animator_example_8c-example}{ecore\+\_\+animator\+\_\+example.\+c}}, and \mbox{\hyperlink{test_camera_8c-example}{test\+\_\+camera.\+c}}.\end{Desc}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, and E\+I\+N\+A\+\_\+\+T\+R\+UE.



Referenced by elm\+\_\+transit\+\_\+go().

\mbox{\Hypertarget{group__Ecore__Animator__Group_gaff76e892f893610f9360aa6fddd810ef}\label{group__Ecore__Animator__Group_gaff76e892f893610f9360aa6fddd810ef}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+freeze@{ecore\+\_\+animator\+\_\+freeze}}
\index{ecore\+\_\+animator\+\_\+freeze@{ecore\+\_\+animator\+\_\+freeze}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+freeze()}{ecore\_animator\_freeze()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+freeze (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Animator $\ast$}]{animator }\end{DoxyParamCaption})}



Suspends the specified animator. 


\begin{DoxyParams}{Parameters}
{\em animator} & The animator to delete\\
\hline
\end{DoxyParams}
The specified {\ttfamily animator} will be temporarily removed from the set of animators that are executed during main loop.

\begin{DoxyWarning}{Warning}
Freezing an animator doesn\textquotesingle{}t freeze accounting of how long that animator has been running. Therefore if the animator was created with \mbox{\hyperlink{group__Ecore__Animator__Group_ga523a0e9716bcc6573eb9f4b310067ed1}{ecore\+\_\+animator\+\_\+timeline\+\_\+add()}} the {\ttfamily pos} argument given to the callback will increase as if the animator hadn\textquotesingle{}t been frozen and the animator may have it\textquotesingle{}s execution halted if {\ttfamily runtime} elapsed. 
\end{DoxyWarning}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_animator_example_8c-example}{ecore\+\_\+animator\+\_\+example.\+c}}.\end{Desc}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN, and E\+I\+N\+A\+\_\+\+T\+R\+UE.



Referenced by elm\+\_\+transit\+\_\+paused\+\_\+set().

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga11c89906f136e3132e23527e412ccc69}\label{group__Ecore__Animator__Group_ga11c89906f136e3132e23527e412ccc69}} 
\index{Ecore Animator functions@{Ecore Animator functions}!ecore\+\_\+animator\+\_\+thaw@{ecore\+\_\+animator\+\_\+thaw}}
\index{ecore\+\_\+animator\+\_\+thaw@{ecore\+\_\+animator\+\_\+thaw}!Ecore Animator functions@{Ecore Animator functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+animator\+\_\+thaw()}{ecore\_animator\_thaw()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+thaw (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Animator $\ast$}]{animator }\end{DoxyParamCaption})}



Restores execution of the specified animator. 


\begin{DoxyParams}{Parameters}
{\em animator} & The animator to delete\\
\hline
\end{DoxyParams}
The specified {\ttfamily animator} will be put back in the set of animators that are executed during main loop. \begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_animator_example_8c-example}{ecore\+\_\+animator\+\_\+example.\+c}}.\end{Desc}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.



Referenced by elm\+\_\+transit\+\_\+paused\+\_\+set().

