\hypertarget{group__Ecore__X__Pixmap__Group}{\section{X Pixmap Functions}
\label{group__Ecore__X__Pixmap__Group}\index{X Pixmap Functions@{X Pixmap Functions}}
}


Functions that operate on pixmaps.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Ecore\+\_\+\+X\+\_\+\+Pixmap \hyperlink{group__Ecore__X__Pixmap__Group_gab31c12c8cac8a2e4d51b21d925d26ca8}{ecore\+\_\+x\+\_\+pixmap\+\_\+new} (Ecore\+\_\+\+X\+\_\+\+Window win, int w, int h, int dep)
\begin{DoxyCompactList}\small\item\em Creates a new pixmap. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__X__Pixmap__Group_ga70bfe176bb8c63aedd1ca7dcbbde5a7c}{ecore\+\_\+x\+\_\+pixmap\+\_\+free} (Ecore\+\_\+\+X\+\_\+\+Pixmap pmap)
\begin{DoxyCompactList}\small\item\em Deletes the reference to the given pixmap. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__X__Pixmap__Group_ga8cfccd4528f5737126f02c9c2bbc9094}{ecore\+\_\+x\+\_\+pixmap\+\_\+paste} (Ecore\+\_\+\+X\+\_\+\+Pixmap pmap, Ecore\+\_\+\+X\+\_\+\+Drawable dest, Ecore\+\_\+\+X\+\_\+\+G\+C gc, int sx, int sy, int w, int h, int dx, int dy)
\begin{DoxyCompactList}\small\item\em Pastes a rectangular area of the given pixmap onto the given drawable. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__X__Pixmap__Group_gaca34a633edb634e99c47d7bd58e6c271}{ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get} (Ecore\+\_\+\+X\+\_\+\+Pixmap pmap, int $\ast$x, int $\ast$y, int $\ast$w, int $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the size of the given pixmap. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__X__Pixmap__Group_gaea8d1af24bf26498fa0af4cad78cba5b}{ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get} (Ecore\+\_\+\+X\+\_\+\+Pixmap pmap)
\begin{DoxyCompactList}\small\item\em Retrieves the depth of the given pixmap. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that operate on pixmaps. 



\subsection{Function Documentation}
\hypertarget{group__Ecore__X__Pixmap__Group_gab31c12c8cac8a2e4d51b21d925d26ca8}{\index{X Pixmap Functions@{X Pixmap Functions}!ecore\+\_\+x\+\_\+pixmap\+\_\+new@{ecore\+\_\+x\+\_\+pixmap\+\_\+new}}
\index{ecore\+\_\+x\+\_\+pixmap\+\_\+new@{ecore\+\_\+x\+\_\+pixmap\+\_\+new}!X Pixmap Functions@{X Pixmap Functions}}
\subsubsection[{ecore\+\_\+x\+\_\+pixmap\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}Ecore\+\_\+\+X\+\_\+\+Pixmap ecore\+\_\+x\+\_\+pixmap\+\_\+new (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+X\+\_\+\+Window}]{win, }
\item[{int}]{w, }
\item[{int}]{h, }
\item[{int}]{dep}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Pixmap__Group_gab31c12c8cac8a2e4d51b21d925d26ca8}


Creates a new pixmap. 


\begin{DoxyParams}{Parameters}
{\em win} & Window used to determine which screen of the display the pixmap should be created on. If 0, the default root window is used. \\
\hline
{\em w} & Width of the new pixmap. \\
\hline
{\em h} & Height of the new pixmap. \\
\hline
{\em dep} & Depth of the pixmap. If 0, the default depth of the default screen is used. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New pixmap. 
\end{DoxyReturn}


References ecore\+\_\+x\+\_\+sync().

