This example display only texts in web browser.
const char *
blurbs[] = {
"Love",
"Peace",
"ROOT",
"Code",
"Courage",
"Quiche"};
const char *
fonts[] = {
"comic",
"comicbd",
"verdana",
"BlackChancery",
"georgia",
"georgiai"};
const char *
blurbs2[] = {
"Čüšék! Šèžëçàgïlá",
"Αβρασαξ",
"πφηθωμβτ"};
const char *
fonts2[] = {
"LiberationMono-Regular",
"LiberationSerif-Regular"};
{
for (
int i = 0; i <
N_Texts; i++) {
} else {
}
auto &t =
text->RefMainTrans();
t.SetRotByAngles(
r.Uniform(-pi, pi),
r.Uniform(-pi, pi),
r.Uniform(-pi, pi));
} else {
text->SetFontSize(
r.Uniform(0.001, 0.05));
}
TColor::GetColor((
float)
r.Uniform(0, 0.5), (
float)
r.Uniform(0, 0.5), (
float)
r.Uniform(0, 0.5)));
TColor::GetColor((
float)
r.Uniform(0, 0.2), (
float)
r.Uniform(0, 0.2), (
float)
r.Uniform(0, 0.2)));
TColor::GetColor((
float)
r.Uniform(0.7, 1.0), (
float)
r.Uniform(0.7, 1.0), (
float)
r.Uniform(0.7, 1.0)));
text->SetDrawFrame(
true);
}
}
{
for (
int i = 0; i <
N_Jets; i++) {
}
}
{
auto eveMng = REX::REveManager::Create();
eveMng->AllowMultipleRemoteConnections(
false,
false);
for (
int i = 0; i <
n_fonts; ++i) {
}
}
os->SetIsOverlay(true);
}
double Double_t
Double 8 bytes.
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 GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char text
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
Base class for REveUtil visualization elements, providing hierarchy management, rendering control and...
Draws a jet cone with leading particle is specified in (eta,phi) and cone radius is given.
Eve representation of a GL view.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
This is the base class for the ROOT Random number generators.
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
Namespace for ROOT features in testing.
constexpr Double_t TwoPi()