sk.robotics.robot classes

function robot_drawtext

^ 
Draw text with specified Borland-type CHR font.

Borland-type CHR fonts are simple scalable vector fonts that were shipped with the old Borland development tools for MSDOS. TurboPascal 5 was published by Borland for free download, you can obtain the basic set of fonts from there, or use third-party tools to convert TrueType fonts to CHR fonts. Execution of this command typically takes long time, and communication with the robot is not possible while it is drawing the text. Use robot_pos(1) to reset the coordinates before drawing a text. text is drawn.

Source:
robotdll/robotdll.h:1197
Author:
Version:
latest version
Params:
id robot object handle
caption text to be drawn by the robot
size font size
fontfile path to the filename with the CHR font
Returns:
if the drawing has been successfully started, 1 is returned, otherwise 0 is returned
See Also:
robot_pos, robot_textsize
Code:
public ROBOTDLL_API short robot_drawtext ( short id ,
LPCTSTR caption ,
short size ,
LPCTSTR fontfile )

(c) FMFI UK Bratislava, robotika.sk
Dokumentácia vygenerovaná pomocou ccdoc