cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

screenshot_8c.tex (1917B)


      1\hypertarget{screenshot_8c}{\section{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.c File Reference}
      2\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}}
      3}
      4{\ttfamily \#include \char`\"{}S\-D\-L\-\_\-visualtest\-\_\-mischelper.\-h\char`\"{}}\\*
      5{\ttfamily \#include $<$S\-D\-L\-\_\-test.\-h$>$}\\*
      6\subsection*{Functions}
      7\begin{DoxyCompactItemize}
      8\item 
      9int \hyperlink{screenshot_8c_ac7b5335651144961676abc2116c38299}{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots} (char $\ast$args, char $\ast$test\-\_\-dir, char $\ast$verify\-\_\-dir)
     10\end{DoxyCompactItemize}
     11
     12
     13\subsection{Detailed Description}
     14Source file for the screenshot A\-P\-I. 
     15
     16\subsection{Function Documentation}
     17\hypertarget{screenshot_8c_ac7b5335651144961676abc2116c38299}{\index{screenshot.\-c@{screenshot.\-c}!S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots@{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}}
     18\index{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots@{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}!screenshot.c@{screenshot.\-c}}
     19\subsubsection[{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}]{\setlength{\rightskip}{0pt plus 5cm}int S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots (
     20\begin{DoxyParamCaption}
     21\item[{char $\ast$}]{args, }
     22\item[{char $\ast$}]{test\-\_\-dir, }
     23\item[{char $\ast$}]{verify\-\_\-dir}
     24\end{DoxyParamCaption}
     25)}}\label{screenshot_8c_ac7b5335651144961676abc2116c38299}
     26Compare 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}.
     27
     28\begin{DoxyReturn}{Returns}
     29-\/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. 
     30\end{DoxyReturn}