prime/include/Kyoto/Text/CLineSpacingInstruction.hpp

18 lines
482 B
C++
Raw Normal View History

2023-01-08 02:31:19 +00:00
#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