\hypertarget{group__Evas__Image__Group}{\section{Image Functions}
\label{group__Evas__Image__Group}\index{Image Functions@{Image Functions}}
}


Functions that deals with images at canvas level.  


\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Evas__Image__Group_gaa31c661bb36c0147ad870229c7d99ea4}{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush}()~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-F\-L\-U\-S\-H)
\item 
\#define \hyperlink{group__Evas__Image__Group_ga22360ce68892f1ec2562b7771252762d}{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload}()~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-R\-E\-L\-O\-A\-D)
\item 
\#define \hyperlink{group__Evas__Image__Group_ga00bf7544e8c660f6f568808412cc26e4}{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set}(size)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, size)
\item 
\#define \hyperlink{group__Evas__Image__Group_ga04ea1da93d64c57b090d2cb98c604105}{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get}(ret)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)
\item 
\#define \hyperlink{group__Evas__Image__Group_gaf29060a35999347f3124bea524412b58}{evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}(maxw, maxh, ret)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-M\-A\-X\-\_\-\-S\-I\-Z\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, maxw), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, maxh), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} $\ast$, ret)
\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Evas__Image__Group_ga8769614c4886c4a87113069d308f8870}{evas\-\_\-image\-\_\-cache\-\_\-flush} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Flush the image cache of the canvas. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Image__Group_ga1f0a181c2b0c79203a30b279cb6b2276}{evas\-\_\-image\-\_\-cache\-\_\-reload} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Reload the image cache. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Image__Group_ga7dc3294ec4da38474d9044119eee017a}{evas\-\_\-image\-\_\-cache\-\_\-set} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e, int size)
\begin{DoxyCompactList}\small\item\em Set the image cache. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Image__Group_ga7480859be8fae0bf889543ea4c45d04d}{evas\-\_\-image\-\_\-cache\-\_\-get} (const \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e)
\begin{DoxyCompactList}\small\item\em Get the image cache. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Evas__Image__Group_ga699071f332f8e018bf4ba7da6bc752fe}{evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get} (const \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e, int $\ast$maxw, int $\ast$maxh)
\begin{DoxyCompactList}\small\item\em Get the maximum image size evas can possibly handle. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that deals with images at canvas level. 

\subsection{Macro Definition Documentation}
\hypertarget{group__Evas__Image__Group_gaa31c661bb36c0147ad870229c7d99ea4}{\index{Image Functions@{Image Functions}!evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush}}
\index{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-F\-L\-U\-S\-H)}}\label{group__Evas__Image__Group_gaa31c661bb36c0147ad870229c7d99ea4}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Flush the image cache of the canvas.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Image__Group_ga8769614c4886c4a87113069d308f8870}{evas\-\_\-image\-\_\-cache\-\_\-flush} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-image\-\_\-cache\-\_\-flush().

\hypertarget{group__Evas__Image__Group_ga22360ce68892f1ec2562b7771252762d}{\index{Image Functions@{Image Functions}!evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload}}
\index{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-R\-E\-L\-O\-A\-D)}}\label{group__Evas__Image__Group_ga22360ce68892f1ec2562b7771252762d}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Reload the image cache

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Image__Group_ga1f0a181c2b0c79203a30b279cb6b2276}{evas\-\_\-image\-\_\-cache\-\_\-reload} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-image\-\_\-cache\-\_\-reload().

