FontSpecs Class Reference
The class used to specify font options. More...
#include <FontSpecsOf.hpp>
Inheritance diagram for FontSpecs:
Collaboration diagram for FontSpecs:
Additional Inherited Members | |
Public Member Functions inherited from FontSpecsOf< FontSpecs > | |
FontSpecsOf () | |
Construct a default FontSpecsOf instance. | |
auto | fontName (std::string name) -> FontSpecs & |
Set the name of the font (e.g., Helvetica, Georgia, Times). | |
auto | fontSize (std::size_t size) -> FontSpecs & |
Set the point size of the font (e.g., 10, 12, 16). | |
auto | repr () const -> std::string |
Convert this FontSpecsOf object into a gnuplot formatted string. | |
Public Member Functions inherited from Specs< FontSpecs > | |
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 () -> FontSpecs & |
Return a reference to the specs object of class derived from this. | |
auto | derived () const -> const FontSpecs & |
Return a const reference to the specs object of class derived from this. | |
Detailed Description
The class used to specify font options.
The documentation for this class was generated from the following file:
- sciplot/specs/FontSpecsOf.hpp