\doxysection{pygaze.\+plugins.\+frl.\+Py\+Game\+FRL Class Reference}
\hypertarget{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l}{}\label{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l}\index{pygaze.plugins.frl.PyGameFRL@{pygaze.plugins.frl.PyGameFRL}}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l_a4a30b258c6851b99fdb5a8a3e8082bf0}{get\+\_\+pos}} (self, gazepos)
\item 
\mbox{\hyperlink{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l_a47974793213d087e4d209b074574c522}{update}} (self, display, stimscreen, gazepos)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\begin{DoxyVerb}Gaze contingent FRL based on PyGame\end{DoxyVerb}
 

\doxysubsection{Member Function Documentation}
\Hypertarget{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l_a4a30b258c6851b99fdb5a8a3e8082bf0}\index{pygaze.plugins.frl.PyGameFRL@{pygaze.plugins.frl.PyGameFRL}!get\_pos@{get\_pos}}
\index{get\_pos@{get\_pos}!pygaze.plugins.frl.PyGameFRL@{pygaze.plugins.frl.PyGameFRL}}
\doxysubsubsection{\texorpdfstring{get\_pos()}{get\_pos()}}
{\footnotesize\ttfamily \label{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l_a4a30b258c6851b99fdb5a8a3e8082bf0} 
pygaze.\+plugins.\+frl.\+Py\+Game\+FRL.\+get\+\_\+pos (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{gazepos}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}Returns FRL position tuple, based on gaze position; for internal
        use
        
        arguments
        gazepos -- a (x,y) gaze position tuple
        
        returns
        frlpos  -- a (x,y) position tuple, indicating the FRL center
                   coordinate
\end{DoxyVerb}
 \Hypertarget{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l_a47974793213d087e4d209b074574c522}\index{pygaze.plugins.frl.PyGameFRL@{pygaze.plugins.frl.PyGameFRL}!update@{update}}
\index{update@{update}!pygaze.plugins.frl.PyGameFRL@{pygaze.plugins.frl.PyGameFRL}}
\doxysubsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily \label{classpygaze_1_1plugins_1_1frl_1_1_py_game_f_r_l_a47974793213d087e4d209b074574c522} 
pygaze.\+plugins.\+frl.\+Py\+Game\+FRL.\+update (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{display}{, }\item[{}]{stimscreen}{, }\item[{}]{gazepos}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}Updates display with FRL, showing part of the stimulus screen
        inside of a FRL and backgroundcolour everywhere else
        
        arguments
        display -- a libscreen.Display object
        stimscreen  -- a libscreen.Screen object containing the stimuli
                   that are to be presented
        gazepos -- current gaze position
        
        returns
        disptime    -- directly updates display and returns refresh time
                   (PsychoPy) or an estimate (PyGame)
\end{DoxyVerb}
 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/lurax/eyetracking\+Tobii/pygaze/plugins/\mbox{\hyperlink{frl_8py}{frl.\+py}}\end{DoxyCompactItemize}
