// $Id$
// $MpId: AliMpRowPainter.cxx,v 1.8 2006/05/24 13:58:32 ivana Exp $
// Category: graphics
-//
+
+//-----------------------------------------------------------------------------
// Class AliMpRowPainter
// ---------------------
// Class for drawing a row into canvas
// Included in AliRoot: 2003/05/02
// Authors: David Guez, IPN Orsay
+//-----------------------------------------------------------------------------
#include "AliMpRowPainter.h"
#include "AliMpGraphContext.h"
{
/// Get the owned object's position
- return fRow->Position();
+ return TVector2(fRow->GetPositionX(), fRow->GetPositionY());
}
//_______________________________________________________________________
{
/// Get the owned object's dimensions
- return fRow->Dimensions();
+ return TVector2(fRow->GetDimensionX(), fRow->GetDimensionY());
}
//_______________________________________________________________________
AliMpVRowSegment *rowSegment = fRow->GetRowSegment(iRowSeg);
gr->Push();
- gr->SetPadPosForReal(rowSegment->Position(),rowSegment->Dimensions());
+ gr->SetPadPosForReal(TVector2(rowSegment->GetPositionX(),rowSegment->GetPositionY()),
+ TVector2(rowSegment->GetDimensionX(),rowSegment->GetDimensionY()));
DrawObject(rowSegment,option+1);
gr->Pop();