// -*- c++ -*- #pragma once #ifndef __RAYS_FONT_H__ #define __RAYS_FONT_H__ #include #include namespace Rays { class Font { public: Font (); Font (const char* name, coord size = 0); ~Font (); Font copy () const; String name () const; coord size () const; coord get_width (const char* str) const; coord get_height ( coord* ascent = NULL, coord* descent = NULL, coord* leading = NULL) const; operator bool () const; bool operator ! () const; struct Data; Xot::PImpl self; };// Font const Font& default_font (); }// Rays #endif//EOH