VDrawText


 
Name
  VDrawText - draws a line of text in the specified location.
 
Synopsis
  VDrawText(win, gc, text, xloc, yloc)
  Window win;
  GC gc;
  char *text;
  int xloc, yloc;
 
Description
  VDrawText draws the line of text in the specified location.
 
Return Value
  0 - work successfully.
  283 - could not draw text in the specified location.
 
Parameters
  win - the ID of the window to draw the text.
  gc - the GC to be used to draw the same; if no GC is passed it is obtained
        from the window ID.
  text - the text to be drawn.
  xloc, yloc - the xloc,yloc of the text to be drawn.
 
Side Effects
  None.
 
Entry Conditions
  VCreateColormap should be called earlier, else VDrawText prints an error
message to the standard error stream, produces a core dump file and exits
from the current process.
 
Related Functions
VDrawCenteredText, VDrawColoredCenteredText, VDrawColoredText, VDisplayDialogMessage, VDisplayImageMessage, VDisplayOverlayMessage.