Classes | Namespaces | Typedefs | Functions

glut-font.h File Reference

#include "common/common.h"
#include "geometry/geometry_2d.h"
#include "threadsafe/smart_ptr.h"
Include dependency graph for glut-font.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  glut::font_rect_t
 font sizing information More...
class  glut::Font
 a basic font class. More...
class  glut::FontManager
 the font manager More...

Namespaces

namespace  glut

Typedefs

typedef rect2d_t< int > glut::pixel_rect_t
 standard 2D pixel rect

Functions

smart_ptr< Font > glut::getDefaultFont (void)
 retrieve the default font (throws if there isn't one)
bool glut::scaleFontToPixelHeight (Font *font,const char *textToScale,int desiredPixelHeight)
 scale the given font to the specified height in pixels.