Home Forums Software Development Display Gaze Data on Screen


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3331
    Tala Al Bahar


    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.

    Jenny [Tobii]

    Hi Tala,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.