Re: [ROOT] kWhite is transparent

From: Rene Brun (
Date: Wed Aug 11 2004 - 15:37:51 MEST

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