[ROOT] PostScript, Pave and hatched style

From: Dmitry Litvintsev (litvinse@fnal.gov)
Date: Sun Sep 08 2002 - 07:13:49 MEST


Hi ROOTers, 

I have encountered possible bug in ROOT PS generation. 

I do these commands:

	gROOT->SetStyle("Plain");
	TCanvas* c2 = new TCanvas("c2","c2",800,600);
	TPave* pave = new TPave(0.1,0.1,0.9,0.9);
	pave->SetFillColor(0);
	pave->SetFillStyle(3013); // supposed to be cross-hatched
	c2->cd();
	pave->Draw();
	pave->SaveAs("test.ps")

	I see cross-hatched pave in the canvas

first:
	if I try to look at the resulting file test.ps using ghostview
	like this:
		ghostview test.ps
	I get nothing, cursor turns into wristwatch and nothing happens
	
second:
	I looked at ghostview options and tried '-noantialias' (what the
	heck)
		ghostview -noantialias test.ps
	
	does display a picture. But the pave shown is not cross-hatched
 	it is as white as snow,		

	I am using some 3.02/07h Fermilab made root version build 
	for Linux under KAI. 

Can you reporoduce these problems and if yes could you fix them?

thanks,
Dmitry Litvintsev 



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