mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Move font API to GpCommon
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
|
||||
#include "FontHacks.h"
|
||||
|
||||
struct IGpFont;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class FontFamily;
|
||||
class HostFont;
|
||||
class RenderedFont;
|
||||
|
||||
class FontManager
|
||||
@@ -17,7 +18,7 @@ namespace PortabilityLayer
|
||||
virtual FontFamily *GetSystemFont(int fontSize, int variationFlags) const = 0;
|
||||
virtual FontFamily *GetApplicationFont(int fontSize, int variationFlags) const = 0;
|
||||
|
||||
virtual RenderedFont *GetRenderedFont(HostFont *font, int size, bool aa, FontHacks fontHacks) = 0;
|
||||
virtual RenderedFont *GetRenderedFont(IGpFont *font, int size, bool aa, FontHacks fontHacks) = 0;
|
||||
virtual RenderedFont *GetRenderedFontFromFamily(FontFamily *fontFamily, int fontSize, bool aa, int flags) = 0;
|
||||
|
||||
static FontManager *GetInstance();
|
||||
|
Reference in New Issue
Block a user