Files
Aerofoil/GpCommon/IGpFont.h

14 lines
316 B
C
Raw Normal View History

2020-09-12 14:01:51 -04:00
#pragma once
#include <stdint.h>
struct IGpFontRenderedGlyph;
struct GpRenderedFontMetrics;
struct IGpFont
{
virtual void Destroy() = 0;
virtual IGpFontRenderedGlyph *Render(uint32_t unicodeCodePoint, unsigned int size, bool aa) = 0;
virtual bool GetLineSpacing(unsigned int size, int32_t &outSpacing) = 0;
};