18 #include <experimental/string_view>
31 std::vector<std::unique_ptr<Internal::TDrawable>>
fPrimitives;
48 template <
class T,
class OPTIONS>
std::unique_ptr< Internal::TDrawable > GetDrawable(TCoopPtr< THist< DIMENSION, PRECISION >> hist, THistDrawOptions< DIMENSION > opts={})
Namespace for new ROOT classes and functions.
static TCoopPtr< TCanvas > Create()
static const std::vector< TCoopPtr< TCanvas > > & GetCanvases()
void Draw(TCoopPtr< T > what, const OPTIONS &options)
Add a something to be painted, with options. The pad claims shared ownership.
std::vector< std::unique_ptr< Internal::TDrawable > > fPrimitives
basic_string_view< char > string_view
void Draw(TCoopPtr< T > what)
Add a something to be painted. The pad claims shared ownership.
Graphic container for TDrawable-s.
TCanvas()=default
We need to keep track of canvases; please use Create()
Several pointers point to the same object, any of them can delete the object, setting all of them to ...