Logo ROOT   6.08/07
Reference Guide
gradients.C File Reference

Detailed Description

This macro requires OpenGL, you can:

  1. call gStyle->SetCanvasPreferGL(kTRUE) before a canvas is created or
  2. set OpenGL.CanvasPreferGL to 1 in a $ROOTSYS/etc/system.rootrc.

Features:

  1. Radial and linear gradients
  2. Transparent/semitransparent colours.

Definition in file gradients.C.