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


Functions that deal with scaling objects.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}{edje\-\_\-scale\-\_\-set} (double scale)
\begin{DoxyCompactList}\small\item\em Set Edje's global scaling factor. \end{DoxyCompactList}\item 
double \hyperlink{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}{edje\-\_\-scale\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Retrieve Edje's global scaling factor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Edje__Object__Scale_gaee2eeadf9c0ddbd6e1498d056f01fdb0}{edje\-\_\-obj\-\_\-scale\-\_\-set}(scale, ret)~E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-C\-A\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, scale), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Set the scaling factor for a given Edje object. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Edje__Object__Scale_ga9701489aae327cbed71d6322f4a47c10}{edje\-\_\-obj\-\_\-scale\-\_\-get}(ret)~E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-C\-A\-L\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get a given Edje object's scaling factor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}{edje\-\_\-object\-\_\-scale\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, double scale)
\begin{DoxyCompactList}\small\item\em Set the scaling factor for a given Edje object. \end{DoxyCompactList}\item 
double \hyperlink{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}{edje\-\_\-object\-\_\-scale\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a given Edje object's scaling factor. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

\subsection{Macro Definition Documentation}
\hypertarget{group__Edje__Object__Scale_gaee2eeadf9c0ddbd6e1498d056f01fdb0}{\index{Edje Scale@{Edje Scale}!edje\-\_\-obj\-\_\-scale\-\_\-set@{edje\-\_\-obj\-\_\-scale\-\_\-set}}
\index{edje\-\_\-obj\-\_\-scale\-\_\-set@{edje\-\_\-obj\-\_\-scale\-\_\-set}!Edje Scale@{Edje Scale}}
\subsubsection[{edje\-\_\-obj\-\_\-scale\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define edje\-\_\-obj\-\_\-scale\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{scale, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-C\-A\-L\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, scale), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Eina\-\_\-\-Bool} $\ast$, ret)}}\label{group__Edje__Object__Scale_gaee2eeadf9c0ddbd6e1498d056f01fdb0}


Set the scaling factor for a given Edje object. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em scale} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}{edje\-\_\-object\-\_\-scale\-\_\-set} 
\end{DoxySeeAlso}


Referenced by edje\-\_\-object\-\_\-scale\-\_\-set().

\hypertarget{group__Edje__Object__Scale_ga9701489aae327cbed71d6322f4a47c10}{\index{Edje Scale@{Edje Scale}!edje\-\_\-obj\-\_\-scale\-\_\-get@{edje\-\_\-obj\-\_\-scale\-\_\-get}}
\index{edje\-\_\-obj\-\_\-scale\-\_\-get@{edje\-\_\-obj\-\_\-scale\-\_\-get}!Edje Scale@{Edje Scale}}
\subsubsection[{edje\-\_\-obj\-\_\-scale\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define edje\-\_\-obj\-\_\-scale\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-D\-J\-E\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-C\-A\-L\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, ret)}}\label{group__Edje__Object__Scale_ga9701489aae327cbed71d6322f4a47c10}


Get a given Edje object's scaling factor. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}{edje\-\_\-object\-\_\-scale\-\_\-get} 
\end{DoxySeeAlso}


Referenced by edje\-\_\-object\-\_\-scale\-\_\-get().



\subsection{Function Documentation}
\hypertarget{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}}
\subsubsection[{edje\-\_\-scale\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void edje\-\_\-scale\-\_\-set (
\begin{DoxyParamCaption}
\item[{double}]{scale}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}


Set Edje's global scaling factor. 


\begin{DoxyParams}{Parameters}
{\em scale} & The global scaling factor (the default value is {\ttfamily 1.\-0})\\
\hline
\end{DoxyParams}
Edje's global scaling factor will affect all its objects which hadn't their individual scaling factors altered from the default value (which is zero). If they had it set differently, by \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 E\-D\-C level, had the {\ttfamily \char`\"{}scale\char`\"{}} property set to {\ttfamily 1}, will be affected by this function. Check the complete \hyperlink{edcref}{syntax reference} for E\-D\-C files.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}{edje\-\_\-scale\-\_\-get()}. 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{edje-basic_8c-example}{edje-\/basic.\-c}.\end{Desc}


References edje\-\_\-object\-\_\-calc\-\_\-force(), and E\-I\-N\-A\-\_\-\-L\-I\-S\-T\-\_\-\-F\-O\-R\-E\-A\-C\-H.

\hypertarget{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}}
\subsubsection[{edje\-\_\-scale\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}double edje\-\_\-scale\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}


Retrieve Edje's global scaling factor. 

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

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Edje__Object__Scale_gadfb6850eece96768a651702b0a7535fb}{edje\-\_\-scale\-\_\-set()} for more details 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{edje-basic_8c-example}{edje-\/basic.\-c}.\end{Desc}
\hypertarget{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}}
\subsubsection[{edje\-\_\-object\-\_\-scale\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} edje\-\_\-object\-\_\-scale\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{double}]{scale}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}


Set the scaling factor for a given Edje object. 


\begin{DoxyParams}{Parameters}
{\em obj} & A handle to an Edje object \\
\hline
{\em scale} & The scaling factor (the default value is {\ttfamily 0.\-0}, meaning individual scaling {\bfseries not} set)\\
\hline
\end{DoxyParams}
This function sets an {\bfseries individual} scaling factor on the {\itshape obj} Edje object. This property (or Edje's global scaling factor, when applicable), will affect this object's part sizes. If {\ttfamily scale} is not zero, than the individual scaling will {\bfseries override} any global scaling set, for the object {\ttfamily obj's} parts. Put it back to zero to get the effects of the global scaling again.

\begin{DoxyWarning}{Warning}
Only parts which, at E\-D\-C level, had the {\ttfamily \char`\"{}scale\char`\"{}} property set to {\ttfamily 1}, will be affected by this function. Check the complete \hyperlink{edcref}{syntax reference} for E\-D\-C files.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}{edje\-\_\-object\-\_\-scale\-\_\-get()} 

\hyperlink{group__Edje__Object__Scale_ga481c3d35b55207c2536872e1d3e235cf}{edje\-\_\-scale\-\_\-get()} for more details 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{edje-basic_8c-example}{edje-\/basic.\-c}.\end{Desc}


References edje\-\_\-obj\-\_\-scale\-\_\-set, and E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E.

\hypertarget{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}}
\subsubsection[{edje\-\_\-object\-\_\-scale\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}double edje\-\_\-object\-\_\-scale\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Edje__Object__Scale_ga0f4bf41cc9dcd8b2524aad08adbd23fb}


Get a given Edje object's scaling factor. 


\begin{DoxyParams}{Parameters}
{\em obj} & A handle to an Edje object\\
\hline
\end{DoxyParams}
This function returns the {\ttfamily individual} scaling factor set on the {\itshape obj} Edje object.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Edje__Object__Scale_ga9de0e4aa12e0e825ffa6890be99a4e49}{edje\-\_\-object\-\_\-scale\-\_\-set()} for more details 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{edje-basic_8c-example}{edje-\/basic.\-c}.\end{Desc}


References edje\-\_\-obj\-\_\-scale\-\_\-get.

