Updated libs/xassets/xglyph.h
This commit is contained in:
parent
5c42895bb2
commit
aa77115da8
28
libs/xassets/xglyph.h
Normal file
28
libs/xassets/xglyph.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef XGLYPH_H
|
||||
#define XGLYPH_H
|
||||
|
||||
#include "xasset.h"
|
||||
|
||||
class XGlyph : public XAsset
|
||||
{
|
||||
public:
|
||||
explicit XGlyph();
|
||||
~XGlyph();
|
||||
|
||||
void Clear() override;
|
||||
void ParseData(QDataStream *aStream) override;
|
||||
|
||||
private:
|
||||
quint16 mLetter;
|
||||
char mX0;
|
||||
char mY0;
|
||||
quint8 mDx;
|
||||
quint8 mPixelWidth;
|
||||
quint8 mPixelHeight;
|
||||
float mS0;
|
||||
float mT0;
|
||||
float mS1;
|
||||
float mT1;
|
||||
};
|
||||
|
||||
#endif // XGLYPH_H
|
||||
Loading…
x
Reference in New Issue
Block a user