20#include "ROOT/RLine.hxx"
26 auto canvas = RCanvas::Create(
"what to do with a pad!");
27 auto pads = canvas->Divide(3, 3);
29 for (
int i = 0; i < 3; ++i)
30 for (
int j = 0; j < 3; ++j) {
31 pads[i][j]->Draw<RLine>()->SetP1({0.1_normal, 0.1_normal}).SetP2({0.9_normal, 0.9_normal});
32 pads[i][j]->Draw<RLine>()->SetP1({0.1_normal, 0.9_normal}).SetP2({0.9_normal, 0.1_normal});