Match and link CLineExtraSpaceInstruction

Former-commit-id: 28c5e7d23f
This commit is contained in:
2023-01-10 15:03:07 -08:00
parent beefef812b
commit 9488e643e5
7 changed files with 37 additions and 7 deletions

View File

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