Create grey scale of 200 x 200
boxes.
More...
Go to the source code of this file.
Create grey scale of 200 x 200
boxes.
{
for (
int i = 0; i <
n; i++) {
for (
int j = 0; j <
n; j++) {
TBox *b =
new TBox(n1*j, n1*(n-1-i), n1*(j+1), n1*(n-i));
}
}
TPad *p =
new TPad(
"p",
"p",0.3, 0.3, 0.7,0.7);
const char *guibackground =
gEnv->
GetValue(
"Gui.BackgroundColor",
"");
TText *t =
new TText(0.5, 0.5,
"GUI Background Color");
}
- Author
- Olivier Couet
Definition in file greyscale.C.