\hypertarget{structefl_1_1gfx_1_1base}{}\section{efl\+:\+:gfx\+:\+:base Struct Reference}
\label{structefl_1_1gfx_1_1base}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}}


Class base.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structefl_1_1gfx_1_1base_ac5696aa43e743a2aa861cd14359649a5}{base} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$eo)
\begin{DoxyCompactList}\small\item\em Eo Constructor. \end{DoxyCompactList}\item 
\hyperlink{structefl_1_1gfx_1_1base_a3e714eab484e7031b2fa309599e75e0e}{base} (std\+::nullptr\+\_\+t)
\begin{DoxyCompactList}\small\item\em nullptr\+\_\+t Constructor. \end{DoxyCompactList}\item 
\hypertarget{structefl_1_1gfx_1_1base_a966a22d4680d98d2c7115c64ac766c32}{}\hyperlink{structefl_1_1gfx_1_1base_a966a22d4680d98d2c7115c64ac766c32}{base} (\hyperlink{structefl_1_1gfx_1_1base}{base} const \&other)\label{structefl_1_1gfx_1_1base_a966a22d4680d98d2c7115c64ac766c32}

\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1gfx_1_1base_aec20779cd4cfee638eabf3c72033a1c8}{position\+\_\+get} (int $\ast$x\+\_\+, int $\ast$y\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Retrieves the position of the given Evas object. \end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1gfx_1_1base_a238d3ac9b92dd58739efd6afbe1b4bef}{position\+\_\+set} (int x\+\_\+, int y\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Move the given Evas object to the given location inside its canvas\textquotesingle{} viewport. \end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1gfx_1_1base_a36e3b2657b5c53eb56e9abdb4ce20b9f}{size\+\_\+get} (int $\ast$w\+\_\+, int $\ast$h\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Retrieves the (rectangular) size of the given Evas object. \end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1gfx_1_1base_a4ea3e638e145838346f310ab4a140321}{size\+\_\+set} (int w\+\_\+, int h\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Changes the size of the given Evas object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Basic_ga63e70dc60b30dec1a00032c54b63b1e5}{color\+\_\+get} (int $\ast$r\+\_\+, int $\ast$g\+\_\+, int $\ast$b\+\_\+, int $\ast$a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Retrieves the general/main color of the given Evas object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Basic_ga0d5066902ae4e5484755921154e4a84c}{color\+\_\+set} (int r\+\_\+, int g\+\_\+, int b\+\_\+, int a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Sets the general/main color of the given Evas object to the given one. \end{DoxyCompactList}\item 
bool \hyperlink{structefl_1_1gfx_1_1base_aff9ccfc76f8f7ab1273a31de61c82545}{color\+\_\+part\+\_\+get} (\+::\hyperlink{classefl_1_1eina_1_1basic__string__view}{efl\+::eina\+::string\+\_\+view} part\+\_\+, int $\ast$r\+\_\+, int $\ast$g\+\_\+, int $\ast$b\+\_\+, int $\ast$a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Retrieves a specific color of the given Evas object. \end{DoxyCompactList}\item 
bool \hyperlink{structefl_1_1gfx_1_1base_a96be6cd835bfbd3e1992f2f6faffbe9b}{color\+\_\+part\+\_\+set} (\+::\hyperlink{classefl_1_1eina_1_1basic__string__view}{efl\+::eina\+::string\+\_\+view} part\+\_\+, int r\+\_\+, int g\+\_\+, int b\+\_\+, int a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Sets a specifc color of the given Efl.\+Gfx.\+Base object to the given one. \end{DoxyCompactList}\item 
bool \hyperlink{structefl_1_1gfx_1_1base_adaf91400018d6f93fa09519948d75a79}{visible\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Retrieves whether or not the given Evas object is visible. \end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1gfx_1_1base_a41795fc9da25d27c5093de3c14351116}{visible\+\_\+set} (bool v\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Makes the given Evas object visible or invisible. \end{DoxyCompactList}\end{DoxyCompactItemize}
{\bf }\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{structefl_1_1gfx_1_1base_a9ca6c1fb8a2d9639ab67d1e4a210aa6f}{base} (\+::\hyperlink{structefl_1_1eo_1_1parent__type}{efl\+::eo\+::parent\+\_\+type} \+\_\+p)
\begin{DoxyCompactList}\small\item\em Constructs a new \hyperlink{structefl_1_1gfx_1_1base}{efl\+::gfx\+::base} object. \end{DoxyCompactList}\end{DoxyCompactItemize}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structefl_1_1gfx_1_1base_aaebda4469d6e85c5d33dddf67f27c94b}{}static \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\+\_\+\+Class} const $\ast$ {\bfseries \+\_\+eo\+\_\+class} ()\label{structefl_1_1gfx_1_1base_aaebda4469d6e85c5d33dddf67f27c94b}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Class base. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{structefl_1_1gfx_1_1base_a9ca6c1fb8a2d9639ab67d1e4a210aa6f}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!base@{base}}
\index{base@{base}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{base}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::gfx\+::base\+::base (
\begin{DoxyParamCaption}
\item[{\+::{\bf efl\+::eo\+::parent\+\_\+type}}]{\+\_\+p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structefl_1_1gfx_1_1base_a9ca6c1fb8a2d9639ab67d1e4a210aa6f}


Constructs a new \hyperlink{structefl_1_1gfx_1_1base}{efl\+::gfx\+::base} object. 

Constructs a new \hyperlink{structefl_1_1gfx_1_1base}{efl\+::gfx\+::base} object. If you want this object to be a child of another Eo object, use an efl\+::eo\+::parent expression, like the example.

Example\+: 
\begin{DoxyCode}
\hyperlink{structefl_1_1gfx_1_1base}{efl::gfx::base} my\_base(\hyperlink{group__Efl__Cxx__API_ga9a67daec890c873d3df9cf33b2ddd187}{efl::eo::parent} = parent\_object);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{structefl_1_1gfx_1_1base_ac5696aa43e743a2aa861cd14359649a5}{base(\+Eo$\ast$ eo)} 
\end{DoxySeeAlso}
\hypertarget{structefl_1_1gfx_1_1base_ac5696aa43e743a2aa861cd14359649a5}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!base@{base}}
\index{base@{base}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{base}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::gfx\+::base\+::base (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{eo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structefl_1_1gfx_1_1base_ac5696aa43e743a2aa861cd14359649a5}


Eo Constructor. 

Constructs the object from an Eo$\ast$ pointer stealing its ownership.


\begin{DoxyParams}{Parameters}
{\em eo} & The Eo object pointer. \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_a3e714eab484e7031b2fa309599e75e0e}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!base@{base}}
\index{base@{base}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{base}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::gfx\+::base\+::base (
\begin{DoxyParamCaption}
\item[{std\+::nullptr\+\_\+t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structefl_1_1gfx_1_1base_a3e714eab484e7031b2fa309599e75e0e}


nullptr\+\_\+t Constructor. 

Constructs an empty (null) object. 

\subsection{Member Function Documentation}
\hypertarget{structefl_1_1gfx_1_1base_aec20779cd4cfee638eabf3c72033a1c8}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!position\+\_\+get@{position\+\_\+get}}
\index{position\+\_\+get@{position\+\_\+get}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{position\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::gfx\+::base\+::position\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{x\+\_\+, }
\item[{int $\ast$}]{y\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_aec20779cd4cfee638eabf3c72033a1c8}


Retrieves the position of the given Evas object. 


\begin{DoxyParams}{Parameters}
{\em x} & in \\
\hline
{\em y} & in \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_a238d3ac9b92dd58739efd6afbe1b4bef}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!position\+\_\+set@{position\+\_\+set}}
\index{position\+\_\+set@{position\+\_\+set}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{position\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::gfx\+::base\+::position\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{x\+\_\+, }
\item[{int}]{y\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_a238d3ac9b92dd58739efd6afbe1b4bef}


Move the given Evas object to the given location inside its canvas\textquotesingle{} viewport. 


\begin{DoxyParams}{Parameters}
{\em x} & in \\
\hline
{\em y} & in \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_a36e3b2657b5c53eb56e9abdb4ce20b9f}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!size\+\_\+get@{size\+\_\+get}}
\index{size\+\_\+get@{size\+\_\+get}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::gfx\+::base\+::size\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{w\+\_\+, }
\item[{int $\ast$}]{h\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_a36e3b2657b5c53eb56e9abdb4ce20b9f}


Retrieves the (rectangular) size of the given Evas object. 


\begin{DoxyParams}{Parameters}
{\em w} & in \\
\hline
{\em h} & in \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_a4ea3e638e145838346f310ab4a140321}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!size\+\_\+set@{size\+\_\+set}}
\index{size\+\_\+set@{size\+\_\+set}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{size\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::gfx\+::base\+::size\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{w\+\_\+, }
\item[{int}]{h\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_a4ea3e638e145838346f310ab4a140321}


Changes the size of the given Evas object. 


\begin{DoxyParams}{Parameters}
{\em w} & in \\
\hline
{\em h} & in \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_aff9ccfc76f8f7ab1273a31de61c82545}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!color\+\_\+part\+\_\+get@{color\+\_\+part\+\_\+get}}
\index{color\+\_\+part\+\_\+get@{color\+\_\+part\+\_\+get}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{color\+\_\+part\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool efl\+::gfx\+::base\+::color\+\_\+part\+\_\+get (
\begin{DoxyParamCaption}
\item[{\+::{\bf efl\+::eina\+::string\+\_\+view}}]{part\+\_\+, }
\item[{int $\ast$}]{r\+\_\+, }
\item[{int $\ast$}]{g\+\_\+, }
\item[{int $\ast$}]{b\+\_\+, }
\item[{int $\ast$}]{a\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_aff9ccfc76f8f7ab1273a31de61c82545}


Retrieves a specific color of the given Evas object. 

Retrieves a specific color\textquotesingle{}s R\+G\+B component (and alpha channel) values, {\bfseries which range from 0 to 255}. For the alpha channel, which defines the object\textquotesingle{}s transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.

The “main“ color being mapped to {\ttfamily N\+U\+L\+L}.

Usually you’ll use this attribute for text and rectangle objects, where the “main” color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.

\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+L\+L} pointers on the components you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em r} & The red component of the given color. \\
\hline
{\em g} & The green component of the given color. \\
\hline
{\em b} & The blue component of the given color. \\
\hline
{\em a} & The alpha component of the given color. \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_a96be6cd835bfbd3e1992f2f6faffbe9b}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!color\+\_\+part\+\_\+set@{color\+\_\+part\+\_\+set}}
\index{color\+\_\+part\+\_\+set@{color\+\_\+part\+\_\+set}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{color\+\_\+part\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool efl\+::gfx\+::base\+::color\+\_\+part\+\_\+set (
\begin{DoxyParamCaption}
\item[{\+::{\bf efl\+::eina\+::string\+\_\+view}}]{part\+\_\+, }
\item[{int}]{r\+\_\+, }
\item[{int}]{g\+\_\+, }
\item[{int}]{b\+\_\+, }
\item[{int}]{a\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_a96be6cd835bfbd3e1992f2f6faffbe9b}


Sets a specifc color of the given Efl.\+Gfx.\+Base object to the given one. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Object__Group__Basic_ga0854bae878bfc39f51b9c989353c973f}{evas\+\_\+object\+\_\+color\+\_\+get()} (for an example) 
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
These color values are expected to be premultiplied by {\ttfamily a}.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em r} & The red component of the given color. \\
\hline
{\em g} & The green component of the given color. \\
\hline
{\em b} & The blue component of the given color. \\
\hline
{\em a} & The alpha component of the given color. \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_adaf91400018d6f93fa09519948d75a79}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!visible\+\_\+get@{visible\+\_\+get}}
\index{visible\+\_\+get@{visible\+\_\+get}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{visible\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool efl\+::gfx\+::base\+::visible\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_adaf91400018d6f93fa09519948d75a79}


Retrieves whether or not the given Evas object is visible. 


\begin{DoxyParams}{Parameters}
{\em v} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if to make the object visible, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1gfx_1_1base_a41795fc9da25d27c5093de3c14351116}{}\index{efl\+::gfx\+::base@{efl\+::gfx\+::base}!visible\+\_\+set@{visible\+\_\+set}}
\index{visible\+\_\+set@{visible\+\_\+set}!efl\+::gfx\+::base@{efl\+::gfx\+::base}}
\subsubsection[{visible\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::gfx\+::base\+::visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{v\+\_\+}
\end{DoxyParamCaption}
) const}\label{structefl_1_1gfx_1_1base_a41795fc9da25d27c5093de3c14351116}


Makes the given Evas object visible or invisible. 


\begin{DoxyParams}{Parameters}
{\em v} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if to make the object visible, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise \\
\hline
\end{DoxyParams}
