82   assert(
gPad != 
nullptr && 
"add_ellipse, no pad to add ellipse");
 
   86      ::Error(
"add_ellipse", 
"failed to find a new color index for a gradient fill");
 
  104   TCanvas *
const cnv = 
new TCanvas(
"radial gradients", 
"radial gradients", 800, 800);
 
  106      ::Error(
"radialgradients", 
"this demo requires OS X and ROOT built with --enable-cocoa");
 
  111   for (
unsigned i = 0; i < 100; ++i)
 
short Color_t
Color number (short)
 
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.
 
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
 
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
 
R__EXTERN TRandom * gRandom
 
void SetRadialGradient(const Point ¢er, Double_t radius)
Set radial gradient.
 
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
 
Double_t Rndm() override
Machine independent random number generator.
 
unsigned FindFreeCustomColorIndices(Color_t(&indices)[N])