18 #ifndef EQUTIL_BITMAPFONT_H
19 #define EQUTIL_BITMAPFONT_H
21 #include <eq/client/api.h>
22 #include <eq/util/types.h>
28 namespace detail {
class BitmapFont; }
72 const uint32_t size = 12 );
81 EQ_API
void draw(
const std::string& text )
const;
84 detail::BitmapFont*
const _impl;
88 #endif // EQUTIL_BITMAPFONT_H
A wrapper around AGL, WGL and GLX bitmap fonts.
EQ_API BitmapFont(ObjectManager &gl, const void *key)
Construct a new bitmap font.
EQ_API void exit()
De-initialize this bitmap font.
EQ_API void draw(const std::string &text) const
Draw text on the current raster position.
EQ_API bool init(const WindowSystem &ws, const std::string &name, const uint32_t size=12)
Initialize this bitmap font.
EQ_API ~BitmapFont()
Destruct this bitmap font.
A facility class to manage OpenGL objects across shared contexts.