20 #include "ROOT/TColor.hxx" 21 #include "ROOT/TText.hxx" 33 for (
int i=0; i<=360; i+=10) {
34 auto opts = canvas->Draw(Experimental::TText({0.5_normal, 0.6_normal},
"____ Hello World"));
36 Experimental::TColor col(0.0015*i, 0.0025*i ,0.003*i);
37 opts->SetTextColor(col);
38 opts->SetTextSize(10+i/10);
39 opts->SetTextAngle(i);
40 opts->SetTextAlign(13);
41 opts->SetTextFont(42);
Namespace for new ROOT classes and functions.
static std::shared_ptr< TCanvas > Create(const std::string &title)