\hypertarget{group__Evas__Coord__Mapping__Group}{}\section{Coordinate Mapping Functions}
\label{group__Evas__Coord__Mapping__Group}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}}


Functions that are used to map coordinates from the canvas to the screen or the screen to the canvas.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I int \hyperlink{group__Evas__Coord__Mapping__Group_gacef64617fdde8681b11b8f42a4df720b}{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen} (\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} x)
\begin{DoxyCompactList}\small\item\em Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} \hyperlink{group__Evas__Coord__Mapping__Group_ga8100ce4cb4e050efac71a1cc301948b9}{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world} (int y)
\begin{DoxyCompactList}\small\item\em Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} \hyperlink{group__Evas__Coord__Mapping__Group_ga09a51424cf8e5f691b5a6e9e04c28bc4}{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world} (int x)
\begin{DoxyCompactList}\small\item\em Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I int \hyperlink{group__Evas__Coord__Mapping__Group_gac5cdc52283171e084d500e33ab29a94b}{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen} (\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} y)
\begin{DoxyCompactList}\small\item\em Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Coord__Mapping__Group_ga8384a51600b1f8bb27fbe8ab46a54e7e}{evas\+::canvas\+::coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen} (\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} x\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} \hyperlink{group__Evas__Coord__Mapping__Group_ga09a05347e7d3f33f0e35011c3d7aa7f8}{evas\+::canvas\+::coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world} (int y\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} \hyperlink{group__Evas__Coord__Mapping__Group_ga5392df5437d0c978f7091a71b62fccb9}{evas\+::canvas\+::coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world} (int x\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Coord__Mapping__Group_ga3f4ccbe1f7ece2b7746fb3c241688cdd}{evas\+::canvas\+::coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen} (\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} y\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Coord__Mapping__Group_ga02c70d88b236b1cda509334e5f4bac0e}{evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen} (const Evas\+\_\+\+Canvas $\ast$obj, \hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} x)
\begin{DoxyCompactList}\small\item\em Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} \hyperlink{group__Evas__Coord__Mapping__Group_gae36930942952bf294d914c94df97f899}{evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world} (const Evas\+\_\+\+Canvas $\ast$obj, int y)
\begin{DoxyCompactList}\small\item\em Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} \hyperlink{group__Evas__Coord__Mapping__Group_gaf9bda5c330f769b27301cb1d384dedfa}{evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world} (const Evas\+\_\+\+Canvas $\ast$obj, int x)
\begin{DoxyCompactList}\small\item\em Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Coord__Mapping__Group_ga39773755b5851d45f69547da64880e21}{evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen} (const Evas\+\_\+\+Canvas $\ast$obj, \hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord} y)
\begin{DoxyCompactList}\small\item\em Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that are used to map coordinates from the canvas to the screen or the screen to the canvas. 



\subsection{Function Documentation}
\hypertarget{group__Evas__Coord__Mapping__Group_gacef64617fdde8681b11b8f42a4df720b}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen@{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}}
\index{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen@{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I int evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Coord}}]{x}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_gacef64617fdde8681b11b8f42a4df720b}


Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The output/screen co-\/ordinate translated to output co-\/ordinates
\end{DoxyReturn}
This function takes in a horizontal co-\/ordinate as the {\ttfamily x} parameter and converts it into output units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 int screen\_x;
3 extern Evas\_Coord canvas\_x;
4 
5 screen\_x = evas\_coord\_world\_x\_to\_screen(evas, canvas\_x);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & The canvas x co-\/ordinate \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen().

\hypertarget{group__Evas__Coord__Mapping__Group_ga8100ce4cb4e050efac71a1cc301948b9}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world@{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}}
\index{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world@{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Evas\+\_\+\+Coord} evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world (
\begin{DoxyParamCaption}
\item[{int}]{y}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_ga8100ce4cb4e050efac71a1cc301948b9}


Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The screen co-\/ordinate translated to canvas unit co-\/ordinates
\end{DoxyReturn}
This function takes in a vertical co-\/ordinate as the {\ttfamily y} parameter and converts it into canvas units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 extern int screen\_y;
3 Evas\_Coord canvas\_y;
4 
5 canvas\_y = evas\_coord\_screen\_y\_to\_world(evas, screen\_y);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & The screen/output y co-\/ordinate \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world().

\hypertarget{group__Evas__Coord__Mapping__Group_ga09a51424cf8e5f691b5a6e9e04c28bc4}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world@{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}}
\index{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world@{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Evas\+\_\+\+Coord} evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world (
\begin{DoxyParamCaption}
\item[{int}]{x}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_ga09a51424cf8e5f691b5a6e9e04c28bc4}


Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The screen co-\/ordinate translated to canvas unit co-\/ordinates
\end{DoxyReturn}
This function takes in a horizontal co-\/ordinate as the {\ttfamily x} parameter and converts it into canvas units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 extern int screen\_x;
3 Evas\_Coord canvas\_x;
4 
5 canvas\_x = evas\_coord\_screen\_x\_to\_world(evas, screen\_x);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & The screen/output x co-\/ordinate \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world().

\hypertarget{group__Evas__Coord__Mapping__Group_gac5cdc52283171e084d500e33ab29a94b}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen@{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}}
\index{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen@{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I int evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Coord}}]{y}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_gac5cdc52283171e084d500e33ab29a94b}


Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The output/screen co-\/ordinate translated to output co-\/ordinates
\end{DoxyReturn}
This function takes in a vertical co-\/ordinate as the {\ttfamily x} parameter and converts it into output units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 int screen\_y;
3 extern Evas\_Coord canvas\_y;
4 
5 screen\_y = evas\_coord\_world\_y\_to\_screen(evas, canvas\_y);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & The canvas y co-\/ordinate \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen().

