SR Research Support Site
Drawing Commands

echo

echo <text>

Prints text at current print position to tracker screen, gray on black only

Arguments:

print_position

print_position <column><line>

Coordinates are text row and column, similar to C gotoxy() function.

Remarks
Row cannot be set higher than 25.

Use "draw_text" command to print anywhere on the tracker display. Arguments:

clear_screen

clear_screen <color>

Clear tracker screen for drawing background graphics or messages.

Arguments:

draw_line

draw_line <x1> <y1> <x2> <y2> <color>

Draws line, coordinates are gaze-position display coordinates.

Arguments:

draw_box

draw_box <x1> <y1> <x2> <y2> <color>

Draws empty box, coordinates are gaze-position display coordinates.

Arguments:

draw_filled_box

draw_filled_box <x1> <y1> <x2> <y2> <color>

Draws a solid block of color, coordinates are gaze-position display coordinates.

Arguments:

draw_line

draw_line <x1> <y1> <x2> <y2> <color>

Draws line, coordinates are gaze-position display coordinates.

Arguments:

draw_text

draw_text <x1> <y1> <color> <text>

Draws text, coordinates are gaze-position display coordinates.

Arguments:

draw_cross

draw_cross <x> <y>

Draws a small "+" to mark a target point.

Arguments:


Copyright ©2002-2021, SR Research Ltd.