ROOT
v6-24
Reference Guide
Loading...
Searching...
No Matches
RPad.cxx
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (C) 1995-2017, Rene Brun and Fons Rademakers. *
3
* All rights reserved. *
4
* *
5
* For the licensing terms see $ROOTSYS/LICENSE. *
6
* For the list of contributors see $ROOTSYS/README/CREDITS. *
7
*************************************************************************/
8
9
#include "
ROOT/RPad.hxx
"
10
11
#include "
ROOT/RLogger.hxx
"
12
#include <
ROOT/RPadDisplayItem.hxx
>
13
#include <
ROOT/RCanvas.hxx
>
14
15
#include <cassert>
16
#include <limits>
17
18
using namespace
ROOT::Experimental
;
19
20
/////////////////////////////////////////////////////////////////////////////////////////////////
21
22
ROOT::Experimental::RPad::~RPad
() =
default
;
23
24
/////////////////////////////////////////////////////////////////////////////////////////////////
25
/// Create pad display item
26
27
std::unique_ptr<RDisplayItem>
RPad::Display
(
const
RDisplayContext
&ctxt)
28
{
29
auto
paditem = std::make_unique<RPadDisplayItem>();
30
31
RDisplayContext
subctxt(ctxt.
GetCanvas
(),
this
, ctxt.
GetLastVersion
());
32
33
DisplayPrimitives
(*paditem.get(), subctxt);
34
35
paditem->SetPadPosSize(&
fPos
, &
fSize
);
36
37
return
paditem;
38
}
RCanvas.hxx
RLogger.hxx
RPadDisplayItem.hxx
RPad.hxx
ROOT::Experimental::RDrawable::RDisplayContext
Definition
RDrawable.hxx:125
ROOT::Experimental::RDrawable::RDisplayContext::GetCanvas
RCanvas * GetCanvas() const
Definition
RDrawable.hxx:160
ROOT::Experimental::RDrawable::RDisplayContext::GetLastVersion
Version_t GetLastVersion() const
Definition
RDrawable.hxx:165
ROOT::Experimental::RPadBase::DisplayPrimitives
void DisplayPrimitives(RPadBaseDisplayItem &paditem, RDisplayContext &ctxt)
Create display items for all primitives in the pad Each display item gets its special id,...
Definition
RPadBase.cxx:136
ROOT::Experimental::RPad::Display
std::unique_ptr< RDisplayItem > Display(const RDisplayContext &) final
Create pad display item.
Definition
RPad.cxx:27
ROOT::Experimental::RPad::~RPad
virtual ~RPad()
Destructor to have a vtable.
ROOT::Experimental::RPad::fPos
RPadPos fPos
pad position
Definition
RPad.hxx:30
ROOT::Experimental::RPad::fSize
RPadExtent fSize
pad size
Definition
RPad.hxx:31
ROOT::Experimental
Definition
RDirectory.hxx:30
graf2d
gpadv7
src
RPad.cxx
ROOT v6-24 - Reference Guide Generated on Tue Aug 22 2023 03:06:20 (GVA Time) using Doxygen 1.9.8