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.

Classes

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

Namespaces

namespace  glut

Functions

smart_ptr< FontEffect > glut::getCharacterAdvanceEffect (IN smart_ptr< Font > &font, IN const char *lines, IN int millisecondsPerCharacter, IN const glut_color_t &color)
 this font effect will write out lines of text one character at a time.
void glut::breakLongString (IN const char *text, IN Font *font, IN int maxPixelWidth, OUT 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.