23 item->SetObjectID(fCurrentDrawableId);
24 fPadDisplayItem->Add(std::move(item));
29 fPadDisplayItem = std::make_unique<RPadDisplayItem>();
31 fPadDisplayItem->SetFrame(pad.
GetFrame());
35 fCurrentDrawableId = drawable->GetId();
37 drawable->Paint(*
this);
void PaintDrawables(const RPadBase &pad)
virtual ~RPadPainter()
Default destructor.
virtual void AddDisplayItem(std::unique_ptr< RDisplayItem > &&item)
add display item to the canvas
Base class for graphic containers for RDrawable-s.
const RFrame * GetFrame() const
const Primitives_t & GetPrimitives() const
Get the elements contained in the canvas.