#include "TROOT.h"
#include "TVirtualGraphPainter.h"
#include "TPluginManager.h"
#include "TClass.h"
TVirtualGraphPainter *TVirtualGraphPainter::fgPainter = 0;
ClassImp(TVirtualGraphPainter)
TVirtualGraphPainter *TVirtualGraphPainter::GetPainter()
{
if (!fgPainter) {
TPluginHandler *h;
if ((h = gROOT->GetPluginManager()->FindHandler("TVirtualGraphPainter"))) {
if (h->LoadPlugin() == -1) return 0;
fgPainter = (TVirtualGraphPainter*)gROOT->GetClass("TGraphPainter")->New();
}
}
return fgPainter;
}
void TVirtualGraphPainter::SetPainter(TVirtualGraphPainter *painter)
{
fgPainter = painter;
}
Last change: Wed Jun 25 08:54:48 2008
Last generated: 2008-06-25 08:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.