/************************************************************************* * Copyright (C) 1995-2017, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #include "ROOT/RPad.hxx" #include "ROOT/RLogger.hxx" #include #include #include #include using namespace ROOT::Experimental; ///////////////////////////////////////////////////////////////////////////////////////////////// ROOT::Experimental::RPad::~RPad() = default; ///////////////////////////////////////////////////////////////////////////////////////////////// /// Create pad display item std::unique_ptr RPad::Display(const RDisplayContext &ctxt) { auto paditem = std::make_unique(); RDisplayContext subctxt(ctxt.GetCanvas(), this, ctxt.GetLastVersion()); DisplayPrimitives(*paditem.get(), subctxt); paditem->SetPadPosSize(&fPos, &fSize); return paditem; }