24 static void LoadCanvasPainterLibrary() {
26 R__ERROR_HERE(
"Gpad") <<
"Loading of libROOTCanvasPainter failed!";
34 std::unique_ptr<ROOT::Experimental::Internal::TVirtualCanvasPainter::Generator>
38 static std::unique_ptr<Generator> generator;
46 LoadCanvasPainterLibrary();
48 R__ERROR_HERE(
"Gpad") <<
"TVirtualCanvasPainter::Generator failed to register!";
49 throw std::runtime_error(
"TVirtualCanvasPainter::Generator failed to initialize");
A window's topmost TPad.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
virtual ~TVirtualCanvasPainter()
Default destructor.
static std::unique_ptr< TVirtualCanvasPainter > Create(const TCanvas &canv)
Loads the plugin that implements this class.
static std::unique_ptr< Generator > & GetGenerator()
generator getter
virtual ~Generator()
Default destructor.
R__EXTERN TSystem * gSystem
#define R__ERROR_HERE(GROUP)