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


Ecore animators are a helper to simplify creating animations.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structEcore__Animator}{Ecore\+\_\+\+Animator}}
\begin{DoxyCompactList}\small\item\em Opaque handle to manage Ecore Animator objects. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\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$ {\bfseries Ecore\+\_\+\+Timeline\+\_\+\+Cb}) (void $\ast$data, double pos)
\begin{DoxyCompactList}\small\item\em A callback run for a task (animators with runtimes) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga52fada8588561ce171a2d679df7f0c02}\label{group__Ecore__Animator__Group_ga52fada8588561ce171a2d679df7f0c02}} 
typedef struct \+\_\+\+Ecore\+\_\+\+Animator {\bfseries Ecore\+\_\+\+Animator}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}{Ecore\+\_\+\+Animator\+\_\+\+Source}} \{ \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea0dbb85b96817331505974486f5604e77}{ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+TIMER}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea40806499705304d1a7a0784b7ea06be3}{ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM}}
 \}
\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}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+LINEAR}} = 0
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE\+\_\+\+FACTOR}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE\+\_\+\+FACTOR}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL\+\_\+\+FACTOR}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DIVISOR\+\_\+\+INTERP}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+BOUNCE}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SPRING}}
, \newline
\mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+CUBIC\+\_\+\+BEZIER}}
 \}
\begin{DoxyCompactList}\small\item\em Defines the position mappings for the animation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{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}} (\mbox{\hyperlink{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}{Ecore\+\_\+\+Animator\+\_\+\+Source}} source)
\begin{DoxyCompactList}\small\item\em Sets the source of animator ticks for the mainloop. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}{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}\item 
\mbox{\hyperlink{structEcore__Animator}{Ecore\+\_\+\+Animator}} $\ast$ \mbox{\hyperlink{group__Ecore__Animator__Group_ga0eca52138288075de4487d31dd3942ff}{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 
\mbox{\hyperlink{structEcore__Animator}{Ecore\+\_\+\+Animator}} $\ast$ \mbox{\hyperlink{group__Ecore__Animator__Group_gaf05c3472d3ef2e62939ad55f70947177}{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_gac1b19c4289efbb15193077098a13b30e}{ecore\+\_\+animator\+\_\+del}} (\mbox{\hyperlink{structEcore__Animator}{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}} (\mbox{\hyperlink{structEcore__Animator}{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}} (\mbox{\hyperlink{structEcore__Animator}{Ecore\+\_\+\+Animator}} $\ast$animator)
\begin{DoxyCompactList}\small\item\em Restores execution of the specified animator. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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}{0}
\DoxyCodeLine{\textcolor{keyword}{static}\ \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}}}
\DoxyCodeLine{\_do\_animation(\textcolor{keywordtype}{void}\ *data,\ \textcolor{keywordtype}{double}\ pos)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga335c8ee6eaeaac9710656af4f8b0db91}{evas\_object\_move}}(data,\ 100\ *\ pos,\ 100\ *\ pos);}
\DoxyCodeLine{\ \ \ ...\ \textcolor{keywordflow}{do}\ some\ more\ animating\ ...}
\DoxyCodeLine{\}}
\DoxyCodeLine{...}
\DoxyCodeLine{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_ga0eca52138288075de4487d31dd3942ff}{ecore\+\_\+animator\+\_\+add()}}, which is like using \mbox{\hyperlink{group__Ecore__Timer__Group_ga926423e464d7ef71105dd822d90e1187}{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}}. 

\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}\label{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}} 
\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}}
\doxysubsubsection{\texorpdfstring{Ecore\_Animator\_Source}{Ecore\_Animator\_Source}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}{Ecore\+\_\+\+Animator\+\_\+\+Source}}}



Defines the timing sources for animators. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_ANIMATOR\_SOURCE\_TIMER@{ECORE\_ANIMATOR\_SOURCE\_TIMER}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_ANIMATOR\_SOURCE\_TIMER@{ECORE\_ANIMATOR\_SOURCE\_TIMER}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea0dbb85b96817331505974486f5604e77}\label{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea0dbb85b96817331505974486f5604e77}} 
ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+TIMER&The default system clock/timer based animator that ticks every \char`\"{}frametime\char`\"{} seconds. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_ANIMATOR\_SOURCE\_CUSTOM@{ECORE\_ANIMATOR\_SOURCE\_CUSTOM}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_ANIMATOR\_SOURCE\_CUSTOM@{ECORE\_ANIMATOR\_SOURCE\_CUSTOM}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea40806499705304d1a7a0784b7ea06be3}\label{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea40806499705304d1a7a0784b7ea06be3}} 
ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM&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}}
\doxysubsubsection{\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{ECORE\_POS\_MAP\_LINEAR@{ECORE\_POS\_MAP\_LINEAR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_LINEAR@{ECORE\_POS\_MAP\_LINEAR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a67cea4cd70c7c97862cdb9d3f51e59fd}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a67cea4cd70c7c97862cdb9d3f51e59fd}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+LINEAR&Linear 0.\+0 -\/\texorpdfstring{$>$}{>} 1.\+0. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_POS\_MAP\_ACCELERATE@{ECORE\_POS\_MAP\_ACCELERATE}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_ACCELERATE@{ECORE\_POS\_MAP\_ACCELERATE}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE&Start slow then speed up. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_POS\_MAP\_DECELERATE@{ECORE\_POS\_MAP\_DECELERATE}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_DECELERATE@{ECORE\_POS\_MAP\_DECELERATE}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE&Start fast then slow down. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_POS\_MAP\_SINUSOIDAL@{ECORE\_POS\_MAP\_SINUSOIDAL}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_SINUSOIDAL@{ECORE\_POS\_MAP\_SINUSOIDAL}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL&Start slow, speed up then slow down at end. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_POS\_MAP\_ACCELERATE\_FACTOR@{ECORE\_POS\_MAP\_ACCELERATE\_FACTOR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_ACCELERATE\_FACTOR@{ECORE\_POS\_MAP\_ACCELERATE\_FACTOR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE\+\_\+\+FACTOR&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{ECORE\_POS\_MAP\_DECELERATE\_FACTOR@{ECORE\_POS\_MAP\_DECELERATE\_FACTOR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_DECELERATE\_FACTOR@{ECORE\_POS\_MAP\_DECELERATE\_FACTOR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE\+\_\+\+FACTOR&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{ECORE\_POS\_MAP\_SINUSOIDAL\_FACTOR@{ECORE\_POS\_MAP\_SINUSOIDAL\_FACTOR}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_SINUSOIDAL\_FACTOR@{ECORE\_POS\_MAP\_SINUSOIDAL\_FACTOR}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL\+\_\+\+FACTOR&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{ECORE\_POS\_MAP\_DIVISOR\_INTERP@{ECORE\_POS\_MAP\_DIVISOR\_INTERP}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_DIVISOR\_INTERP@{ECORE\_POS\_MAP\_DIVISOR\_INTERP}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DIVISOR\+\_\+\+INTERP&Start at gradient $\ast$ v1, interpolated via power of v2 curve. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_POS\_MAP\_BOUNCE@{ECORE\_POS\_MAP\_BOUNCE}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_BOUNCE@{ECORE\_POS\_MAP\_BOUNCE}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+BOUNCE&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{ECORE\_POS\_MAP\_SPRING@{ECORE\_POS\_MAP\_SPRING}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_SPRING@{ECORE\_POS\_MAP\_SPRING}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SPRING&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{ECORE\_POS\_MAP\_CUBIC\_BEZIER@{ECORE\_POS\_MAP\_CUBIC\_BEZIER}!Ecore Animator functions@{Ecore Animator functions}}\index{Ecore Animator functions@{Ecore Animator functions}!ECORE\_POS\_MAP\_CUBIC\_BEZIER@{ECORE\_POS\_MAP\_CUBIC\_BEZIER}}}\mbox{\Hypertarget{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}\label{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}} 
ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+CUBIC\+\_\+\+BEZIER&Follow the cubic-\/bezier curve calculated with the control points (x1, y1), (x2, y2) \\
\hline

\end{DoxyEnumFields}


\doxysubsection{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}}
\doxysubsubsection{\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/60th of a second. 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__Tools__Group_ga6bee37244b675b83d6a4f044a7a3d1e8}{EINA\+\_\+\+DBL\+\_\+\+EQ}}, and \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Edje__Object__Animation_gac9b19ee918546740c0144904393a1acd}{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}}
\doxysubsubsection{\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 \mbox{\hyperlink{group__Eina__Lock__Group_ga2974eb3f18404edcc375910cc7e4859c}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Ecore__Con__SSL__Group_ga91cb5d6868be1c3578ce21c7f786de3a}{ecore\+\_\+con\+\_\+ssl\+\_\+client\+\_\+upgrade()}}, \mbox{\hyperlink{group__Ecore__Con__SSL__Group_ga79e98a738901760ba342f9c4927986f4}{ecore\+\_\+con\+\_\+ssl\+\_\+server\+\_\+upgrade()}}, and \mbox{\hyperlink{group__Edje__Object__Animation_gad9593e50d1d5bc847e9b34b104c83935}{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}}
\doxysubsubsection{\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 ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+LINEAR -\/ Linear, returns {\ttfamily pos} \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE -\/ Start slow then speed up \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE -\/ Start fast then slow down \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL -\/ Start slow, speed up then slow down at end \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE\+\_\+\+FACTOR -\/ Start slow then speed up, v1 being a power factor, 0.\+0 being linear, 1.\+0 being ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE, 2.\+0 being much more pronounced accelerate (squared), 3.\+0 being cubed, etc. \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE\+\_\+\+FACTOR -\/ Start fast then slow down, v1 being a power factor, 0.\+0 being linear, 1.\+0 being ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE, 2.\+0 being much more pronounced decelerate (squared), 3.\+0 being cubed, etc. \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL\+\_\+\+FACTOR -\/ Start slow, speed up then slow down at end, v1 being a power factor, 0.\+0 being linear, 1.\+0 being ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL, 2.\+0 being much more pronounced sinusoidal (squared), 3.\+0 being cubed, etc. \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DIVISOR\+\_\+\+INTERP -\/ Start at gradient $\ast$ v1, interpolated via power of v2 curve \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+BOUNCE -\/ 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 ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SPRING -\/ 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}{0}
\DoxyCodeLine{\textcolor{keywordtype}{double}\ pos;\ \textcolor{comment}{//\ input\ position\ in\ a\ timeline\ from\ 0.0\ to\ 1.0}}
\DoxyCodeLine{\textcolor{keywordtype}{double}\ out;\ \textcolor{comment}{//\ output\ position\ after\ mapping}}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ x1,\ y1,\ x2,\ y2;\ \textcolor{comment}{//\ x1\ \&\ y1\ are\ start\ position,\ x2\ \&\ y2\ are\ end\ position}}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ x,\ y;\ \textcolor{comment}{//\ x\ \&\ y\ are\ the\ calculated\ position}}
\DoxyCodeLine{}
\DoxyCodeLine{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);}
\DoxyCodeLine{x\ =\ (x1\ *\ out)\ +\ (x2\ *\ (1.0\ -\/\ out));}
\DoxyCodeLine{y\ =\ (y1\ *\ out)\ +\ (y2\ *\ (1.0\ -\/\ out));}
\DoxyCodeLine{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 \mbox{\hyperlink{group__Ecore__Animator__Group_gaf003ecceff48304546472ad28b987883}{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}}
\doxysubsubsection{\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. NULL 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 ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+LINEAR -\/ Linear, returns {\ttfamily pos} \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE -\/ Start slow then speed up \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE -\/ Start fast then slow down \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL -\/ Start slow, speed up then slow down at end \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE\+\_\+\+FACTOR -\/ Start slow then speed up, v\mbox{[}0\mbox{]} being a power factor, 0.\+0 being linear, 1.\+0 being ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE, 2.\+0 being much more pronounced accelerate (squared), 3.\+0 being cubed, etc. \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE\+\_\+\+FACTOR -\/ Start fast then slow down, v\mbox{[}0\mbox{]} being a power factor, 0.\+0 being linear, 1.\+0 being ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE, 2.\+0 being much more pronounced decelerate (squared), 3.\+0 being cubed, etc. \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL\+\_\+\+FACTOR -\/ Start slow, speed up then slow down at end, v\mbox{[}0\mbox{]} being a power factor, 0.\+0 being linear, 1.\+0 being ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL, 2.\+0 being much more pronounced sinusoidal (squared), 3.\+0 being cubed, etc. \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DIVISOR\+\_\+\+INTERP -\/ Start at gradient $\ast$ v\mbox{[}0\mbox{]}, interpolated via power of v2 curve \item ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+BOUNCE -\/ 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 ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SPRING -\/ 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 ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+CUBIC\+\_\+\+BEZIER -\/ Use an interpolated cubic-\/bezier curve adjusted 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}{0}
\DoxyCodeLine{\textcolor{keywordtype}{double}\ pos;\ \textcolor{comment}{//\ input\ position\ in\ a\ timeline\ from\ 0.0\ to\ 1.0}}
\DoxyCodeLine{\textcolor{keywordtype}{double}\ out;\ \textcolor{comment}{//\ output\ position\ after\ mapping}}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ x1,\ y1,\ x2,\ y2;\ \textcolor{comment}{//\ x1\ \&\ y1\ are\ start\ position,\ x2\ \&\ y2\ are\ end\ position}}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ x,\ y;\ \textcolor{comment}{//\ x\ \&\ y\ are\ the\ calculated\ position}}
\DoxyCodeLine{\textcolor{keywordtype}{double}\ v[2]\ =\ \{1.8,\ 7\};}
\DoxyCodeLine{}
\DoxyCodeLine{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);}
\DoxyCodeLine{x\ =\ (x1\ *\ out)\ +\ (x2\ *\ (1.0\ -\/\ out));}
\DoxyCodeLine{y\ =\ (y1\ *\ out)\ +\ (y2\ *\ (1.0\ -\/\ out));}
\DoxyCodeLine{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 \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a538f465678f595805768d180b6b652fd}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ab4d571f71ce9f295216d084900edde48}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+ACCELERATE\+\_\+\+FACTOR}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2eb0a9af74a33bf88fc19d350f703f5e}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+BOUNCE}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a605ff22fa3be1bd90f1823b211f3b084}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+CUBIC\+\_\+\+BEZIER}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016adfce20b454f9090f0f3fb0a90c8f6811}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ace459ff341178e73020370cb729992af}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DECELERATE\+\_\+\+FACTOR}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a2f9a8bd1d3eb51ea642b3939da661cb7}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+DIVISOR\+\_\+\+INTERP}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a67cea4cd70c7c97862cdb9d3f51e59fd}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+LINEAR}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a0d9d0bb084cee51d0126167dc5bf4569}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016a660ddbafd4accde5653e92d1769bbaa5}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SINUSOIDAL\+\_\+\+FACTOR}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga1047011623d9e2ea31b7e5678b451016ac8cbb42f58cabb5db04f52cede85dacd}{ECORE\+\_\+\+POS\+\_\+\+MAP\+\_\+\+SPRING}}, and \mbox{\hyperlink{group__Eina__Fp__Group_ga0e8cea18b4906fa1878724f6b4259c29}{EINA\+\_\+\+F32\+P32\+\_\+\+PI}}.



