Re: [ROOT] Borders in Canvas

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jul 01 2002 - 20:51:41 MEST


Hi Matt,

The canvas/pad border color depends on the canvas/pad color.
Two colors are used:
 - light color to paint the left & top side
 - dark color to paint the bottom & right side

The light color is canvas_color+150
The dark color  is canvas_color+100

see TPad::PaintBorder

Rene Brun


On Mon, 1 Jul 2002, Matt Palmer wrote:

> Hi,
> Does anyone know how to change the colour of the borders in a TCanvas esp the 
> borders created when you use gPad->Divide() ??
> 
> I've tried everything I can think of: SetLineColor, SetFrameLineColor, 
> HighLight(kBlack) etc, but I can't get those borders to change colour.
> 
> I'm using version 3.03/05 icc compiler, KDE v2.1, Redhat 7.1
> 
> Thanks
> Matt
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET