21#include "ROOT/RCanvas.hxx"
23#include "ROOT/RText.hxx"
31 auto canvas = RCanvas::Create(
"Canvas Title");
33 for (
int i=0; i<=360; i+=10) {
34 auto opts = canvas->Draw(
RText({0.5_normal, 0.6_normal},
"____ Hello World"));
36 RColor col(0.0015*i, 0.0025*i ,0.003*i);
37 opts->SetColor(col).SetSize(10+i/10).SetAngle(i).SetAlign(13).SetFont(42);
#define R__LOAD_LIBRARY(LIBRARY)
A color: Red|Green|Blue|Alpha, or a position in a RPalette.