I think it would be useful to have as an option - just so that the output can be controlled for printing/submitting purposes. I would think that functions like: Get/SetBorderDarkColour(int colour) Get/SetBorderLightColour(int colour) would be the clearest way of controlling it, with defaults to the current values. A single line can then be achieved by setting the two colours as appropriate and setting the border width to 1. Thanks Matt On Wednesday 03 July 2002 2:18 pm, Rene Brun wrote: >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