RE: [ROOT] kWhite is transparent

From: Bernd Reinhold (Bernd.Reinhold@cern.ch)
Date: Wed Aug 11 2004 - 15:58:08 MEST


Hi!

I received the reply below. And it worked...
For me this is solved, no need to process this any further. Thanks, Stelios.
(Stelios answer was not posted to the mailing list?!)

/Bernd.


> -----Original Message-----
> From: Stilianos Kesisoglou [mailto:kesisogl@fnal.gov]
> Sent: Saturday, August 07, 2004 8:45 PM
> To: 'Bernd Reinhold'
> Subject: RE: [ROOT] kWhite is transparent
>
>
> Hi,
>
> Try SetFillColor(10) (that is white)
>
> Cheers,
> Stelios.
>


> -----Original Message-----
> From: Rene Brun [mailto:brun@pcbrun.cern.ch]
> Sent: Wednesday, August 11, 2004 3:38 PM
> To: Bernd Reinhold
> Cc: olivier.couet@cern.ch; roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] kWhite is transparent
>
>
> Olivier will process this mail once he is back next week.
>
> Rene Brun
>
> On Sat, 7 Aug
> 2004, Bernd Reinhold wrote:
>
> > Hi!
> >
> > It seems as if kWhite is transparent, even when I use
> SetFillStyle(1001) (solid). If I have a histogram h1 in grey and
> another histogram h2 in front of it with
> > h1->SetFillColor(12);
> > h1->Draw();
> > h2->SetFillColor(kWhite);
> > h2->SetFillStyle(1001);
> > h2->Draw("same");
> > then it is "filled" with the same grey as histogram h1, or just
> transparent. But I would like it to be white.
> > The same problem or feature with the patterns:
> > what is white in the pattern 3004 is just transparent. On a
> yellow background it will be yellow.
> > Also in this case, I'd like it to be white by default.
> > For the patterns it would be nice to have a backgroundcolor
> (which is white by default and not transparent) and a pattern
> color, which can already be set with SetFillColor()
> >
> > I need a white, that is not transparent. What do I have to do?
> >
> > root: 3.10/02 01.04.2004
> >
> > Thanks, Bernd.
> >
>



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET