\section{Mapbuf}
\label{group__Mapbuf}\index{Mapbuf@{Mapbuf}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__Mapbuf_gaed8b665e2ac7557abc645503327700fd}{elm\-\_\-mapbuf\-\_\-add} (Evas\-\_\-\-Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new mapbuf widget to the given parent Elementary (container) object. \end{DoxyCompactList}\item 
void \hyperlink{group__Mapbuf_gac6592650a7c58e53bf8ab77afd3f3ab2}{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable the map. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Mapbuf_ga3a97fc4940574f17aa4f772f9d2125a8}{elm\-\_\-mapbuf\-\_\-enabled\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether map is enabled or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Mapbuf_gaad2149991882cef18a7b0907c0524ca7}{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool smooth)
\begin{DoxyCompactList}\small\item\em Enable or disable smooth map rendering. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Mapbuf_gaa12d2ee904e9c5df1c1b468f3ed954a8}{elm\-\_\-mapbuf\-\_\-smooth\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether smooth map rendering is enabled or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Mapbuf_ga113591e8ab5d04f88ad06ecebcfa7c0e}{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool alpha)
\begin{DoxyCompactList}\small\item\em Set or unset alpha flag for map rendering. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Mapbuf_gac55720ff2add102bb9b9e35a982b7ff7}{elm\-\_\-mapbuf\-\_\-alpha\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether alpha blending is enabled or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Mapbuf_ga4e052561bd71da2997602134e9292d7a}{elm\-\_\-mapbuf\-\_\-auto\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool on)
\begin{DoxyCompactList}\small\item\em Set or unset auto flag for map rendering. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Mapbuf_ga9b383a0eccea7b546628cbc6cde07a2e}{elm\-\_\-mapbuf\-\_\-auto\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether auto mode is enabled or not. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Mapbuf_ga866394cacadecc583647fc770c0d7a69}{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set}(enabled)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, enabled)
\item 
\#define \hyperlink{group__Mapbuf_ga9816d6a9981a0eab2df987926368af7d}{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__Mapbuf_ga294193a256147004cc9d87c60560cc6b}{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set}(smooth)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-M\-O\-O\-T\-H\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, smooth)
\item 
\#define \hyperlink{group__Mapbuf_gac79a5023904c8fd1fc5d542c3100b80c}{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-M\-O\-O\-T\-H\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__Mapbuf_ga4d34fcf8c4bbcb67e3fa9eba993c8444}{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set}(alpha)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-L\-P\-H\-A\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, alpha)
\item 
\#define \hyperlink{group__Mapbuf_gab2cc94a867c92b9a0a47af2803da281e}{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-L\-P\-H\-A\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\item 
\#define \hyperlink{group__Mapbuf_gacddabeb4303b5ca21eff4f4b2d34d9f9}{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set}(on)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-U\-T\-O\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, on)
\item 
\#define \hyperlink{group__Mapbuf_ga439287732b1f7da8d804ceaee7bd86a2}{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-U\-T\-O\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{mapbuf_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImage}
\includegraphics{img/widget/mapbuf/preview-00}
\caption{width=}
\end{DoxyImage}


This holds one content object and uses an Evas Map of transformation points to be later used with this content. So the content will be moved, resized, etc as a single image. So it will improve performance when you have a complex interface, with a lot of elements, and will need to resize or move it frequently (the content object and its children).

This widget inherits from \hyperlink{group__Widget_elm-container-class}{The Elementary Container Class}, so that the functions meant to act on it will work for mapbuf objects\-:

\begin{DoxyItemize}
\item \hyperlink{group__General_ga0531ec8867c72def7c780601764ca642}{elm\-\_\-object\-\_\-part\-\_\-content\-\_\-set} \item \hyperlink{group__General_ga32413f4d59d8232cd362a922a281abf1}{elm\-\_\-object\-\_\-part\-\_\-content\-\_\-get} \item \hyperlink{group__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\-\_\-object\-\_\-part\-\_\-content\-\_\-unset}\end{DoxyItemize}
Default content parts of the mapbuf widget that you can use are\-: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ The main content of the mapbuf\end{DoxyItemize}
To enable map, \hyperlink{group__Mapbuf_gac6592650a7c58e53bf8ab77afd3f3ab2}{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set()} should be used.

See how to use this widget in this example\-: \hyperlink{mapbuf_example}{Mapbuf Widget Example} 

