25#include "ROOT/RLine.hxx"
31 auto canvas = RCanvas::Create(
"RCanvas::Divide example");
32 auto pads = canvas->Divide(3, 3);
34 for (
int i = 0; i < 3; ++i)
35 for (
int j = 0; j < 3; ++j) {
36 pads[i][j]->Draw<RLine>()->SetP1({0.1_normal, 0.1_normal}).SetP2({0.9_normal, 0.9_normal});
37 pads[i][j]->Draw<RLine>()->SetP1({0.1_normal, 0.9_normal}).SetP2({0.9_normal, 0.1_normal});