#include "ROOT/TColor.hxx"
#include "ROOT/TText.hxx"
{
for (int i=0; i<=360; i+=10) {
auto opts = canvas->Draw(Experimental::TText({0.5_normal, 0.6_normal}, "____ Hello World"));
Experimental::TColor col(0.0015*i, 0.0025*i ,0.003*i);
opts->SetTextColor(col);
opts->SetTextSize(10+i/10);
opts->SetTextAngle(i);
opts->SetTextAlign(13);
opts->SetTextFont(42);
}
canvas->Show();
}
- Date
- 2017-10-17
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
- Author
- Olivier couet Olivi.nosp@m.er.C.nosp@m.ouet@.nosp@m.cern.nosp@m..ch
Definition in file text.cxx.