12 #include "ROOT/TColor.hxx" 13 #include "ROOT/TText.hxx" 14 #include "ROOT/TLine.hxx" 25 for (
int i=10; i>0; i--){
29 auto optts = canvas->Draw(Experimental::TText(
pt,
Form(
"%d", i)));
30 optts->SetTextSize(13);
31 optts->SetTextAlign(32);
32 optts->SetTextFont(52);
36 auto optls = canvas->Draw(Experimental::TLine(pl1, pl2));
37 optls->SetLineWidth(i);
A normalized coordinate: 0 in the left, bottom corner, 1 in the top, right corner of the TPad...
Namespace for new ROOT classes and functions.
A position (horizontal and vertical) in a TPad.
char * Form(const char *fmt,...)
static std::shared_ptr< TCanvas > Create(const std::string &title)