\section{Widget Scaling}
\label{group__Scaling}\index{Widget Scaling@{Widget Scaling}}


Different widgets can be scaled independently.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{group__Scaling_gac3093b4d226be788c6a98618275c657e}{elm\+\_\+config\+\_\+scale\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the global scaling factor. \end{DoxyCompactList}\item 
void \hyperlink{group__Scaling_ga6f37a2609d6a4559122ad54e69c63814}{elm\+\_\+config\+\_\+scale\+\_\+set} (double scale)
\begin{DoxyCompactList}\small\item\em Set the global scaling factor. \end{DoxyCompactList}\item 
void \hyperlink{group__Scaling_ga1606f51f88c4d0b58544d36225420a37}{elm\+\_\+object\+\_\+scale\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, double scale)
\begin{DoxyCompactList}\small\item\em Set the scaling factor for a given Elementary object. \end{DoxyCompactList}\item 
double \hyperlink{group__Scaling_ga0affbdc85f2d9dd33a16f6ac03aba7b8}{elm\+\_\+object\+\_\+scale\+\_\+get} (const 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.

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

\subsection{Function Documentation}
\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(void)}{elm_config_scale_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+config\+\_\+scale\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Scaling_gac3093b4d226be788c6a98618275c657e}


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}


Referenced by elm\+\_\+progressbar\+\_\+add(), elm\+\_\+toolbar\+\_\+add(), and elm\+\_\+win\+\_\+render().

\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(double scale)}{elm_config_scale_set(double scale)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+config\+\_\+scale\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{scale}
\end{DoxyParamCaption}
)}\label{group__Scaling_ga6f37a2609d6a4559122ad54e69c63814}


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}
\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(const Evas\+\_\+\+Object $\ast$obj)}{elm_object_scale_get(const Evas_Object *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+object\+\_\+scale\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Scaling_ga0affbdc85f2d9dd33a16f6ac03aba7b8}


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 \hyperlink{group__Scaling_ga1606f51f88c4d0b58544d36225420a37}{elm\+\_\+object\+\_\+scale\+\_\+set()} 
\end{DoxyReturn}


Referenced by elm\+\_\+panel\+\_\+add().

\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(\+Evas\+\_\+\+Object $\ast$obj, double scale)}{elm_object_scale_set(Evas_Object *obj, double scale)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+object\+\_\+scale\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double}]{scale}
\end{DoxyParamCaption}
)}\label{group__Scaling_ga1606f51f88c4d0b58544d36225420a37}


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}
