Create grey scale of 200x200 boxes.
{
for (
int i = 0; i <
n; i++) {
for (
int j = 0;
j <
n;
j++) {
}
}
TPad *
p =
new TPad(
"p",
"p", 0.3, 0.3, 0.7, 0.7);
TText *t =
new TText(0.5, 0.5,
"GUI Background Color");
}
int Int_t
Signed integer 4 bytes (int)
float Float_t
Float 4 bytes (float)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The most important graphics class in the ROOT system.
Base class for several text objects.
- Author
- Olivier Couet
Definition in file greyscale.C.