This ROOT 7 example shows the various line styles.
#include "ROOT/RText.hxx"
#include "ROOT/RLine.hxx"
{
auto canvas = RCanvas::Create("Different RLine styles");
for (int i = 1; i <= 11; i++) {
if (i < 11)
else
text->text.align = RAttrText::kRightCenter;
text->text.font = RAttrFont::kArialOblique;
if (i < 11)
else
draw->line.pattern =
"10,2,8,2,10,6,1,6";
}
canvas->Show();
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char text
A position (horizontal and vertical) in a RPad.
- Date
- 2018-03-18
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
- Author
- Iliana Betsou
Definition in file rline_style.cxx.