\hypertarget{group__Elm__Scaling}{}\section{Widget Scaling}
\label{group__Elm__Scaling}\index{Widget Scaling@{Widget Scaling}}


Different widgets can be scaled independently.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \mbox{\hyperlink{group__Elm__Scaling_gac3093b4d226be788c6a98618275c657e}{elm\+\_\+config\+\_\+scale\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the global scaling factor. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Scaling_ga6f37a2609d6a4559122ad54e69c63814}{elm\+\_\+config\+\_\+scale\+\_\+set}} (double scale)
\begin{DoxyCompactList}\small\item\em Set the global scaling factor. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Scaling_ga1606f51f88c4d0b58544d36225420a37}{elm\+\_\+object\+\_\+scale\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, double scale)
\begin{DoxyCompactList}\small\item\em Set the scaling factor for a given Elementary object. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Elm__Scaling_ga0affbdc85f2d9dd33a16f6ac03aba7b8}{elm\+\_\+object\+\_\+scale\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the scaling factor for a given Elementary object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Different widgets can be scaled independently. 

These functions allow you to manipulate this scaling on a per-\/widget basis. The object and all its children get their scaling factors multiplied by the scale factor set. This is multiplicative, in that if a child also has a scale size set it is in turn multiplied by its parent\textquotesingle{}s scale size. {\ttfamily 1.\+0} means “don\textquotesingle{}t scale”, {\ttfamily 2.\+0} is double size, {\ttfamily 0.\+5} is half, etc.

This example contemplates some of these functions. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Scaling_gac3093b4d226be788c6a98618275c657e}\label{group__Elm__Scaling_gac3093b4d226be788c6a98618275c657e}} 
\index{Widget Scaling@{Widget Scaling}!elm\+\_\+config\+\_\+scale\+\_\+get@{elm\+\_\+config\+\_\+scale\+\_\+get}}
\index{elm\+\_\+config\+\_\+scale\+\_\+get@{elm\+\_\+config\+\_\+scale\+\_\+get}!Widget Scaling@{Widget Scaling}}
\subsubsection{\texorpdfstring{elm\+\_\+config\+\_\+scale\+\_\+get()}{elm\_config\_scale\_get()}}
{\footnotesize\ttfamily double elm\+\_\+config\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the global scaling factor. 

This gets the globally configured scaling factor that is applied to all objects.

\begin{DoxyReturn}{Returns}
The scaling factor 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Scaling_ga6f37a2609d6a4559122ad54e69c63814}\label{group__Elm__Scaling_ga6f37a2609d6a4559122ad54e69c63814}} 
\index{Widget Scaling@{Widget Scaling}!elm\+\_\+config\+\_\+scale\+\_\+set@{elm\+\_\+config\+\_\+scale\+\_\+set}}
\index{elm\+\_\+config\+\_\+scale\+\_\+set@{elm\+\_\+config\+\_\+scale\+\_\+set}!Widget Scaling@{Widget Scaling}}
\subsubsection{\texorpdfstring{elm\+\_\+config\+\_\+scale\+\_\+set()}{elm\_config\_scale\_set()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{scale }\end{DoxyParamCaption})}



Set the global scaling factor. 

This sets the globally configured scaling factor that is applied to all objects.


\begin{DoxyParams}{Parameters}
{\em scale} & The scaling factor to set \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Scaling_ga1606f51f88c4d0b58544d36225420a37}\label{group__Elm__Scaling_ga1606f51f88c4d0b58544d36225420a37}} 
\index{Widget Scaling@{Widget Scaling}!elm\+\_\+object\+\_\+scale\+\_\+set@{elm\+\_\+object\+\_\+scale\+\_\+set}}
\index{elm\+\_\+object\+\_\+scale\+\_\+set@{elm\+\_\+object\+\_\+scale\+\_\+set}!Widget Scaling@{Widget Scaling}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+scale\+\_\+set()}{elm\_object\_scale\_set()}}
{\footnotesize\ttfamily void elm\+\_\+object\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{double}]{scale }\end{DoxyParamCaption})}



Set the scaling factor for a given Elementary object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Elementary to operate on \\
\hline
{\em scale} & Scale factor (from {\ttfamily 0.\+0} up, with {\ttfamily 1.\+0} meaning no scaling) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Scaling_ga0affbdc85f2d9dd33a16f6ac03aba7b8}\label{group__Elm__Scaling_ga0affbdc85f2d9dd33a16f6ac03aba7b8}} 
\index{Widget Scaling@{Widget Scaling}!elm\+\_\+object\+\_\+scale\+\_\+get@{elm\+\_\+object\+\_\+scale\+\_\+get}}
\index{elm\+\_\+object\+\_\+scale\+\_\+get@{elm\+\_\+object\+\_\+scale\+\_\+get}!Widget Scaling@{Widget Scaling}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+scale\+\_\+get()}{elm\_object\_scale\_get()}}
{\footnotesize\ttfamily double elm\+\_\+object\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the scaling factor for a given Elementary object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The scaling factor set by \mbox{\hyperlink{group__Elm__Scaling_ga1606f51f88c4d0b58544d36225420a37}{elm\+\_\+object\+\_\+scale\+\_\+set()}} 
\end{DoxyReturn}
