mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Move font API to GpCommon
This commit is contained in:
@@ -2,15 +2,16 @@
|
||||
|
||||
#include "FontHacks.h"
|
||||
|
||||
struct IGpFont;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class RenderedFont;
|
||||
class HostFont;
|
||||
|
||||
class FontRenderer
|
||||
{
|
||||
public:
|
||||
virtual RenderedFont *RenderFont(HostFont *font, int size, bool aa, FontHacks fontHacks) = 0;
|
||||
virtual RenderedFont *RenderFont(IGpFont *font, int size, bool aa, FontHacks fontHacks) = 0;
|
||||
|
||||
static FontRenderer *GetInstance();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user