dlDrawRasterText
dlDrawRasterText(
l_point
t_text
t_fontName
[ t_verticalJustify ]
[ t_horizontalJustify ]
)
=> t / nil
Description
Draws a text string to the screen from within a SkillObject. The text is drawn using an X Window System font..
Arguments
|
l_point
|
Origin point of the text.
|
|
t_text
|
Text string to be added to the display list.
|
|
t_fontName
|
X font used to draw text. The font name can vary from system to system. Check your /usr/lib/X11/fonts directory see what fonts are available, or ask your system administrator. Usually fonts “fixed” and “9x15” are available. If the font name you specify is not found, then “fixed” is used. Raster text does not scale, but has a fixed width and height.
|
|
t_verticalJustify
|
Presentation of the text, and one of the following strings:
-
"dlcTop" : Top of the text will be at the y of the point. -
"dlcCenter": Center of the text will be at the y of the point. -
"dlcBottom" : Bottom of the text will be at the y point.
If not specified, t_verticalJustify is set to "dlcBottom".
|
|
t_horizontalJustify
|
|
|
Presentation of the text, and one of the following strings:
-
"dlcLeft" : String starts at the x of the point. -
"dlcCenter": Middle of the string is located at the x of the point. -
"dlcRight": End of the string is located at the x of the point.
If not specified, t_horizontalJustify is set to "dlcLeft".
|
Related Topics
Display List Draw Functions
Return to top