\hypertarget{group__Ecore__X__Pixmap__Group_ga70bfe176bb8c63aedd1ca7dcbbde5a7c}{\index{X Pixmap Functions@{X Pixmap Functions}!ecore\+\_\+x\+\_\+pixmap\+\_\+free@{ecore\+\_\+x\+\_\+pixmap\+\_\+free}}
\index{ecore\+\_\+x\+\_\+pixmap\+\_\+free@{ecore\+\_\+x\+\_\+pixmap\+\_\+free}!X Pixmap Functions@{X Pixmap Functions}}
\subsubsection[{ecore\+\_\+x\+\_\+pixmap\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+x\+\_\+pixmap\+\_\+free (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+X\+\_\+\+Pixmap}]{pmap}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Pixmap__Group_ga70bfe176bb8c63aedd1ca7dcbbde5a7c}


Deletes the reference to the given pixmap. 

If no other clients have a reference to the given pixmap, the server will destroy it.


\begin{DoxyParams}{Parameters}
{\em pmap} & The given pixmap. \\
\hline
\end{DoxyParams}


References ecore\+\_\+x\+\_\+sync().

\hypertarget{group__Ecore__X__Pixmap__Group_ga8cfccd4528f5737126f02c9c2bbc9094}{\index{X Pixmap Functions@{X Pixmap Functions}!ecore\+\_\+x\+\_\+pixmap\+\_\+paste@{ecore\+\_\+x\+\_\+pixmap\+\_\+paste}}
\index{ecore\+\_\+x\+\_\+pixmap\+\_\+paste@{ecore\+\_\+x\+\_\+pixmap\+\_\+paste}!X Pixmap Functions@{X Pixmap Functions}}
\subsubsection[{ecore\+\_\+x\+\_\+pixmap\+\_\+paste}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+x\+\_\+pixmap\+\_\+paste (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+X\+\_\+\+Pixmap}]{pmap, }
\item[{Ecore\+\_\+\+X\+\_\+\+Drawable}]{dest, }
\item[{Ecore\+\_\+\+X\+\_\+\+G\+C}]{gc, }
\item[{int}]{sx, }
\item[{int}]{sy, }
\item[{int}]{w, }
\item[{int}]{h, }
\item[{int}]{dx, }
\item[{int}]{dy}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Pixmap__Group_ga8cfccd4528f5737126f02c9c2bbc9094}


Pastes a rectangular area of the given pixmap onto the given drawable. 


\begin{DoxyParams}{Parameters}
{\em pmap} & The given pixmap. \\
\hline
{\em dest} & The given drawable. \\
\hline
{\em gc} & The graphics context which governs which operation will be used to paste the area onto the drawable. \\
\hline
{\em sx} & The X position of the area on the pixmap. \\
\hline
{\em sy} & The Y position of the area on the pixmap. \\
\hline
{\em w} & The width of the area. \\
\hline
{\em h} & The height of the area. \\
\hline
{\em dx} & The X position at which to paste the area on {\ttfamily dest}. \\
\hline
{\em dy} & The Y position at which to paste the area on {\ttfamily dest}. \\
\hline
\end{DoxyParams}


References ecore\+\_\+x\+\_\+sync().

\hypertarget{group__Ecore__X__Pixmap__Group_gaca34a633edb634e99c47d7bd58e6c271}{\index{X Pixmap Functions@{X Pixmap Functions}!ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get@{ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get}}
\index{ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get@{ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get}!X Pixmap Functions@{X Pixmap Functions}}
\subsubsection[{ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+x\+\_\+pixmap\+\_\+geometry\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+X\+\_\+\+Pixmap}]{pmap, }
\item[{int $\ast$}]{x, }
\item[{int $\ast$}]{y, }
\item[{int $\ast$}]{w, }
\item[{int $\ast$}]{h}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Pixmap__Group_gaca34a633edb634e99c47d7bd58e6c271}


Retrieves the size of the given pixmap. 


\begin{DoxyParams}{Parameters}
{\em pmap} & The given pixmap. \\
\hline
{\em x} & Pointer to an integer in which to store the X position. \\
\hline
{\em y} & Pointer to an integer in which to store the Y position. \\
\hline
{\em w} & Pointer to an integer in which to store the width. \\
\hline
{\em h} & Pointer to an integer in which to store the height. \\
\hline
\end{DoxyParams}


References ecore\+\_\+x\+\_\+drawable\+\_\+geometry\+\_\+get(), and ecore\+\_\+x\+\_\+sync().

\hypertarget{group__Ecore__X__Pixmap__Group_gaea8d1af24bf26498fa0af4cad78cba5b}{\index{X Pixmap Functions@{X Pixmap Functions}!ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get@{ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get}}
\index{ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get@{ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get}!X Pixmap Functions@{X Pixmap Functions}}
\subsubsection[{ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+pixmap\+\_\+depth\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+X\+\_\+\+Pixmap}]{pmap}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Pixmap__Group_gaea8d1af24bf26498fa0af4cad78cba5b}


Retrieves the depth of the given pixmap. 


\begin{DoxyParams}{Parameters}
{\em pmap} & The given pixmap. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The depth of the pixmap. 
\end{DoxyReturn}


References ecore\+\_\+x\+\_\+drawable\+\_\+depth\+\_\+get(), and ecore\+\_\+x\+\_\+sync().

