Home › Forums › Software Development › Display Gaze Data on Screen
- This topic has 1 reply, 2 voices, and was last updated 7 years, 7 months ago by Jenny [Tobii].
- 18/08/2015 at 16:24 #3331Tala Al BaharParticipant
I’m using the EyeX C/C++ SDK to collect Gaze Data Points and I would like to convert to screen coordinates and see them (similar to how the the points can bee seen while testing the calibration).
I couldn’t find enough information on how to use the ClientToScreen function for such a purpose. First, I will need to call it from code written in C (AFTER I have already gathered some gaze data points). Second, I’m not sure about the handle that I have to send it. Do I create an empty handle, or does it have to be associated with a client window, and if so how do I do that? Finally, once I use the ClienToScreen function to get the screen coordinates, what’s the method to actually mark them on the screen as (for example) circles or colored points.
Any help would be appreciated. Thanks.19/08/2015 at 10:27 #3333Jenny [Tobii]Participant
The ClientToScreen function is a Windows API function. Please refer to MSDN for more information on how to use it:
To draw something on the screen you need to use some kind of GUI framework, for example GDI.
- You must be logged in to reply to this topic.