\subsection{Macro Definition Documentation}
\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-L\-P\-H\-A\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Mapbuf_gab2cc94a867c92b9a0a47af2803da281e}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get a value whether alpha blending is enabled or not.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_gac55720ff2add102bb9b9e35a982b7ff7}{elm\-\_\-mapbuf\-\_\-alpha\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-alpha\-\_\-get().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{alpha}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-L\-P\-H\-A\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, alpha)}\label{group__Mapbuf_ga4d34fcf8c4bbcb67e3fa9eba993c8444}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set or unset alpha flag for map rendering.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em alpha} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga113591e8ab5d04f88ad06ecebcfa7c0e}{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-alpha\-\_\-set().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-U\-T\-O\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Mapbuf_ga439287732b1f7da8d804ceaee7bd86a2}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get a value automatic map mode is enabled ore not.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga9b383a0eccea7b546628cbc6cde07a2e}{elm\-\_\-mapbuf\-\_\-auto\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-auto\-\_\-get().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{on}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-A\-U\-T\-O\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, on)}\label{group__Mapbuf_gacddabeb4303b5ca21eff4f4b2d34d9f9}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set or unset automatic flag for map rendering.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em on} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga4e052561bd71da2997602134e9292d7a}{elm\-\_\-mapbuf\-\_\-auto\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-auto\-\_\-set().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Mapbuf_ga9816d6a9981a0eab2df987926368af7d}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get a value whether map is enabled or not.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga3a97fc4940574f17aa4f772f9d2125a8}{elm\-\_\-mapbuf\-\_\-enabled\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-enabled\-\_\-get().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{enabled}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, enabled)}\label{group__Mapbuf_ga866394cacadecc583647fc770c0d7a69}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Enable or disable the map.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em enabled} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_gac6592650a7c58e53bf8ab77afd3f3ab2}{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-enabled\-\_\-set().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get@{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-M\-O\-O\-T\-H\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Mapbuf_gac79a5023904c8fd1fc5d542c3100b80c}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get a value whether smooth map rendering is enabled or not.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_gaa12d2ee904e9c5df1c1b468f3ed954a8}{elm\-\_\-mapbuf\-\_\-smooth\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-smooth\-\_\-get().

\index{Mapbuf@{Mapbuf}!elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set}}
\index{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set@{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{smooth}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-A\-P\-B\-U\-F\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-M\-O\-O\-T\-H\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, smooth)}\label{group__Mapbuf_ga294193a256147004cc9d87c60560cc6b}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Enable or disable smooth map rendering.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em smooth} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_gaad2149991882cef18a7b0907c0524ca7}{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-mapbuf\-\_\-smooth\-\_\-set().



\subsection{Function Documentation}
\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-add@{elm\-\_\-mapbuf\-\_\-add}}
\index{elm\-\_\-mapbuf\-\_\-add@{elm\-\_\-mapbuf\-\_\-add}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Object$\ast$ elm\-\_\-mapbuf\-\_\-add (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_gaed8b665e2ac7557abc645503327700fd}


Add a new mapbuf widget to the given parent Elementary (container) object. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new mapbuf widget handle or {\ttfamily N\-U\-L\-L}, on errors.
\end{DoxyReturn}
This function inserts a new mapbuf widget on the canvas. \index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-alpha\-\_\-get@{elm\-\_\-mapbuf\-\_\-alpha\-\_\-get}}
\index{elm\-\_\-mapbuf\-\_\-alpha\-\_\-get@{elm\-\_\-mapbuf\-\_\-alpha\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-alpha\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-mapbuf\-\_\-alpha\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_gac55720ff2add102bb9b9e35a982b7ff7}


Get a value whether alpha blending is enabled or not. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} means alpha blending is enabled. {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} indicates it's disabled. If {\ttfamily obj} is {\ttfamily N\-U\-L\-L}, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} is returned.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga113591e8ab5d04f88ad06ecebcfa7c0e}{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set()} for details. 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-get.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-alpha\-\_\-set@{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set}}
\index{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set@{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-mapbuf\-\_\-alpha\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{alpha}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_ga113591e8ab5d04f88ad06ecebcfa7c0e}


Set or unset alpha flag for map rendering. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
{\em alpha} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} to enable alpha blending or {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} to disable it.\\
\hline
\end{DoxyParams}
This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects have this currently. It stops alpha blending of the map area, and is useful if you know the object and/or all sub-\/objects is 100\% solid.

Alpha is enabled by default. 

