32#ifndef G4PlotParameters_h
33#define G4PlotParameters_h 1
66 static constexpr std::string_view fkClass {
"G4PlotParameters" };
67 static constexpr G4int fkHRDefaultWidth { 2000 };
68 static constexpr G4int fkLRDefaultWidth { 700 };
69 static constexpr G4int fkDefaultColumns { 1 };
70 static constexpr G4int fkDefaultRows { 2 };
71 static constexpr G4float fkDefaultScale { 0.9f };
72#if defined(TOOLS_USE_FREETYPE)
74 static constexpr G4int fkDefaultWidth { fkHRDefaultWidth };
75 static constexpr G4int fkDefaultHeight {
static_cast<G4int>(29.7f/21.0f*fkHRDefaultWidth) };
77 static constexpr G4int fkMaxColumns { 3 };
78 static constexpr G4int fkMaxRows { 5 };
81 static constexpr G4int fkDefaultWidth { fkLRDefaultWidth };
82 static constexpr G4int fkDefaultHeight {
static_cast<G4int>(29.7f/21.0f*fkLRDefaultWidth) };
84 static constexpr G4int fkMaxColumns { 2 };
85 static constexpr G4int fkMaxRows { 3 };
89 std::unique_ptr<G4PlotMessenger> fMessenger;
94 G4int fColumns { fkDefaultColumns };
95 G4int fRows { fkDefaultRows };
96 G4int fWidth { fkDefaultWidth };
97 G4int fHeight { fkDefaultHeight };
98 G4float fScale { fkDefaultScale };
105{
return fkMaxColumns; }
111{
return fAvailableStyles; }
void SetLayout(G4int columns, G4int rows)
G4String GetAvailableStyles()
G4String GetStyle() const
void SetDimensions(G4int width, G4int height)
void SetStyle(const G4String &style)