font.hpp 310 B

123456789101112131415
  1. #if defined(Hiro_Font)
  2. namespace hiro {
  3. struct pFont {
  4. static auto size(const Font& font, const string& text) -> Size;
  5. static auto size(const QFont& qtFont, const string& text) -> Size;
  6. static auto family(const string& family) -> QString;
  7. static auto create(const Font& font) -> QFont;
  8. };
  9. }
  10. #endif