39 : fMessenger(nullptr),
40#if defined(TOOLS_USE_FREETYPE)
41 fDefaultStyle(
"ROOT_default"),
42 fAvailableStyles(
"ROOT_default hippodrow inlib_default"),
44 fDefaultStyle(
"inlib_default"),
45 fAvailableStyles(
"inlib_default"),
49 fMessenger = std::make_unique<G4PlotMessenger>(
this);
59 if ( columns > rows ||
62 Warn(
"Layout: " + to_string(columns) +
" x " + to_string(rows) +
64 "Supported layouts (columns <= rows): \n" +
87 Warn(
"Style: " + style +
" was ignored.\n" +
95 if (
fStyle ==
"ROOT_default" ) {
void SetLayout(G4int columns, G4int rows)
std::unique_ptr< G4PlotMessenger > fMessenger
G4String fAvailableStyles
static constexpr G4int fkMaxRows
static constexpr std::string_view fkClass
void SetDimensions(G4int width, G4int height)
void SetStyle(const G4String &style)
static constexpr G4int fkMaxColumns
static constexpr G4float fkDefaultScale
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)