RasterFont.h revision a81c11fa7e1b08e4e61f1c98d61ebb33b6fe7878
/*
* testICU
*
*/
#ifndef my_raster_font
#define my_raster_font
#include <map>
#include <libnr/nr-forward.h>
#include <libnrtype/nrtype-forward.h>
#include <libnrtype/font-style.h>
// one rasterfont is one way to draw a font on the screen
// the way it's drawn is stored in style
int refCount;
// an array of glyphs in this rasterfont.
// it's a bit redundant with the one in the daddy font_instance, but these glyphs
// contains the real rasterization data
~raster_font(void);
void Unref(void);
void Ref(void);
// utility functions
// attempts to load a glyph and return a raster_glyph on which you can call Blit
// utility
/* Disable the default copy constructor and operator=: they do the wrong thing for refCount. */
raster_font(raster_font const &);
};
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :