Match and link CLineSpacingInstruction

Former-commit-id: 481e7e2100
This commit is contained in:
2023-01-07 18:31:19 -08:00
parent eec994634a
commit 6d153e758c
22 changed files with 121 additions and 72 deletions

View File

@@ -0,0 +1,17 @@
#ifndef _CLINESPACINGINSTRUCTION
#define _CLINESPACINGINSTRUCTION
#include "Kyoto/Text/CInstruction.hpp"
class CLineSpacingInstruction : public CInstruction {
public:
CLineSpacingInstruction(float spacing) : x4_spacing(spacing) {}
~CLineSpacingInstruction() {}
void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
void PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
private:
float x4_spacing;
};
#endif // _CLINESPACINGINSTRUCTION