\hypertarget{group__Evas__Object__Text}{}\section{Text Object Functions}
\label{group__Evas__Object__Text}\index{Text Object Functions@{Text Object Functions}}


Functions that operate on single line, single style text objects.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Evas__Object__Text_ga5511e80a76d8079e069a133d79938eda}\label{group__Evas__Object__Text_ga5511e80a76d8079e069a133d79938eda}} 
\#define {\bfseries E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+M\+A\+S\+K\+\_\+\+B\+A\+S\+IC}~0xf
\item 
\#define \mbox{\hyperlink{group__Evas__Object__Text_ga15e082dff2a1ec389c0cbbe7512f9a10}{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET}}(x,  s)~do \{ x = ((x) \& $\sim$E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+M\+A\+S\+K\+\_\+\+B\+A\+S\+IC) $\vert$ (s); \} while (0)
\begin{DoxyCompactList}\small\item\em Text style type creation macro. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Evas__Object__Text_gaed21e4625d3ba9ae888db73fa110b340}\label{group__Evas__Object__Text_gaed21e4625d3ba9ae888db73fa110b340}} 
\#define {\bfseries E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+M\+A\+S\+K\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+ON}~(0x7 $<$$<$ 4)
\item 
\#define \mbox{\hyperlink{group__Evas__Object__Text_ga60d68719291d9889a679bece55abb39b}{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET}}(x,  s)~do \{ x = ((x) \& $\sim$E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+M\+A\+S\+K\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+ON) $\vert$ (s); \} while (0)
\begin{DoxyCompactList}\small\item\em Text style type creation macro. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Evas__Object__Text_ga72224822cf1772ef16b1554f0a6205d5}{evas\+\_\+object\+\_\+text\+\_\+add}} (\mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} $\ast$e)
\begin{DoxyCompactList}\small\item\em Creates a new text object on the provided canvas. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that operate on single line, single style text objects. 

For multiline and multiple style text, see \mbox{\hyperlink{group__Evas__Object__Textblock}{Textblock Object Functions}}.

See some \mbox{\hyperlink{Example_Evas_Text}{examples}} on this group of functions.

\begin{DoxyWarning}{Warning}
We don\textquotesingle{}t guarantee any proper results if you create a Text object without setting the evas engine. 
\end{DoxyWarning}


\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Evas__Object__Text_ga15e082dff2a1ec389c0cbbe7512f9a10}\label{group__Evas__Object__Text_ga15e082dff2a1ec389c0cbbe7512f9a10}} 
\index{Text Object Functions@{Text Object Functions}!E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET@{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET}}
\index{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET@{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET}!Text Object Functions@{Text Object Functions}}
\subsubsection{\texorpdfstring{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET}{EVAS\_TEXT\_STYLE\_BASIC\_SET}}
{\footnotesize\ttfamily \#define E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+B\+A\+S\+I\+C\+\_\+\+S\+ET(\begin{DoxyParamCaption}\item[{}]{x,  }\item[{}]{s }\end{DoxyParamCaption})~do \{ x = ((x) \& $\sim$E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+M\+A\+S\+K\+\_\+\+B\+A\+S\+IC) $\vert$ (s); \} while (0)}



Text style type creation macro. 

Use style types on the \textquotesingle{}s\textquotesingle{} arguments, being \textquotesingle{}x\textquotesingle{} your style variable. \mbox{\Hypertarget{group__Evas__Object__Text_ga60d68719291d9889a679bece55abb39b}\label{group__Evas__Object__Text_ga60d68719291d9889a679bece55abb39b}} 
\index{Text Object Functions@{Text Object Functions}!E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET@{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET}}
\index{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET@{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET}!Text Object Functions@{Text Object Functions}}
\subsubsection{\texorpdfstring{E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET}{EVAS\_TEXT\_STYLE\_SHADOW\_DIRECTION\_SET}}
{\footnotesize\ttfamily \#define E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+\+S\+ET(\begin{DoxyParamCaption}\item[{}]{x,  }\item[{}]{s }\end{DoxyParamCaption})~do \{ x = ((x) \& $\sim$E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+M\+A\+S\+K\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+ON) $\vert$ (s); \} while (0)}



Text style type creation macro. 

This one will impose shadow directions on the style type variable -- use the {\ttfamily E\+V\+A\+S\+\_\+\+T\+E\+X\+T\+\_\+\+S\+T\+Y\+L\+E\+\_\+\+S\+H\+A\+D\+O\+W\+\_\+\+D\+I\+R\+E\+C\+T\+I\+O\+N\+\_\+$\ast$} values on \textquotesingle{}s\textquotesingle{}, incrementally. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Evas__Object__Text_ga72224822cf1772ef16b1554f0a6205d5}\label{group__Evas__Object__Text_ga72224822cf1772ef16b1554f0a6205d5}} 
\index{Text Object Functions@{Text Object Functions}!evas\+\_\+object\+\_\+text\+\_\+add@{evas\+\_\+object\+\_\+text\+\_\+add}}
\index{evas\+\_\+object\+\_\+text\+\_\+add@{evas\+\_\+object\+\_\+text\+\_\+add}!Text Object Functions@{Text Object Functions}}
\subsubsection{\texorpdfstring{evas\+\_\+object\+\_\+text\+\_\+add()}{evas\_object\_text\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ evas\+\_\+object\+\_\+text\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} $\ast$}]{e }\end{DoxyParamCaption})}



Creates a new text object on the provided canvas. 


\begin{DoxyParams}{Parameters}
{\em e} & The canvas to create the text object on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily N\+U\+LL} on error, a pointer to a new text object on success.
\end{DoxyReturn}
Text objects are for simple, single line text elements. If you want more elaborated text blocks, see \mbox{\hyperlink{group__Evas__Object__Textblock}{Textblock Object Functions}}.

\begin{DoxySeeAlso}{See also}
evas\+\_\+object\+\_\+text\+\_\+font\+\_\+source\+\_\+set() 

evas\+\_\+object\+\_\+text\+\_\+font\+\_\+set() 

evas\+\_\+object\+\_\+text\+\_\+text\+\_\+set() 
\end{DoxySeeAlso}


References efl\+\_\+add.

