mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-10 03:51:17 +00:00
16 lines
271 B
C
16 lines
271 B
C
|
#pragma once
|
||
|
|
||
|
#include <memory>
|
||
|
#include <string>
|
||
|
|
||
|
class Font
|
||
|
{
|
||
|
public:
|
||
|
virtual ~Font() = default;
|
||
|
|
||
|
virtual const std::string& GetName() const = 0;
|
||
|
virtual double GetHeight() const = 0;
|
||
|
|
||
|
static std::shared_ptr<Font> Create(const std::string& name, double height);
|
||
|
};
|