\hypertarget{group__Elm__Mapbuf}{}\section{Mapbuf}
\label{group__Elm__Mapbuf}\index{Mapbuf@{Mapbuf}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Mapbuf_gaabfbd06f146f79a01932fdc932aa28bd}\label{group__Elm__Mapbuf_gaabfbd06f146f79a01932fdc932aa28bd}} 
\#define \mbox{\hyperlink{group__Elm__Mapbuf_gaabfbd06f146f79a01932fdc932aa28bd}{E\+L\+M\+\_\+\+M\+A\+P\+B\+U\+F\+\_\+\+C\+L\+A\+SS}}~elm\+\_\+mapbuf\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em Elementary mapbuf class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Mapbuf_ga09807353b53e57605abbf051c673b6e8}{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 
E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf_ga6f49959ad0023dcc72670294e01fde25}{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether auto mode is enabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Mapbuf_ga40b1de525c0fba2242cd9cf77df6a13c}{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 
E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf_ga9b8b705beca68abb5b8a6c631cbe1077}{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether smooth map rendering is enabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Mapbuf_ga013653ffa0c358ec4e983dbb6c0dab18}{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 
E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf_ga59b00f458be74179748b80869a34b75a}{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether alpha blending is enabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Mapbuf_ga47bbbbf2c16ddf9f3312bc6c390fb96c}{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 
E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Mapbuf_gad1c1556d0186d6db688de199fb8ca233}{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether map is enabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Mapbuf_ga893517eb0f9356cd0af1e0d97530c069}{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Mapbuf_ga06fb56e5766d67a52fc5bb6bd980d304}{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 
void \mbox{\hyperlink{group__Elm__Mapbuf_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_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_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_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_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_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_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_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_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_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_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}


\subsection{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_gac2478280f81e22d3add165f7e480bd6a}{elm\+\_\+mapbuf\+\_\+enabled\+\_\+set()}} should be used.

See how to use this widget in this example\+: mapbuf\+\_\+example 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Mapbuf_ga09807353b53e57605abbf051c673b6e8}\label{group__Elm__Mapbuf_ga09807353b53e57605abbf051c673b6e8}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set()}{elm\_private\_mapbuf\_auto\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 A\+ND 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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em on} & The auto mode state. \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga6f49959ad0023dcc72670294e01fde25}\label{group__Elm__Mapbuf_ga6f49959ad0023dcc72670294e01fde25}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get()}{elm\_private\_mapbuf\_auto\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether auto mode is enabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The auto mode state. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga40b1de525c0fba2242cd9cf77df6a13c}\label{group__Elm__Mapbuf_ga40b1de525c0fba2242cd9cf77df6a13c}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set()}{elm\_private\_mapbuf\_smooth\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em smooth} & The smooth mode state. \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga9b8b705beca68abb5b8a6c631cbe1077}\label{group__Elm__Mapbuf_ga9b8b705beca68abb5b8a6c631cbe1077}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get()}{elm\_private\_mapbuf\_smooth\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The smooth mode state. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga013653ffa0c358ec4e983dbb6c0dab18}\label{group__Elm__Mapbuf_ga013653ffa0c358ec4e983dbb6c0dab18}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set()}{elm\_private\_mapbuf\_alpha\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em alpha} & The alpha state. \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga59b00f458be74179748b80869a34b75a}\label{group__Elm__Mapbuf_ga59b00f458be74179748b80869a34b75a}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get()}{elm\_private\_mapbuf\_alpha\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether alpha blending is enabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The alpha state. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga47bbbbf2c16ddf9f3312bc6c390fb96c}\label{group__Elm__Mapbuf_ga47bbbbf2c16ddf9f3312bc6c390fb96c}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set()}{elm\_private\_mapbuf\_enabled\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em enabled} & The enabled state. \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_gad1c1556d0186d6db688de199fb8ca233}\label{group__Elm__Mapbuf_gad1c1556d0186d6db688de199fb8ca233}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get()}{elm\_private\_mapbuf\_enabled\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether map is enabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The enabled state. 
\end{DoxyReturn}


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

\mbox{\Hypertarget{group__Elm__Mapbuf_ga893517eb0f9356cd0af1e0d97530c069}\label{group__Elm__Mapbuf_ga893517eb0f9356cd0af1e0d97530c069}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set@{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set()}{elm\_private\_mapbuf\_point\_color\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 G\+L\+\_\+\+M\+O\+D\+U\+L\+A\+TE 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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em idx} & Index of point to change, from 0 to 3. \\
\hline
\mbox{\tt in}  & {\em r} & Red (0 -\/ 255) \\
\hline
\mbox{\tt in}  & {\em g} & Green (0 -\/ 255) \\
\hline
\mbox{\tt in}  & {\em b} & Blue (0 -\/ 255) \\
\hline
\mbox{\tt in}  & {\em a} & Alpha (0 -\/ 255)\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


Referenced by elm\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set().

\mbox{\Hypertarget{group__Elm__Mapbuf_ga06fb56e5766d67a52fc5bb6bd980d304}\label{group__Elm__Mapbuf_ga06fb56e5766d67a52fc5bb6bd980d304}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get}}
\index{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get@{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\texorpdfstring{elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get()}{elm\_private\_mapbuf\_point\_color\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\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 G\+L\+\_\+\+M\+O\+D\+U\+L\+A\+TE 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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em idx} & Index of point to change, from 0 to 3. \\
\hline
\mbox{\tt out}  & {\em r} & Red (0 -\/ 255) \\
\hline
\mbox{\tt out}  & {\em g} & Green (0 -\/ 255) \\
\hline
\mbox{\tt out}  & {\em b} & Blue (0 -\/ 255) \\
\hline
\mbox{\tt out}  & {\em a} & Alpha (0 -\/ 255)\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


Referenced by elm\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get().

\mbox{\Hypertarget{group__Elm__Mapbuf_ga9acf0d119600f2454939e5e6cca068ed}\label{group__Elm__Mapbuf_ga9acf0d119600f2454939e5e6cca068ed}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+auto\+\_\+set@{elm\+\_\+mapbuf\+\_\+auto\+\_\+set}}
\index{elm\+\_\+mapbuf\+\_\+auto\+\_\+set@{elm\+\_\+mapbuf\+\_\+auto\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\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 A\+ND 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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em on} & The auto mode state. \\
\hline
\end{DoxyParams}


References elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+set().

\mbox{\Hypertarget{group__Elm__Mapbuf_ga7beb6e4c2d3927034072fa4425eccf75}\label{group__Elm__Mapbuf_ga7beb6e4c2d3927034072fa4425eccf75}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+auto\+\_\+get@{elm\+\_\+mapbuf\+\_\+auto\+\_\+get}}
\index{elm\+\_\+mapbuf\+\_\+auto\+\_\+get@{elm\+\_\+mapbuf\+\_\+auto\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The auto mode state. 
\end{DoxyReturn}


References elm\+\_\+private\+\_\+mapbuf\+\_\+auto\+\_\+get().

\mbox{\Hypertarget{group__Elm__Mapbuf_ga75a4e96621b6e3d4563811c94b8db9a8}\label{group__Elm__Mapbuf_ga75a4e96621b6e3d4563811c94b8db9a8}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+smooth\+\_\+set@{elm\+\_\+mapbuf\+\_\+smooth\+\_\+set}}
\index{elm\+\_\+mapbuf\+\_\+smooth\+\_\+set@{elm\+\_\+mapbuf\+\_\+smooth\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em smooth} & The smooth mode state. \\
\hline
\end{DoxyParams}


References elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+set().

\mbox{\Hypertarget{group__Elm__Mapbuf_ga4ddcfca0d1b4c796d3939baf4683b190}\label{group__Elm__Mapbuf_ga4ddcfca0d1b4c796d3939baf4683b190}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+smooth\+\_\+get@{elm\+\_\+mapbuf\+\_\+smooth\+\_\+get}}
\index{elm\+\_\+mapbuf\+\_\+smooth\+\_\+get@{elm\+\_\+mapbuf\+\_\+smooth\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The smooth mode state. 
\end{DoxyReturn}


References elm\+\_\+private\+\_\+mapbuf\+\_\+smooth\+\_\+get().

\mbox{\Hypertarget{group__Elm__Mapbuf_gaa594204de9687310a8613518d3639e89}\label{group__Elm__Mapbuf_gaa594204de9687310a8613518d3639e89}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+alpha\+\_\+set@{elm\+\_\+mapbuf\+\_\+alpha\+\_\+set}}
\index{elm\+\_\+mapbuf\+\_\+alpha\+\_\+set@{elm\+\_\+mapbuf\+\_\+alpha\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em alpha} & The alpha state. \\
\hline
\end{DoxyParams}


References elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+set().

\mbox{\Hypertarget{group__Elm__Mapbuf_gae5eb35909c38472bab65764a568947d8}\label{group__Elm__Mapbuf_gae5eb35909c38472bab65764a568947d8}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+alpha\+\_\+get@{elm\+\_\+mapbuf\+\_\+alpha\+\_\+get}}
\index{elm\+\_\+mapbuf\+\_\+alpha\+\_\+get@{elm\+\_\+mapbuf\+\_\+alpha\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The alpha state. 
\end{DoxyReturn}


References elm\+\_\+private\+\_\+mapbuf\+\_\+alpha\+\_\+get().

\mbox{\Hypertarget{group__Elm__Mapbuf_gac2478280f81e22d3add165f7e480bd6a}\label{group__Elm__Mapbuf_gac2478280f81e22d3add165f7e480bd6a}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+enabled\+\_\+set@{elm\+\_\+mapbuf\+\_\+enabled\+\_\+set}}
\index{elm\+\_\+mapbuf\+\_\+enabled\+\_\+set@{elm\+\_\+mapbuf\+\_\+enabled\+\_\+set}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em enabled} & The enabled state. \\
\hline
\end{DoxyParams}


References elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+set().

\mbox{\Hypertarget{group__Elm__Mapbuf_gae69da3f5d6417ab8ae258a4e77bea872}\label{group__Elm__Mapbuf_gae69da3f5d6417ab8ae258a4e77bea872}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+enabled\+\_\+get@{elm\+\_\+mapbuf\+\_\+enabled\+\_\+get}}
\index{elm\+\_\+mapbuf\+\_\+enabled\+\_\+get@{elm\+\_\+mapbuf\+\_\+enabled\+\_\+get}!Mapbuf@{Mapbuf}}
\subsubsection{\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{\tt in}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The enabled state. 
\end{DoxyReturn}


References elm\+\_\+private\+\_\+mapbuf\+\_\+enabled\+\_\+get().

\mbox{\Hypertarget{group__Elm__Mapbuf_ga6dda7a8322ebaffc287a20c58026464e}\label{group__Elm__Mapbuf_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}}
\subsubsection{\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 G\+L\+\_\+\+M\+O\+D\+U\+L\+A\+TE 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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em idx} & Index of point to change, from 0 to 3. \\
\hline
\mbox{\tt in}  & {\em r} & Red (0 -\/ 255) \\
\hline
\mbox{\tt in}  & {\em g} & Green (0 -\/ 255) \\
\hline
\mbox{\tt in}  & {\em b} & Blue (0 -\/ 255) \\
\hline
\mbox{\tt in}  & {\em a} & Alpha (0 -\/ 255)\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+set().

\mbox{\Hypertarget{group__Elm__Mapbuf_gad777031eb7b672173b42785f6e33d891}\label{group__Elm__Mapbuf_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}}
\subsubsection{\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 G\+L\+\_\+\+M\+O\+D\+U\+L\+A\+TE 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{\tt in}  & {\em obj} & The object. \\
\hline
\mbox{\tt in}  & {\em idx} & Index of point to change, from 0 to 3. \\
\hline
\mbox{\tt out}  & {\em r} & Red (0 -\/ 255) \\
\hline
\mbox{\tt out}  & {\em g} & Green (0 -\/ 255) \\
\hline
\mbox{\tt out}  & {\em b} & Blue (0 -\/ 255) \\
\hline
\mbox{\tt out}  & {\em a} & Alpha (0 -\/ 255)\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+9 
\end{DoxySince}


References elm\+\_\+private\+\_\+mapbuf\+\_\+point\+\_\+color\+\_\+get().

\mbox{\Hypertarget{group__Elm__Mapbuf_gaed8b665e2ac7557abc645503327700fd}\label{group__Elm__Mapbuf_gaed8b665e2ac7557abc645503327700fd}} 
\index{Mapbuf@{Mapbuf}!elm\+\_\+mapbuf\+\_\+add@{elm\+\_\+mapbuf\+\_\+add}}
\index{elm\+\_\+mapbuf\+\_\+add@{elm\+\_\+mapbuf\+\_\+add}!Mapbuf@{Mapbuf}}
\subsubsection{\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 N\+U\+LL}, on errors.
\end{DoxyReturn}
This function inserts a new mapbuf widget on the canvas. 