|
void bx_draw_text |
( |
bx_window |
win, |
|
|
int |
x, |
|
|
int |
y, |
|
|
char |
text[] | |
|
) |
| | |
The "poor man" solution to draw a text on the canvas of a window. Draws a text with the default font of X11. The font and its size cannot be changed, however the text is drawn with the pen color.
- Parameters:
-
| win | the window owning the targeted canvas. |
| x,y | the location of the anchor of the text on the canvas. |
| text | the string to be drawn |
- Returns:
- nothing.
|