mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
18 lines
363 B
C++
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;
|
|
};
|
|
}
|