Classes | Namespaces | Functions

glut-font-effects.h File Reference

#include "glut-font.h"
#include "color/color.h"
Include dependency graph for glut-font-effects.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  glut::FontEffect
 general base class for font effect objects. More...


namespace  glut


smart_ptr< FontEffect > glut::getCharacterAdvanceEffect (smart_ptr< Font > &font,const char *lines,int millisecondsPerCharacter,const glut_color_t &color)
 this font effect will write out lines of text one character at a time.
void glut::breakLongString (const char *text,Font *font,int maxPixelWidth,std::string &output)
 given a long sequence of words in a given font, this routine returns the same words, only with line breaks inserted so that a single line is never longer than the specified width.