mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
15 lines
400 B
C
15 lines
400 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
struct IGpFontRenderedGlyph;
|
|
struct GpRenderedFontMetrics;
|
|
|
|
struct IGpFont
|
|
{
|
|
virtual void Destroy() = 0;
|
|
virtual IGpFontRenderedGlyph *Render(uint32_t unicodeCodePoint, unsigned int size, unsigned int xScale, unsigned int yScale, bool aa) = 0;
|
|
virtual bool GetLineSpacing(unsigned int size, int32_t &outSpacing) = 0;
|
|
virtual bool SupportScaling() const = 0;
|
|
};
|