\hypertarget{group__Elm__Mapbuf__Group}{}\doxysection{Mapbuf}
\label{group__Elm__Mapbuf__Group}\index{Mapbuf@{Mapbuf}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Elm__Mapbuf__Group_ga9acf0d119600f2454939e5e6cca068ed}{elm\+\_\+mapbuf\+\_\+auto\+\_\+set}} (Elm\+\_\+\+Mapbuf $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} on)
\begin{DoxyCompactList}\small\item\em Set or unset auto flag for map rendering. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf__Group_ga7beb6e4c2d3927034072fa4425eccf75}{elm\+\_\+mapbuf\+\_\+auto\+\_\+get}} (const Elm\+\_\+\+Mapbuf $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether auto mode is enabled or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Mapbuf__Group_ga75a4e96621b6e3d4563811c94b8db9a8}{elm\+\_\+mapbuf\+\_\+smooth\+\_\+set}} (Elm\+\_\+\+Mapbuf $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} smooth)
\begin{DoxyCompactList}\small\item\em Enable or disable smooth map rendering. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf__Group_ga4ddcfca0d1b4c796d3939baf4683b190}{elm\+\_\+mapbuf\+\_\+smooth\+\_\+get}} (const Elm\+\_\+\+Mapbuf $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether smooth map rendering is enabled or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Mapbuf__Group_gaa594204de9687310a8613518d3639e89}{elm\+\_\+mapbuf\+\_\+alpha\+\_\+set}} (Elm\+\_\+\+Mapbuf $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} alpha)
\begin{DoxyCompactList}\small\item\em Set or unset alpha flag for map rendering. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf__Group_gae5eb35909c38472bab65764a568947d8}{elm\+\_\+mapbuf\+\_\+alpha\+\_\+get}} (const Elm\+\_\+\+Mapbuf $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether alpha blending is enabled or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Mapbuf__Group_gac2478280f81e22d3add165f7e480bd6a}{elm\+\_\+mapbuf\+\_\+enabled\+\_\+set}} (Elm\+\_\+\+Mapbuf $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable the map. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf__Group_gae69da3f5d6417ab8ae258a4e77bea872}{elm\+\_\+mapbuf\+\_\+enabled\+\_\+get}} (const Elm\+\_\+\+Mapbuf $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether map is enabled or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Mapbuf__Group_ga6dda7a8322ebaffc287a20c58026464e}{elm\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set}} (Elm\+\_\+\+Mapbuf $\ast$obj, int idx, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em The color of a point (vertex) in the mapbuf. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Mapbuf__Group_gad777031eb7b672173b42785f6e33d891}{elm\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get}} (const Elm\+\_\+\+Mapbuf $\ast$obj, int idx, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em The color of a point (vertex) in the mapbuf. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Mapbuf__Group_gaed8b665e2ac7557abc645503327700fd}{elm\+\_\+mapbuf\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new mapbuf widget to the given parent Elementary (container) object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{mapbuf_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{img/widget/mapbuf/preview-00}}
\end{DoxyImageNoCaption}


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 as a single image. So it will improve performance when you have a complex interface, with a lot of elements, and will need to move it frequently (the content object and its children).

This widget inherits from \mbox{\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 \mbox{\hyperlink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get}} \item \mbox{\hyperlink{group__Elm__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, \mbox{\hyperlink{group__Elm__Mapbuf__Group_gac2478280f81e22d3add165f7e480bd6a}{elm\+\_\+mapbuf\+\_\+enabled\+\_\+set()}} should be used.

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

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_ga9acf0d119600f2454939e5e6cca068ed}\label{group__Elm__Mapbuf__Group_ga9acf0d119600f2454939e5e6cca068ed}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_auto\_set@{elm\_mapbuf\_auto\_set}}
\index{elm\_mapbuf\_auto\_set@{elm\_mapbuf\_auto\_set}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_auto\_set()}{elm\_mapbuf\_auto\_set()}}
{\footnotesize\ttfamily void elm\+\_\+mapbuf\+\_\+auto\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Mapbuf $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{on }\end{DoxyParamCaption})}



