\hypertarget{group__Edje__Object__Scale}{}\doxysection{Edje Scale}
\label{group__Edje__Object__Scale}\index{Edje Scale@{Edje Scale}}


Functions that deal with scaling objects.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}{edje\+\_\+scale\+\_\+set}} (double scale)
\begin{DoxyCompactList}\small\item\em Sets Edje\textquotesingle{}s global scaling factor. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}{edje\+\_\+scale\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves Edje\textquotesingle{}s global scaling factor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}{edje\+\_\+object\+\_\+scale\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, double scale)
\begin{DoxyCompactList}\small\item\em Sets the scaling factor for a given Edje object. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}{edje\+\_\+object\+\_\+scale\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Gets a given Edje object\textquotesingle{}s scaling factor. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Edje__Object__Scale_gabd514fd1cd804826ad73ef4cd64588d1}{edje\+\_\+object\+\_\+base\+\_\+scale\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Gets a given Edje object\textquotesingle{}s base\+\_\+scale factor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions that deal with scaling objects. 

Edje allows one to build scalable interfaces. Scaling factors, which are set to neutral ({\ttfamily 1.\+0}) values by default (no scaling, actual sizes), are of two types\+: {\bfseries{global}} and {\bfseries{individual}}.

Scaling affects the values of minimum/maximum {\bfseries{part}} sizes, which are {\bfseries{multiplied}} by it. Font sizes are scaled, too. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}\label{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}} 
\index{Edje Scale@{Edje Scale}!edje\_scale\_set@{edje\_scale\_set}}
\index{edje\_scale\_set@{edje\_scale\_set}!Edje Scale@{Edje Scale}}
\doxysubsubsection{\texorpdfstring{edje\_scale\_set()}{edje\_scale\_set()}}
{\footnotesize\ttfamily void edje\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{scale }\end{DoxyParamCaption})}



Sets Edje\textquotesingle{}s global scaling factor. 


\begin{DoxyParams}{Parameters}
{\em scale} & The global scaling factor (the default value is {\ttfamily 1.\+0})\\
\hline
\end{DoxyParams}
Edje\textquotesingle{}s global scaling factor will affect all its objects which hadn\textquotesingle{}t their individual scaling factors altered from the default value (which is zero). If they had it set differently, by \mbox{\hyperlink{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}{edje\+\_\+object\+\_\+scale\+\_\+set()}}, that factor will {\bfseries{override}} the global one.

\begin{DoxyWarning}{Warning}
Only parts which, at EDC level, had the {\ttfamily \char`\"{}scale\char`\"{}} property set to {\ttfamily 1}, will be affected by this function. Check the complete \mbox{\hyperlink{edcref}{syntax reference}} for EDC files.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}{edje\+\_\+scale\+\_\+get()}}. 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-basic_8c-example}{edje-\/basic.\+c}}.\end{Desc}


References edje\+\_\+object\+\_\+calc\+\_\+force(), and EINA\+\_\+\+INLIST\+\_\+\+FOREACH.

\mbox{\Hypertarget{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}\label{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}} 
\index{Edje Scale@{Edje Scale}!edje\_scale\_get@{edje\_scale\_get}}
\index{edje\_scale\_get@{edje\_scale\_get}!Edje Scale@{Edje Scale}}
\doxysubsubsection{\texorpdfstring{edje\_scale\_get()}{edje\_scale\_get()}}
{\footnotesize\ttfamily double edje\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves Edje\textquotesingle{}s global scaling factor. 

\begin{DoxyReturn}{Returns}
The global scaling factor.
\end{DoxyReturn}
This function returns Edje\textquotesingle{}s global scaling factor.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}{edje\+\_\+scale\+\_\+set()}} for more details 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-basic_8c-example}{edje-\/basic.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}\label{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}} 
\index{Edje Scale@{Edje Scale}!edje\_object\_scale\_set@{edje\_object\_scale\_set}}
\index{edje\_object\_scale\_set@{edje\_object\_scale\_set}!Edje Scale@{Edje Scale}}
\doxysubsubsection{\texorpdfstring{edje\_object\_scale\_set()}{edje\_object\_scale\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{double}]{scale }\end{DoxyParamCaption})}



Sets the scaling factor for a given Edje object. 

This function sets an individual scaling factor on the obj Edje object. This property (or Edje\textquotesingle{}s global scaling factor, when applicable), will affect this object\textquotesingle{}s part sizes. If scale is not zero, than the individual scaling will override any global scaling set, for the object obj\textquotesingle{}s parts. Put it back to zero to get the effects of the global scaling again.

\begin{DoxyWarning}{Warning}
Only parts which, at EDC level, had the "{}scale"{} property set to @1, will be affected by this function. Check the complete \mbox{\hyperlink{edcref}{syntax reference}} for EDC files.
\end{DoxyWarning}
See also \mbox{\hyperlink{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}{edje\+\_\+object\+\_\+scale\+\_\+get()}} \mbox{\hyperlink{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}{edje\+\_\+scale\+\_\+get()}} for more details


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em scale} & The scaling factor (the default value is @0.\+0, meaning individual scaling not set)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} on success, {\ttfamily false} otherwise 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}\label{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}} 
\index{Edje Scale@{Edje Scale}!edje\_object\_scale\_get@{edje\_object\_scale\_get}}
\index{edje\_object\_scale\_get@{edje\_object\_scale\_get}!Edje Scale@{Edje Scale}}
\doxysubsubsection{\texorpdfstring{edje\_object\_scale\_get()}{edje\_object\_scale\_get()}}
{\footnotesize\ttfamily double edje\+\_\+object\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Gets a given Edje object\textquotesingle{}s scaling factor. 

This function returns the individual scaling factor set on the obj Edje object.

See also \mbox{\hyperlink{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}{edje\+\_\+object\+\_\+scale\+\_\+set()}} for more details

\begin{DoxyReturn}{Returns}
The scaling factor (the default value is @0.\+0, meaning individual scaling not set) 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Edje__Object__Scale_gabd514fd1cd804826ad73ef4cd64588d1}\label{group__Edje__Object__Scale_gabd514fd1cd804826ad73ef4cd64588d1}} 
\index{Edje Scale@{Edje Scale}!edje\_object\_base\_scale\_get@{edje\_object\_base\_scale\_get}}
\index{edje\_object\_base\_scale\_get@{edje\_object\_base\_scale\_get}!Edje Scale@{Edje Scale}}
\doxysubsubsection{\texorpdfstring{edje\_object\_base\_scale\_get()}{edje\_object\_base\_scale\_get()}}
{\footnotesize\ttfamily double edje\+\_\+object\+\_\+base\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Gets a given Edje object\textquotesingle{}s base\+\_\+scale factor. 

This function returns the base\+\_\+scale factor set on the obj Edje object. The base\+\_\+scale can be set in the collection of edc. If it isn\textquotesingle{}t set, the default value is 1.\+0

\begin{DoxyReturn}{Returns}
The base\+\_\+scale factor (the default value is @ 1.\+0, that means the edc file is made based on scale 1.\+0. 
\end{DoxyReturn}
