18 #ifndef EQUTIL_BITMAPFONT_H
19 #define EQUTIL_BITMAPFONT_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;
85 BitmapFont& operator=(
const BitmapFont& ) =
delete;
86 detail::BitmapFont*
const _impl;
90 #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.