12 #include "RQ_OBJECT.h" 13 #include "nutools/EventDisplayBase/Printable.h" 16 class TGCompositeFrame;
18 class TRootEmbeddedCanvas;
23 RQ_OBJECT(
"evdb::Canvas")
29 virtual void Draw(
const char*
opt=0) = 0;
32 virtual const char*
PrintTag()
const {
return "sub-class needs print tag"; }
33 virtual const char*
Description()
const {
return "sub-class needs description"; }
34 virtual void Print(
const char*
f);
50 #endif // EVDB_CANVAS_H void Connect()
Make signal/slot connections.
Base class for printable objects.
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)
TRootEmbeddedCanvas * fEmbCanvas
Embedded canvas.
virtual void Draw(const char *opt=0)=0