21 lines
318 B
C++
21 lines
318 B
C++
|
#pragma once
|
||
|
|
||
|
#include "Layout.hpp"
|
||
|
|
||
|
namespace Raven {
|
||
|
|
||
|
class DocumentLayout : public Layout {
|
||
|
private:
|
||
|
double m_margin { 0.0 };
|
||
|
public:
|
||
|
DocumentLayout()
|
||
|
: Layout() {}
|
||
|
|
||
|
void run();
|
||
|
|
||
|
double get_margin() { return m_margin; }
|
||
|
void set_margin(double margin) { m_margin = margin; run(); }
|
||
|
};
|
||
|
|
||
|
}
|