Reference Manual - 1.8.0
IDirectFBSurface   DrawString

Draw a string at the specified position with the given color following the specified flags.

DFBResult DrawString (
  IDirectFBSurface   * thiz,
  const char   * text,
  int   bytes,
  int   x,
  int   y,
  DFBSurfaceTextFlags   flags
);

Bytes specifies the number of bytes to take from the string or -1 for the complete NULL-terminated string. You need to set a font using the SetFont() method before calling this function.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License