References elm\-\_\-obj\-\_\-mapbuf\-\_\-alpha\-\_\-set.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-auto\-\_\-get@{elm\-\_\-mapbuf\-\_\-auto\-\_\-get}}
\index{elm\-\_\-mapbuf\-\_\-auto\-\_\-get@{elm\-\_\-mapbuf\-\_\-auto\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-auto\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-mapbuf\-\_\-auto\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_ga9b383a0eccea7b546628cbc6cde07a2e}


Get a value whether auto mode is enabled or not. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} means autso mode is enabled. {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} indicates it's disabled. If {\ttfamily obj} is {\ttfamily N\-U\-L\-L}, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} is returned.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga4e052561bd71da2997602134e9292d7a}{elm\-\_\-mapbuf\-\_\-auto\-\_\-set()} for details. 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-get.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-auto\-\_\-set@{elm\-\_\-mapbuf\-\_\-auto\-\_\-set}}
\index{elm\-\_\-mapbuf\-\_\-auto\-\_\-set@{elm\-\_\-mapbuf\-\_\-auto\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-auto\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-mapbuf\-\_\-auto\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{on}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_ga4e052561bd71da2997602134e9292d7a}


Set or unset auto flag for map rendering. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
{\em on} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} to enable auto mode or {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} to disable it.\\
\hline
\end{DoxyParams}
When a ampbuf object has \char`\"{}auto mode\char`\"{} enabled, then it will enable and disable map mode based on current visibility. Mapbuf will track if you show or hide it A\-N\-D if the object is inside the canvas viewport or not when it is moved or resized. Note that if you turn automode off, then map mode will be in a disabled state at this point. When you turn it on for the first time, the current state will be evaluated base on current properties of the mapbuf object.

Auto mode is disabled by default. 

References elm\-\_\-obj\-\_\-mapbuf\-\_\-auto\-\_\-set.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-enabled\-\_\-get@{elm\-\_\-mapbuf\-\_\-enabled\-\_\-get}}
\index{elm\-\_\-mapbuf\-\_\-enabled\-\_\-get@{elm\-\_\-mapbuf\-\_\-enabled\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-enabled\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-mapbuf\-\_\-enabled\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_ga3a97fc4940574f17aa4f772f9d2125a8}


Get a value whether map is enabled or not. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} means map is enabled. {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} indicates it's disabled. If {\ttfamily obj} is {\ttfamily N\-U\-L\-L}, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} is returned.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_gac6592650a7c58e53bf8ab77afd3f3ab2}{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set()} for details. 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-get.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-enabled\-\_\-set@{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set}}
\index{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set@{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-enabled\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-mapbuf\-\_\-enabled\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{enabled}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_gac6592650a7c58e53bf8ab77afd3f3ab2}


Enable or disable the map. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
{\em enabled} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} to enable map or {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} to disable it.\\
\hline
\end{DoxyParams}
This enables the map that is set or disables it. On enable, the object geometry will be saved, and the new geometry will change (position and size) to reflect the map geometry set.

Also, when enabled, alpha and smooth states will be used, so if the content isn't solid, alpha should be enabled, for example, otherwise a black rectangle will fill the content.

When disabled, the stored map will be freed and geometry prior to enabling the map will be restored.

It's disabled by default.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_ga113591e8ab5d04f88ad06ecebcfa7c0e}{elm\-\_\-mapbuf\-\_\-alpha\-\_\-set()} 

\hyperlink{group__Mapbuf_gaad2149991882cef18a7b0907c0524ca7}{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-mapbuf\-\_\-enabled\-\_\-set.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-smooth\-\_\-get@{elm\-\_\-mapbuf\-\_\-smooth\-\_\-get}}
\index{elm\-\_\-mapbuf\-\_\-smooth\-\_\-get@{elm\-\_\-mapbuf\-\_\-smooth\-\_\-get}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-smooth\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-mapbuf\-\_\-smooth\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_gaa12d2ee904e9c5df1c1b468f3ed954a8}


Get a value whether smooth map rendering is enabled or not. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} means smooth map rendering is enabled. {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} indicates it's disabled. If {\ttfamily obj} is {\ttfamily N\-U\-L\-L}, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} is returned.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Mapbuf_gaad2149991882cef18a7b0907c0524ca7}{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set()} for details. 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-get.

\index{Mapbuf@{Mapbuf}!elm\-\_\-mapbuf\-\_\-smooth\-\_\-set@{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set}}
\index{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set@{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set}!Mapbuf@{Mapbuf}}
\subsubsection[{elm\-\_\-mapbuf\-\_\-smooth\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-mapbuf\-\_\-smooth\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{smooth}
\end{DoxyParamCaption}
)}\label{group__Mapbuf_gaad2149991882cef18a7b0907c0524ca7}


Enable or disable smooth map rendering. 


\begin{DoxyParams}{Parameters}
{\em obj} & The mapbuf object. \\
\hline
{\em smooth} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} to enable smooth map rendering or {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} to disable it.\\
\hline
\end{DoxyParams}
This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off.

By default smooth maps are enabled. 

References elm\-\_\-obj\-\_\-mapbuf\-\_\-smooth\-\_\-set.