\hypertarget{group__Evas__Coord__Mapping__Group_ga8384a51600b1f8bb27fbe8ab46a54e7e}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen@{coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}}
\index{coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen@{coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}]{\setlength{\rightskip}{0pt plus 5cm}int evas\+::canvas\+::coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Coord}}]{x\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Coord__Mapping__Group_ga8384a51600b1f8bb27fbe8ab46a54e7e}


Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The output/screen co-\/ordinate translated to output co-\/ordinates
\end{DoxyReturn}
This function takes in a horizontal co-\/ordinate as the {\ttfamily x} parameter and converts it into output units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
\textcolor{keywordtype}{int} screen\_x;
\textcolor{keyword}{extern} \hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\_Coord} canvas\_x;

screen\_x = \hyperlink{group__Evas__Coord__Mapping__Group_ga02c70d88b236b1cda509334e5f4bac0e}{evas\_coord\_world\_x\_to\_screen}(evas, canvas\_x);
\end{DoxyCode}



\begin{DoxyParams}{Parameters}
{\em x} & The canvas x co-\/ordinate \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Coord__Mapping__Group_ga09a05347e7d3f33f0e35011c3d7aa7f8}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world@{coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}}
\index{coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world@{coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Coord} evas\+::canvas\+::coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world (
\begin{DoxyParamCaption}
\item[{int}]{y\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Coord__Mapping__Group_ga09a05347e7d3f33f0e35011c3d7aa7f8}


Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The screen co-\/ordinate translated to canvas unit co-\/ordinates
\end{DoxyReturn}
This function takes in a vertical co-\/ordinate as the {\ttfamily y} parameter and converts it into canvas units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
\textcolor{keyword}{extern} \textcolor{keywordtype}{int} screen\_y;
\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\_Coord} canvas\_y;

canvas\_y = \hyperlink{group__Evas__Coord__Mapping__Group_gae36930942952bf294d914c94df97f899}{evas\_coord\_screen\_y\_to\_world}(evas, screen\_y);
\end{DoxyCode}



\begin{DoxyParams}{Parameters}
{\em y} & The screen/output y co-\/ordinate \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Coord__Mapping__Group_ga5392df5437d0c978f7091a71b62fccb9}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world@{coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}}
\index{coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world@{coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Coord} evas\+::canvas\+::coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world (
\begin{DoxyParamCaption}
\item[{int}]{x\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Coord__Mapping__Group_ga5392df5437d0c978f7091a71b62fccb9}


Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The screen co-\/ordinate translated to canvas unit co-\/ordinates
\end{DoxyReturn}
This function takes in a horizontal co-\/ordinate as the {\ttfamily x} parameter and converts it into canvas units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
\textcolor{keyword}{extern} \textcolor{keywordtype}{int} screen\_x;
\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\_Coord} canvas\_x;

canvas\_x = \hyperlink{group__Evas__Coord__Mapping__Group_gaf9bda5c330f769b27301cb1d384dedfa}{evas\_coord\_screen\_x\_to\_world}(evas, screen\_x);
\end{DoxyCode}



\begin{DoxyParams}{Parameters}
{\em x} & The screen/output x co-\/ordinate \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Coord__Mapping__Group_ga3f4ccbe1f7ece2b7746fb3c241688cdd}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen@{coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}}
\index{coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen@{coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}]{\setlength{\rightskip}{0pt plus 5cm}int evas\+::canvas\+::coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Coord}}]{y\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Coord__Mapping__Group_ga3f4ccbe1f7ece2b7746fb3c241688cdd}


Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The output/screen co-\/ordinate translated to output co-\/ordinates
\end{DoxyReturn}
This function takes in a vertical co-\/ordinate as the {\ttfamily x} parameter and converts it into output units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
\textcolor{keyword}{extern} \hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} *evas;
\textcolor{keywordtype}{int} screen\_y;
\textcolor{keyword}{extern} \hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\_Coord} canvas\_y;

