9#ifndef ROOT7_TObjectDrawable
10#define ROOT7_TObjectDrawable
18namespace Experimental {
50 std::unique_ptr<RDisplayItem>
Display(
const RDisplayContext &)
override;
54 void Execute(
const std::string &)
final;
Base class for drawable entities: objects that can be painted on a RPad.
Provides v7 drawing facilities for TObject types (TGraph etc).
@ kColors
list of ROOT colors
@ kPalette
list of colors from palette
@ kStyle
instance of TStyle object
TObjectDrawable(const std::shared_ptr< TObject > &obj, const std::string &opt="")
Internal::RIOShared< TObject > fObj
The object to be painted.
std::string fOpts
drawing options
std::unique_ptr< TObject > CreateSpecials(int kind)
Create instance of requested special object.
const char * GetColorCode(TColor *col)
Convert TColor to RGB string for using with SVG.
void PopulateMenu(RMenuItems &) final
void CollectShared(Internal::RIOSharedVector_t &vect) final
void Execute(const std::string &) final
std::unique_ptr< RDisplayItem > Display(const RDisplayContext &) override
Create display item which will be delivered to the client.
virtual ~TObjectDrawable()=default
The color creation and management class.
Mother of all ROOT objects.
std::vector< RIOSharedBase * > RIOSharedVector_t
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...