dlAddRasterText
dlAddRasterText(
w_dlist
x_penNumber
l_point
t_text
t_fontName
[ t_verticalJustify ]
[ t_horizontalJustify ]
[ s_tagSymbol ]
)
=> t / nil
Description
Adds a text string to the display list.
Arguments
|
w_dlist
|
Display list to add to.
|
|
x_penNumber
|
Pen number to use.
|
|
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” (the top of the text will be at the y of the point) -
“dlcMiddle” (the center of the text will be at the y of the point) -
“dlcBottom” (the bottom of the text will be at the y of the point)
If not specified, t_verticalJustify is set to dlcBottom.
|
|
t_horizontalJustify
|
|
|
Presentation of the text, and one of the following strings:
-
“dlcLeft” (the string will start at the x of the point) -
“dlcCenter” (the middle of the string will be at the x of the point) -
“dlcRight” (the end of the string will be at the x of the point)
If not specified, t_horizontalJustify is set to dlcLeft.
|
|
s_tagSymbol
|
Symbol to tag this object with.
|
Related Topics
Add Objects to the Display List
Return to top