Re: [ROOT] Borders in Canvas

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jul 03 2002 - 15:18:27 MEST


Matt,

Currently you cannot get a simple line around the pad.
This could be an option.
You can do something like:
TBox b(gPad->GetX1(),gPad->GetY1(),gPad->GetX2(),gPad->GetY2());
b.SetFillStyle(0);
b.SetLineWidth(6);
b.Draw();

Rene Brun

On Wed, 3 Jul 2002, Matt Palmer wrote:

> On Monday 01 July 2002  7:51 pm, Rene Brun wrote:
> >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
> >
> So I can't have a simple black border?
> I want this primarily for producing PS files
> 
> Thanks
> Matt
> 



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