// -*- 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 (); String name () const; coord size () const; bool get_extent (coord* width, coord* height, const char* str) const; operator bool () const; bool operator ! () const; struct Data; Impl self; };// Font const Font& default_font (); }// Rays #endif//EOH