Set or unset auto flag for map rendering. 

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 AND 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.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em on} & The auto mode state. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_ga7beb6e4c2d3927034072fa4425eccf75}\label{group__Elm__Mapbuf__Group_ga7beb6e4c2d3927034072fa4425eccf75}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_auto\_get@{elm\_mapbuf\_auto\_get}}
\index{elm\_mapbuf\_auto\_get@{elm\_mapbuf\_auto\_get}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_auto\_get()}{elm\_mapbuf\_auto\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+mapbuf\+\_\+auto\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Mapbuf $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether auto mode is enabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The auto mode state. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_ga75a4e96621b6e3d4563811c94b8db9a8}\label{group__Elm__Mapbuf__Group_ga75a4e96621b6e3d4563811c94b8db9a8}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_smooth\_set@{elm\_mapbuf\_smooth\_set}}
\index{elm\_mapbuf\_smooth\_set@{elm\_mapbuf\_smooth\_set}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_smooth\_set()}{elm\_mapbuf\_smooth\_set()}}
{\footnotesize\ttfamily void elm\+\_\+mapbuf\+\_\+smooth\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Mapbuf $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{smooth }\end{DoxyParamCaption})}



Enable or disable smooth map rendering. 

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.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em smooth} & The smooth mode state. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_ga4ddcfca0d1b4c796d3939baf4683b190}\label{group__Elm__Mapbuf__Group_ga4ddcfca0d1b4c796d3939baf4683b190}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_smooth\_get@{elm\_mapbuf\_smooth\_get}}
\index{elm\_mapbuf\_smooth\_get@{elm\_mapbuf\_smooth\_get}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_smooth\_get()}{elm\_mapbuf\_smooth\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+mapbuf\+\_\+smooth\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Mapbuf $\ast$}]{obj }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The smooth mode state. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_gaa594204de9687310a8613518d3639e89}\label{group__Elm__Mapbuf__Group_gaa594204de9687310a8613518d3639e89}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_alpha\_set@{elm\_mapbuf\_alpha\_set}}
\index{elm\_mapbuf\_alpha\_set@{elm\_mapbuf\_alpha\_set}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_alpha\_set()}{elm\_mapbuf\_alpha\_set()}}
{\footnotesize\ttfamily void elm\+\_\+mapbuf\+\_\+alpha\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Mapbuf $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{alpha }\end{DoxyParamCaption})}



Set or unset alpha flag for map rendering. 

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.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em alpha} & The alpha state. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_gae5eb35909c38472bab65764a568947d8}\label{group__Elm__Mapbuf__Group_gae5eb35909c38472bab65764a568947d8}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_alpha\_get@{elm\_mapbuf\_alpha\_get}}
\index{elm\_mapbuf\_alpha\_get@{elm\_mapbuf\_alpha\_get}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_alpha\_get()}{elm\_mapbuf\_alpha\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+mapbuf\+\_\+alpha\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Mapbuf $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether alpha blending is enabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The alpha state. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_gac2478280f81e22d3add165f7e480bd6a}\label{group__Elm__Mapbuf__Group_gac2478280f81e22d3add165f7e480bd6a}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_enabled\_set@{elm\_mapbuf\_enabled\_set}}
\index{elm\_mapbuf\_enabled\_set@{elm\_mapbuf\_enabled\_set}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_enabled\_set()}{elm\_mapbuf\_enabled\_set()}}
{\footnotesize\ttfamily void elm\+\_\+mapbuf\+\_\+enabled\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Mapbuf $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{enabled }\end{DoxyParamCaption})}



