OffsetSpecsOf< DerivedSpecs > Class Template Reference
The class used to attach offset options to a type. More...
#include <OffsetSpecsOf.hpp>
Inheritance diagram for OffsetSpecsOf< DerivedSpecs >:
Collaboration diagram for OffsetSpecsOf< DerivedSpecs >:
Public Member Functions | |
OffsetSpecsOf () | |
Construct a default OffsetSpecsOf instance. | |
auto | shiftAlongX (double chars) -> DerivedSpecs & |
Shift the underlying plot element along the x direction by given number of characters (can be fraction). | |
auto | shiftAlongY (double chars) -> DerivedSpecs & |
Shift the underlying plot element along the y direction by given number of characters (can be fraction). | |
auto | shiftAlongGraphX (double val) -> DerivedSpecs & |
Shift the underlying plot element along the x direction within the graph coordinate system. | |
auto | shiftAlongGraphY (double val) -> DerivedSpecs & |
Shift the underlying plot element along the y direction within the graph coordinate system. | |
auto | shiftAlongScreenX (double val) -> DerivedSpecs & |
Shift the underlying plot element along the x direction within the screen coordinate system. | |
auto | shiftAlongScreenY (double val) -> DerivedSpecs & |
Shift the underlying plot element along the y direction within the screen coordinate system. | |
auto | repr () const -> std::string |
Convert this OffsetSpecsOf object into a gnuplot formatted string. | |
Public Member Functions inherited from Specs< DerivedSpecs > | |
virtual | ~Specs ()=default |
Pure virtual destructor (this class is an abstract base class). | |
operator std::string () const | |
Return a string representation of this object of some class that derives from specs. | |
auto | derived () -> DerivedSpecs & |
Return a reference to the specs object of class derived from this. | |
auto | derived () const -> const DerivedSpecs & |
Return a const reference to the specs object of class derived from this. | |
Detailed Description
template<typename DerivedSpecs>
class sciplot::OffsetSpecsOf< DerivedSpecs >
The class used to attach offset options to a type.
The documentation for this class was generated from the following file:
- sciplot/specs/OffsetSpecsOf.hpp