12 #include "ROOT/RText.hxx"
13 #include "ROOT/RMarker.hxx"
18 using namespace ROOT::Experimental;
20 auto canvas = RCanvas::Create(
"Canvas Title");
25 for (
int i=1;i<16;i++) {
27 for (
int row=0;row<3;++row) {
30 if (row==1) style+=19;
else if (row==2) style+=34;
32 RPadPos pt(RPadLength::Normal(x), .12_normal + 0.3_normal*row);
33 canvas->Draw<RText>(pt, std::to_string(style));
35 RPadPos pm(RPadLength::Normal(x), .25_normal + 0.3_normal*row);
36 canvas->Draw<RMarker>(pm)->AttrMarker().SetStyle(style).SetSize(2.5);