Enable or disable the map. 

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\textquotesingle{}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\textquotesingle{}s disabled by default.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em enabled} & The enabled state. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_gae69da3f5d6417ab8ae258a4e77bea872}\label{group__Elm__Mapbuf__Group_gae69da3f5d6417ab8ae258a4e77bea872}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_enabled\_get@{elm\_mapbuf\_enabled\_get}}
\index{elm\_mapbuf\_enabled\_get@{elm\_mapbuf\_enabled\_get}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_enabled\_get()}{elm\_mapbuf\_enabled\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+mapbuf\+\_\+enabled\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Mapbuf $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether map is enabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The enabled state. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_ga6dda7a8322ebaffc287a20c58026464e}\label{group__Elm__Mapbuf__Group_ga6dda7a8322ebaffc287a20c58026464e}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_point\_color\_set@{elm\_mapbuf\_point\_color\_set}}
\index{elm\_mapbuf\_point\_color\_set@{elm\_mapbuf\_point\_color\_set}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_point\_color\_set()}{elm\_mapbuf\_point\_color\_set()}}
{\footnotesize\ttfamily void elm\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Mapbuf $\ast$}]{obj,  }\item[{int}]{idx,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b,  }\item[{int}]{a }\end{DoxyParamCaption})}



The color of a point (vertex) in the mapbuf. 

This represents the color of the vertex in the mapbuf. Colors will be linearly interpolated between vertex points through the mapbuf. Color will multiply the \char`\"{}texture\char`\"{} pixels (like GL\+\_\+\+MODULATE in Open\+GL). The default color of a vertex in a mapbuf is white solid (255, 255, 255, 255) which means it will have no effect on modifying the texture pixels.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em idx} & Index of point to change, from 0 to 3. \\
\hline
\mbox{\texttt{ in}}  & {\em r} & Red (0 -\/ 255) \\
\hline
\mbox{\texttt{ in}}  & {\em g} & Green (0 -\/ 255) \\
\hline
\mbox{\texttt{ in}}  & {\em b} & Blue (0 -\/ 255) \\
\hline
\mbox{\texttt{ in}}  & {\em a} & Alpha (0 -\/ 255)\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_gad777031eb7b672173b42785f6e33d891}\label{group__Elm__Mapbuf__Group_gad777031eb7b672173b42785f6e33d891}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_point\_color\_get@{elm\_mapbuf\_point\_color\_get}}
\index{elm\_mapbuf\_point\_color\_get@{elm\_mapbuf\_point\_color\_get}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_point\_color\_get()}{elm\_mapbuf\_point\_color\_get()}}
{\footnotesize\ttfamily void elm\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Mapbuf $\ast$}]{obj,  }\item[{int}]{idx,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b,  }\item[{int $\ast$}]{a }\end{DoxyParamCaption})}



The color of a point (vertex) in the mapbuf. 

This represents the color of the vertex in the mapbuf. Colors will be linearly interpolated between vertex points through the mapbuf. Color will multiply the \char`\"{}texture\char`\"{} pixels (like GL\+\_\+\+MODULATE in Open\+GL). The default color of a vertex in a mapbuf is white solid (255, 255, 255, 255) which means it will have no effect on modifying the texture pixels.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em idx} & Index of point to change, from 0 to 3. \\
\hline
\mbox{\texttt{ out}}  & {\em r} & Red (0 -\/ 255) \\
\hline
\mbox{\texttt{ out}}  & {\em g} & Green (0 -\/ 255) \\
\hline
\mbox{\texttt{ out}}  & {\em b} & Blue (0 -\/ 255) \\
\hline
\mbox{\texttt{ out}}  & {\em a} & Alpha (0 -\/ 255)\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Mapbuf__Group_gaed8b665e2ac7557abc645503327700fd}\label{group__Elm__Mapbuf__Group_gaed8b665e2ac7557abc645503327700fd}} 
\index{Mapbuf@{Mapbuf}!elm\_mapbuf\_add@{elm\_mapbuf\_add}}
\index{elm\_mapbuf\_add@{elm\_mapbuf\_add}!Mapbuf@{Mapbuf}}
\doxysubsubsection{\texorpdfstring{elm\_mapbuf\_add()}{elm\_mapbuf\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ elm\+\_\+mapbuf\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{parent }\end{DoxyParamCaption})}



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 NULL}, on errors.
\end{DoxyReturn}
This function inserts a new mapbuf widget on the canvas. 

References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL.

