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,26 +2,26 @@
|
||||
|
||||
#include "Vec2i.h"
|
||||
|
||||
class PLPasStr;
|
||||
class PLPasStr;
|
||||
struct GpRenderedGlyphMetrics;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class RenderedFont;
|
||||
struct RenderedGlyphMetrics;
|
||||
|
||||
struct GlyphPlacementCharacteristics
|
||||
{
|
||||
bool m_haveGlyph;
|
||||
bool m_isParaStart; // Character is the first character in the paragraph
|
||||
bool m_isParaEnd; // Character is the last character in the paragraph
|
||||
const RenderedGlyphMetrics *m_glyphMetrics; // Glyph metrics
|
||||
const GpRenderedGlyphMetrics *m_glyphMetrics; // Glyph metrics
|
||||
const void *m_glyphData; // Glyph data
|
||||
Vec2i m_glyphStartPos; // Glyph start position
|
||||
Vec2i m_glyphEndPos; // Glyph end position
|
||||
unsigned int m_character; // Character code
|
||||
size_t m_characterIndex; // Index in the input string
|
||||
};
|
||||
|
||||
|
||||
class TextPlacer
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user