Files
Aerofoil/PortabilityLayer/HostFont.h
2020-01-18 18:20:16 -05:00

18 lines
363 B
C++

#pragma once
#include <stdint.h>
namespace PortabilityLayer
{
class HostFontRenderedGlyph;
struct RenderedFontMetrics;
class HostFont
{
public:
virtual void Destroy() = 0;
virtual HostFontRenderedGlyph *Render(uint32_t unicodeCodePoint, unsigned int size, bool aa) = 0;
virtual bool GetLineSpacing(unsigned int size, int32_t &outSpacing) = 0;
};
}