33 #include <TVirtualX.h>
118 default: AppendPad(option);
130 Int_t col=gVirtualX->GetFillColor();
132 gPad->Range(0.,0.,1.,1.);
137 Float_t textSize = gVirtualX->GetTextSize();
138 gVirtualX->SetTextSize(12);
141 gVirtualX->SetTextSize(textSize);
146 gVirtualX->SetFillColor(col);
virtual ~AliMpRowPainter()
UInt_t GetID() const
Return row ID.
Double_t GetPositionX() const
virtual Double_t GetDimensionX() const =0
Return the x dimension of the row segment centre.
Class for drawing a row into canvas.
Double_t GetPositionY() const
static AliMpGraphContext * Instance()
void SetPadPosForReal(const TVector2 &position, const TVector2 &dimensions)
Double_t GetDimensionY() const
An interface for a row segment.
Double_t GetDimensionX() const
AliMpVRowSegment * GetRowSegment(Int_t i) const
virtual Double_t GetPositionX() const =0
Return the x position of the row segment centre.
virtual Double_t GetPositionY() const =0
Return the y position of the row segment centre.
Abstract base class for drawing objects into canvas.
virtual void Paint(Option_t *option)
Paint the associated object.
A row composed of the row segments.
void PaintWholeBox(Bool_t fill=kTRUE)
virtual Double_t GetDimensionY() const =0
Return the y dimension of the row segment centre.
virtual TVector2 GetPosition() const
Return the owned object's position.
AliMpVPainter * DrawObject(TObject *object, Option_t *option="")
Not implemented.
virtual void DumpObject()
TVector2 GetPadPosition() const
Return the position inside the graphics pad.
Int_t GetNofRowSegments() const
AliMpRow * fRow
the row to paint
Class describing the correspondance between a given area in pad, and a zone of real (cm) position...
virtual TVector2 GetDimensions() const
Return the owned object's dimensions.
virtual void Draw(Option_t *option)