screen\_y = \hyperlink{group__Evas__Coord__Mapping__Group_ga39773755b5851d45f69547da64880e21}{evas\_coord\_world\_y\_to\_screen}(evas, canvas\_y);
\end{DoxyCode}



\begin{DoxyParams}{Parameters}
{\em y} & The canvas y co-\/ordinate \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Coord__Mapping__Group_ga02c70d88b236b1cda509334e5f4bac0e}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen@{evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}}
\index{evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen@{evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen}]{\setlength{\rightskip}{0pt plus 5cm}int evas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Canvas $\ast$}]{obj, }
\item[{{\bf Evas\+\_\+\+Coord}}]{x}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_ga02c70d88b236b1cda509334e5f4bac0e}


Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The output/screen co-\/ordinate translated to output co-\/ordinates
\end{DoxyReturn}
This function takes in a horizontal co-\/ordinate as the {\ttfamily x} parameter and converts it into output units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 int screen\_x;
3 extern Evas\_Coord canvas\_x;
4 
5 screen\_x = evas\_coord\_world\_x\_to\_screen(evas, canvas\_x);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & The canvas x co-\/ordinate \\
\hline
\end{DoxyParams}


References evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+x\+\_\+to\+\_\+screen().

\hypertarget{group__Evas__Coord__Mapping__Group_gae36930942952bf294d914c94df97f899}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world@{evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}}
\index{evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world@{evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Coord} evas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Canvas $\ast$}]{obj, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_gae36930942952bf294d914c94df97f899}


Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The screen co-\/ordinate translated to canvas unit co-\/ordinates
\end{DoxyReturn}
This function takes in a vertical co-\/ordinate as the {\ttfamily y} parameter and converts it into canvas units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 extern int screen\_y;
3 Evas\_Coord canvas\_y;
4 
5 canvas\_y = evas\_coord\_screen\_y\_to\_world(evas, screen\_y);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & The screen/output y co-\/ordinate \\
\hline
\end{DoxyParams}


References evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+y\+\_\+to\+\_\+world().

\hypertarget{group__Evas__Coord__Mapping__Group_gaf9bda5c330f769b27301cb1d384dedfa}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world@{evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}}
\index{evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world@{evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Coord} evas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Canvas $\ast$}]{obj, }
\item[{int}]{x}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_gaf9bda5c330f769b27301cb1d384dedfa}


Convert/scale an output screen co-\/ordinate into canvas co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The screen co-\/ordinate translated to canvas unit co-\/ordinates
\end{DoxyReturn}
This function takes in a horizontal co-\/ordinate as the {\ttfamily x} parameter and converts it into canvas units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 extern int screen\_x;
3 Evas\_Coord canvas\_x;
4 
5 canvas\_x = evas\_coord\_screen\_x\_to\_world(evas, screen\_x);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & The screen/output x co-\/ordinate \\
\hline
\end{DoxyParams}


References evas\+\_\+canvas\+\_\+coord\+\_\+screen\+\_\+x\+\_\+to\+\_\+world().

\hypertarget{group__Evas__Coord__Mapping__Group_ga39773755b5851d45f69547da64880e21}{}\index{Coordinate Mapping Functions@{Coordinate Mapping Functions}!evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen@{evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}}
\index{evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen@{evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}!Coordinate Mapping Functions@{Coordinate Mapping Functions}}
\subsubsection[{evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen}]{\setlength{\rightskip}{0pt plus 5cm}int evas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Canvas $\ast$}]{obj, }
\item[{{\bf Evas\+\_\+\+Coord}}]{y}
\end{DoxyParamCaption}
)}\label{group__Evas__Coord__Mapping__Group_ga39773755b5851d45f69547da64880e21}


Convert/scale a canvas co-\/ordinate into output screen co-\/ordinates. 

\begin{DoxyReturn}{Returns}
The output/screen co-\/ordinate translated to output co-\/ordinates
\end{DoxyReturn}
This function takes in a vertical co-\/ordinate as the {\ttfamily x} parameter and converts it into output units, accounting for output size, viewport size and location, returning it as the function return value. If {\ttfamily e} is invalid, the results are undefined.

Example\+: 
\begin{DoxyCode}
1 extern Evas *evas;
2 int screen\_y;
3 extern Evas\_Coord canvas\_y;
4 
5 screen\_y = evas\_coord\_world\_y\_to\_screen(evas, canvas\_y);
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & The canvas y co-\/ordinate \\
\hline
\end{DoxyParams}


References evas\+\_\+canvas\+\_\+coord\+\_\+world\+\_\+y\+\_\+to\+\_\+screen().

