prime/include/Kyoto/Text/CLineSpacingInstruction.hpp
Phillip Stephens 6d153e758c Match and link CLineSpacingInstruction
Former-commit-id: 481e7e21002aa4c06fb0c0926258bdce62263ceb
2023-01-07 18:31:19 -08:00

18 lines
482 B
C++

#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