prime/include/Kyoto/Text/CLineExtraSpaceInstruction.hpp
Phillip Stephens 9488e643e5 Match and link CLineExtraSpaceInstruction
Former-commit-id: 28c5e7d23f7f27b089d4836bad911b46474b7cf6
2023-01-10 15:03:07 -08:00

18 lines
502 B
C++

#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