gStyle->SetFrameBorderMode() broken?

From: S.P. Wakely (wakely@hep.umn.edu)
Date: Thu Jan 28 1999 - 06:49:41 MET


Hi ROOTers,

I think the following macro demonstrates a problem with the TStyle member
fFrameBorderMode.  Unless I am wrong about the purpose of this member, the
following 2 pads should look identical.  The first one instead looks to have
a drop shadow.  When saved as EPS files, the first one has a red line
tracing the upper and leftmost sides of the frame.

Can anyone confirm this?
Thanks,
Scott

////
{
gROOT->SetStyle("Plain");
gStyle->SetFrameBorderMode(0);
TH1F *h = new TH1F("h","Test",10,0,10);

TCanvas *c = new TCanvas("c","Test", 800,400);
c->Divide(2,1);
c->cd(1);
h->Draw();

c->cd(2);
h->Draw();
c_2->GetFrame()->SetBorderMode(0);
c_2->Modified();
}



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET