LayoutSpecs.hpp
46 auto marginsAbsolute(double left = -1, double right = -1, double top = -1, double bottom = -1) -> DerivedSpecs&;
51 // auto marginsRelative(double left = -1, double right = -1, double top = -1, double bottom = -1) -> DerivedSpecs&;
109 auto LayoutSpecsOf<DerivedSpecs>::marginsAbsolute(double left, double right, double top, double bottom) -> DerivedSpecs&
123 auto LayoutSpecsOf<DerivedSpecs>::marginsRelative(double left, double right, double top, double bottom) -> DerivedSpecs&
148 script << "set lmargin " << (m_marginsAbsolute ? "" : "at screen ") << m_marginsLeft << std::endl;
149 script << "set rmargin " << (m_marginsAbsolute ? "" : "at screen ") << m_marginsRight << std::endl;
150 script << "set tmargin " << (m_marginsAbsolute ? "" : "at screen ") << m_marginsTop << std::endl;
auto size(double sx, double sy) -> DerivedSpecs &
Set the size factor of the figure relative to the canvas (a value of 1 will fill the entire canvas,...
Definition: LayoutSpecs.hpp:100
auto marginsAbsolute(double left=-1, double right=-1, double top=-1, double bottom=-1) -> DerivedSpecs &
Set the absolute margins of the figure to the canvas. A value of -1 will let gnuplot autocalculate th...
Definition: LayoutSpecs.hpp:109
auto repr() const -> std::string
Set the relative margins of the figure to the canvas as a fraction of the canvas.
Definition: LayoutSpecs.hpp:135
auto origin(double x, double y) -> DerivedSpecs &
Set the origin of the figure relative to the canvas (0,0 is bottom left and 1,1 is top right).
Definition: LayoutSpecs.hpp:91
The base class for other specs classes (e.g., LineSpecsOf, DrawSpecs, BorderSpecs,...
Definition: Specs.hpp:36
The class used to attach layout options to a type.
Definition: LayoutSpecs.hpp:37