I am puzzled because I am trying to draw TArcs
with Root V5.10.00 and above (5.12.0) and TArcs
that were transparent when compilling my lib.so
is now filled with White and no more transparent
my code is :
TArc *a = new TArc(xrho[2],yeta[2],0.16,180+ATan(yeta[2]/xrho[2])*180./Pi(),
360-ATan(yeta[2]/(1-xrho[2]))*180./Pi());a->Draw();// alpha
a = new TArc(1,0,0.22,180-ATan(yeta[2]/(1-xrho[2]))*180./Pi(),180);a->Draw();// beta
a = new TArc(0,0,0.20,0,ATan(yeta[2]/xrho[2])*180./Pi());a->Draw();// gamma
I cannot run your code because it is not complete. I tried to simulate the problem with something simple. The following macro draws a line and a TArc on top. For me it works fine: one can see the line below the arc. The arc is transparent. Do you have the problem with my little example ?
{
TCanvas *c1 = new TCanvas("c1", "c1",15,47,700,530);
c1->Range(0,0,1,1);
c1->SetBorderSize(2);
c1->SetFrameFillColor(0);
TLine *line = new TLine(0.3,0.8,0.6,0.4);
line->Draw();
TArc *arc = new TArc(0.4,0.6,0.1,0,360);
arc->Draw();
}