12#include "ROOT/RText.hxx"
13#include "ROOT/RMarker.hxx"
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;
33 canvas->Draw<RText>(
pt, std::to_string(
style));
36 canvas->Draw<RMarker>(pm)->AttrMarker().SetStyle(
style).SetSize(2.5);
A position (horizontal and vertical) in a RPad.