Referenced by \mbox{\hyperlink{group__Ecore__Animator__Group_ga5d4c42b9fdb22748943efa9ae6ba0a47}{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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_source\_set()}{ecore\_animator\_source\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+source\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}{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 -\/ ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+TIMER. 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/60th of a second unless set otherwise). You can set a custom tick source by setting the source to ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM 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 \mbox{\hyperlink{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea40806499705304d1a7a0784b7ea06be3}{ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM}}, \mbox{\hyperlink{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea0dbb85b96817331505974486f5604e77}{ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+TIMER}}, and \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.

\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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_source\_get()}{ecore\_animator\_source\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Ecore__Animator__Group_ga015368f549eac59229d3da96b2b9274e}{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 \mbox{\hyperlink{group__Eina__Lock__Group_ga2974eb3f18404edcc375910cc7e4859c}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN\+\_\+\+VAL}}.

\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}}
\doxysubsubsection{\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 NULL} 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 \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.

\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}}
\doxysubsubsection{\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 NULL} 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 \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.

\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}}
\doxysubsubsection{\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 ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM, 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 ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM.

\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 \mbox{\hyperlink{group__Ecore__Animator__Group_gga015368f549eac59229d3da96b2b9274ea40806499705304d1a7a0784b7ea06be3}{ECORE\+\_\+\+ANIMATOR\+\_\+\+SOURCE\+\_\+\+CUSTOM}}, and \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Animator__Group_ga0eca52138288075de4487d31dd3942ff}\label{group__Ecore__Animator__Group_ga0eca52138288075de4487d31dd3942ff}} 
\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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_add()}{ecore\_animator\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{structEcore__Animator}{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 NULL} 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 EINA\+\_\+\+TRUE} (or {\ttfamily ECORE\+\_\+\+CALLBACK\+\_\+\+RENEW}), it will be called again at the next tick, or if it returns {\ttfamily EINA\+\_\+\+FALSE} (or {\ttfamily ECORE\+\_\+\+CALLBACK\+\_\+\+CANCEL}) it will be deleted automatically making any references/handles for it invalid. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Animator__Group_gaf05c3472d3ef2e62939ad55f70947177}{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}


