Files

18 lines
363 B
C
Raw Permalink Normal View History

#pragma once
#include <stdint.h>
2019-12-21 18:40:17 -05:00
namespace PortabilityLayer
{
class HostFontRenderedGlyph;
struct RenderedFontMetrics;
2019-12-21 18:40:17 -05:00
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;
2019-12-21 18:40:17 -05:00
};
}