Re: Changing the color of Tbox hatches

From: C. Bernet (bernet@phnx7.saclay.cea.fr)
Date: Fri Mar 17 2000 - 11:40:31 MET


Hello, 

Further tests with TPave show that there is only a difference between what
you see in the Canvas and what you get in the ps file :

TPave *p=new TPave(0.,0.,0.1,0.1,1);
p->SetFillColor(4);
p->SetFillStyle(3004);

will give you a blue box with black hatches in the canvas, and a white box
with blue hatches in the ps file.

	Colin
On Wed, 15 Mar 2000, C. Bernet wrote:

> 
> Hi ! 
> 
> While waiting for TLegend to be usable with the Plain style, I'm trying to
> make my own class "MyLegend".
> 
> I use a TPad in wich I draw a TPave and a TText, according to the
> attributes of the entry. It's working already, except for the color of
> hatches. 
> One can set the FillColor of an histogram to whatever you want, affecting 
> the hatches, and not background. Why is it not the same for TBox ? Which
> class could I use instead of TBox, in wich hatch colour can be modified  ?
> 
> Thanks !
> 		Colin	
> 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET