Files
Aerofoil/PortabilityLayer/HostFont.h

18 lines
354 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) = 0;
virtual bool GetLineSpacing(unsigned int size, int32_t &outSpacing) = 0;
};
}