Referenced by \mbox{\hyperlink{group__Elm__Transit_ga5d600d1d615b5136b99a180d256cb147}{elm\+\_\+transit\+\_\+go()}}.

\mbox{\Hypertarget{group__Ecore__Animator__Group_gaf05c3472d3ef2e62939ad55f70947177}\label{group__Ecore__Animator__Group_gaf05c3472d3ef2e62939ad55f70947177}} 
\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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_timeline\_add()}{ecore\_animator\_timeline\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{structEcore__Animator}{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_ga0eca52138288075de4487d31dd3942ff}{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 ECORE\+\_\+\+CALLBACK\+\_\+\+RENEW} to keep the animator running or {\ttfamily ECORE\+\_\+\+CALLBACK\+\_\+\+CANCEL} 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 ALSO 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_ga0eca52138288075de4487d31dd3942ff}{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}


References \mbox{\hyperlink{group__Ecore__Time__Group_gab53d952cc4c2f3ed032d535b307c43bd}{ecore\+\_\+loop\+\_\+time\+\_\+get()}}.

\mbox{\Hypertarget{group__Ecore__Animator__Group_gac1b19c4289efbb15193077098a13b30e}\label{group__Ecore__Animator__Group_gac1b19c4289efbb15193077098a13b30e}} 
\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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_del()}{ecore\_animator\_del()}}
{\footnotesize\ttfamily void $\ast$ ecore\+\_\+animator\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structEcore__Animator}{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 NULL} 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. 

References \mbox{\hyperlink{group__Eina__Lock__Group_ga2974eb3f18404edcc375910cc7e4859c}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Elm__Box__Group_gab7b726e4dbfb80da529431d198add95e}{elm\+\_\+box\+\_\+transition\+\_\+free()}}, and \mbox{\hyperlink{group__Elm__Transit_ga5d600d1d615b5136b99a180d256cb147}{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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_freeze()}{ecore\_animator\_freeze()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+freeze (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structEcore__Animator}{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_gaf05c3472d3ef2e62939ad55f70947177}{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}


References \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Elm__Transit_ga639567086a6116ae2022ab9d6e17967b}{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}}
\doxysubsubsection{\texorpdfstring{ecore\_animator\_thaw()}{ecore\_animator\_thaw()}}
{\footnotesize\ttfamily void ecore\+\_\+animator\+\_\+thaw (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structEcore__Animator}{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. 

References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Elm__Transit_ga639567086a6116ae2022ab9d6e17967b}{elm\+\_\+transit\+\_\+paused\+\_\+set()}}.

