15#include "ROOT/RText.hxx"
16#include "ROOT/RLine.hxx"
22 auto canvas = RCanvas::Create(
"Different line widths");
25 for (
int i = 10; i > 0; i--){
28 auto text = canvas->Add<RText>(
RPadPos(.3_normal, 1_normal*num), std::to_string(i));
29 text->text.size = 0.04;
30 text->text.align = RAttrText::kRightCenter;
31 text->text.font = RAttrFont::kArialOblique;
33 auto draw = canvas->Add<RLine>(
RPadPos(.32_normal, 1_normal*num),
RPadPos(.8_normal, 1_normal*num));
Option_t Option_t TPoint TPoint const char text
A position (horizontal and vertical) in a RPad.