\hypertarget{group__Evas__Image__Group_ga00bf7544e8c660f6f568808412cc26e4}{\index{Image Functions@{Image Functions}!evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set}}
\index{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{size}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, size)}}\label{group__Evas__Image__Group_ga00bf7544e8c660f6f568808412cc26e4}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the image cache.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em size} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Image__Group_ga7dc3294ec4da38474d9044119eee017a}{evas\-\_\-image\-\_\-cache\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-image\-\_\-cache\-\_\-set().

\hypertarget{group__Evas__Image__Group_ga04ea1da93d64c57b090d2cb98c604105}{\index{Image Functions@{Image Functions}!evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get}}
\index{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get@{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-C\-A\-C\-H\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)}}\label{group__Evas__Image__Group_ga04ea1da93d64c57b090d2cb98c604105}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the image cache


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Image__Group_ga7480859be8fae0bf889543ea4c45d04d}{evas\-\_\-image\-\_\-cache\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-image\-\_\-cache\-\_\-get().

\hypertarget{group__Evas__Image__Group_gaf29060a35999347f3124bea524412b58}{\index{Image Functions@{Image Functions}!evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get@{evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}}
\index{evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get@{evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{maxw, }
\item[{}]{maxh, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-C\-A\-N\-V\-A\-S\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-M\-A\-G\-E\-\_\-\-M\-A\-X\-\_\-\-S\-I\-Z\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, maxw), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, maxh), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Eina\-\_\-\-Bool} $\ast$, ret)}}\label{group__Evas__Image__Group_gaf29060a35999347f3124bea524412b58}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the maximum image size evas can possibly handle


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em maxw} & \\
\hline
\mbox{\tt out}  & {\em maxh} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Image__Group_ga699071f332f8e018bf4ba7da6bc752fe}{evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get().



\subsection{Function Documentation}
\hypertarget{group__Evas__Image__Group_ga8769614c4886c4a87113069d308f8870}{\index{Image Functions@{Image Functions}!evas\-\_\-image\-\_\-cache\-\_\-flush@{evas\-\_\-image\-\_\-cache\-\_\-flush}}
\index{evas\-\_\-image\-\_\-cache\-\_\-flush@{evas\-\_\-image\-\_\-cache\-\_\-flush}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-image\-\_\-cache\-\_\-flush}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-image\-\_\-cache\-\_\-flush (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Image__Group_ga8769614c4886c4a87113069d308f8870}


Flush the image cache of the canvas. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas pointer.\\
\hline
\end{DoxyParams}
This function flushes image cache of canvas. 

References evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-flush.

\hypertarget{group__Evas__Image__Group_ga1f0a181c2b0c79203a30b279cb6b2276}{\index{Image Functions@{Image Functions}!evas\-\_\-image\-\_\-cache\-\_\-reload@{evas\-\_\-image\-\_\-cache\-\_\-reload}}
\index{evas\-\_\-image\-\_\-cache\-\_\-reload@{evas\-\_\-image\-\_\-cache\-\_\-reload}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-image\-\_\-cache\-\_\-reload}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-image\-\_\-cache\-\_\-reload (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Image__Group_ga1f0a181c2b0c79203a30b279cb6b2276}


Reload the image cache. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas pointer.\\
\hline
\end{DoxyParams}
This function reloads the image cache of canvas. 

References evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-reload.

\hypertarget{group__Evas__Image__Group_ga7dc3294ec4da38474d9044119eee017a}{\index{Image Functions@{Image Functions}!evas\-\_\-image\-\_\-cache\-\_\-set@{evas\-\_\-image\-\_\-cache\-\_\-set}}
\index{evas\-\_\-image\-\_\-cache\-\_\-set@{evas\-\_\-image\-\_\-cache\-\_\-set}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-image\-\_\-cache\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-image\-\_\-cache\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{e, }
\item[{int}]{size}
\end{DoxyParamCaption}
)}}\label{group__Evas__Image__Group_ga7dc3294ec4da38474d9044119eee017a}


Set the image cache. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas pointer. \\
\hline
{\em size} & The cache size.\\
\hline
\end{DoxyParams}
This function sets the image cache of canvas in bytes. 

References evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-set.

\hypertarget{group__Evas__Image__Group_ga7480859be8fae0bf889543ea4c45d04d}{\index{Image Functions@{Image Functions}!evas\-\_\-image\-\_\-cache\-\_\-get@{evas\-\_\-image\-\_\-cache\-\_\-get}}
\index{evas\-\_\-image\-\_\-cache\-\_\-get@{evas\-\_\-image\-\_\-cache\-\_\-get}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-image\-\_\-cache\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int evas\-\_\-image\-\_\-cache\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas} $\ast$}]{e}
\end{DoxyParamCaption}
)}}\label{group__Evas__Image__Group_ga7480859be8fae0bf889543ea4c45d04d}


Get the image cache. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas pointer.\\
\hline
\end{DoxyParams}
This function returns the image cache size of canvas in bytes. 

References evas\-\_\-canvas\-\_\-image\-\_\-cache\-\_\-get.

\hypertarget{group__Evas__Image__Group_ga699071f332f8e018bf4ba7da6bc752fe}{\index{Image Functions@{Image Functions}!evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get@{evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}}
\index{evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get@{evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}!Image Functions@{Image Functions}}
\subsubsection[{evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} evas\-\_\-image\-\_\-max\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas} $\ast$}]{e, }
\item[{int $\ast$}]{maxw, }
\item[{int $\ast$}]{maxh}
\end{DoxyParamCaption}
)}}\label{group__Evas__Image__Group_ga699071f332f8e018bf4ba7da6bc752fe}


Get the maximum image size evas can possibly handle. 


\begin{DoxyParams}{Parameters}
{\em e} & The given evas pointer. \\
\hline
{\em maxw} & Pointer to hold the return value in pixels of the maximum width \\
\hline
{\em maxh} & Pointer to hold the return value in pixels of the maximum height\\
\hline
\end{DoxyParams}
This function returns the larges image or surface size that evas can handle in pixels, and if there is one, returns {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E}. It returns {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} if no extra constraint on maximum image size exists. You still should check the return values of {\ttfamily maxw} and {\ttfamily maxh} as there may still be a limit, just a much higher one.

\begin{DoxySince}{Since}
1.\-1 
\end{DoxySince}


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, and evas\-\_\-canvas\-\_\-image\-\_\-max\-\_\-size\-\_\-get.

