14 #include "nutools/EventDisplayBase/Canvas.h" 15 #include "nutools/EventDisplayBase/Printable.h" 21 #include "TRootEmbeddedCanvas.h" 44 fFrame =
new TGCompositeFrame(mf, 60, 60, kHorizontalFrame);
47 fLayout =
new TGLayoutHints(kLHintsTop | kLHintsLeft | kLHintsExpandX |
48 kLHintsExpandY, 5, 5, 5, 5);
53 name +=
"evdb::Canvas";
void Connect()
Make signal/slot connections.
TGCompositeFrame * fFrame
Graphics frame.
TCanvas * fCanvas
The ROOT drawing canvas.
TGLayoutHints * fLayout
Layout hints for frame.
Manage all things related to colors for the event display.
float fAspectRatio
fYsize/fXsize
virtual const char * Description() const
unsigned short fXsize
Size of the canvas;.
unsigned short fYsize
Size of the canvas;.
virtual const char * PrintTag() const
virtual void Print(const char *f)
static void AddToListOfPrintables(const char *name, evdb::Printable *p)
TRootEmbeddedCanvas * fEmbCanvas
Embedded canvas.