mirror of https://github.com/encounter/SDL.git
31 lines
1.9 KiB
TeX
31 lines
1.9 KiB
TeX
|
\hypertarget{screenshot_8c}{\section{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.c File Reference}
|
||
|
\label{screenshot_8c}\index{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.\-c@{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.\-c}}
|
||
|
}
|
||
|
{\ttfamily \#include \char`\"{}S\-D\-L\-\_\-visualtest\-\_\-mischelper.\-h\char`\"{}}\\*
|
||
|
{\ttfamily \#include $<$S\-D\-L\-\_\-test.\-h$>$}\\*
|
||
|
\subsection*{Functions}
|
||
|
\begin{DoxyCompactItemize}
|
||
|
\item
|
||
|
int \hyperlink{screenshot_8c_ac7b5335651144961676abc2116c38299}{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots} (char $\ast$args, char $\ast$test\-\_\-dir, char $\ast$verify\-\_\-dir)
|
||
|
\end{DoxyCompactItemize}
|
||
|
|
||
|
|
||
|
\subsection{Detailed Description}
|
||
|
Source file for the screenshot A\-P\-I.
|
||
|
|
||
|
\subsection{Function Documentation}
|
||
|
\hypertarget{screenshot_8c_ac7b5335651144961676abc2116c38299}{\index{screenshot.\-c@{screenshot.\-c}!S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots@{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}}
|
||
|
\index{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots@{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}!screenshot.c@{screenshot.\-c}}
|
||
|
\subsubsection[{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}]{\setlength{\rightskip}{0pt plus 5cm}int S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots (
|
||
|
\begin{DoxyParamCaption}
|
||
|
\item[{char $\ast$}]{args, }
|
||
|
\item[{char $\ast$}]{test\-\_\-dir, }
|
||
|
\item[{char $\ast$}]{verify\-\_\-dir}
|
||
|
\end{DoxyParamCaption}
|
||
|
)}}\label{screenshot_8c_ac7b5335651144961676abc2116c38299}
|
||
|
Compare a screenshot taken previously with S\-U\-T arguments {\ttfamily args} that is located in {\ttfamily test\-\_\-dir} with a verification image that is located in {\ttfamily verify\-\_\-dir}.
|
||
|
|
||
|
\begin{DoxyReturn}{Returns}
|
||
|
-\/1 on failure, 0 if the images were not equal, 1 if the images are equal and 2 if the verification image is not present.
|
||
|
\end{DoxyReturn}
|