Sha256: 021bfa88010550328523679dbe5921f57b6ee68a6472165bc7ed34015c6d5e21
Contents?: true
Size: 627 Bytes
Versions: 34
Compression:
Stored size: 627 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_FONT_H__ #define __RAYS_FONT_H__ #include <xot/pimpl.h> #include <rays/defs.h> namespace Rays { class Font { public: Font (); Font (const char* name, coord size = 0); ~Font (); 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::PSharedImpl<Data> self; };// Font const Font& default_font (); }// Rays #endif//EOH
Version data entries
34 entries across 34 versions & 1 rubygems