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


Different widgets can be scaled independently.  


\doxysubsection*{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 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} void \mbox{\hyperlink{group__Elm__Scaling_gaa880e269df13bae603bc1e1172bddb8f}{elm\+\_\+scale\+\_\+all\+\_\+set}} (double scale)
\begin{DoxyCompactList}\small\item\em Set the global scaling factor for all applications on the display. \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}


\doxysubsection{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.

\mbox{\hyperlink{general_functions_example_page}{This}} example contemplates some of these functions. 

\doxysubsection{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}}
\doxysubsubsection{\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}}
\doxysubsubsection{\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}


References \mbox{\hyperlink{group__Eina__Tools__Group_ga6bee37244b675b83d6a4f044a7a3d1e8}{EINA\+\_\+\+DBL\+\_\+\+EQ}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Elm__Scaling_gaa880e269df13bae603bc1e1172bddb8f}\label{group__Elm__Scaling_gaa880e269df13bae603bc1e1172bddb8f}} 
\index{Widget Scaling@{Widget Scaling}!elm\_scale\_all\_set@{elm\_scale\_all\_set}}
\index{elm\_scale\_all\_set@{elm\_scale\_all\_set}!Widget Scaling@{Widget Scaling}}
\doxysubsubsection{\texorpdfstring{elm\_scale\_all\_set()}{elm\_scale\_all\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} void elm\+\_\+scale\+\_\+all\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{scale }\end{DoxyParamCaption})}



Set the global scaling factor for all applications on the display. 

This sets the globally configured scaling factor that is applied to all objects for all applications. 
\begin{DoxyParams}{Parameters}
{\em scale} & The scaling factor to set\\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000199}{Deprecated}}]use elm\+\_\+scale\+\_\+set() and \mbox{\hyperlink{group__Elm__Config_ga2906ee30d3976ab4917b3287eecdd526}{elm\+\_\+config\+\_\+all\+\_\+flush()}} \end{DoxyRefDesc}
\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}}
\doxysubsubsection{\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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\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}}
\doxysubsubsection{\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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

