25#include "ROOT/RText.hxx"
33 auto canvas = RCanvas::Create(
"RText angle example");
36 auto draw = canvas->Draw<RText>(
RPadPos(0.5_normal, 0.6_normal),
"____ Hello World");
39 draw->text.size = 0.01 +
angle / 5000.;
40 draw->text.angle =
angle;
41 draw->text.align = RAttrText::kLeftTop;
42 draw->text.font = RAttrFont::kArial;
Option_t Option_t TPoint TPoint angle
A position (horizontal and vertical) in a RPad.
Namespace for ROOT features in testing.