Olivier Couet
authored
Paint() method. This fixes the problem reported and fixed here: https://savannah.cern.ch/bugs/?28302 by Oleksandr Grebenyuk. The folowing macro demonstrated the problem: { TCanvas *c1 = new TCanvas("c1", "c1",521,150,700,590); c1->Range(0,0,1,1); TPaveText *pt; TText *text; pt = new TPaveText(0.1106322,0.6004274,0.8448276,0.9764957,"br"); text = pt->AddText("Calculate from helvetica bold"); text = pt->AddText("Display with helvetica bold"); pt->Draw(); pt = new TPaveText(0.112069,0.1325301,0.8477011,0.5562249,"br"); pt->SetTextFont(22); text = pt->AddText("Calculate from helvetica bold"); text = pt->AddText("Display with times bold"); pt->Draw(); TLine *line = new TLine(0.8132184,0.9558233,0.8132184,0.2309237); line->SetLineColor(2); line->Draw(); line = new TLine(0.783046,0.5140562,0.783046,0.2309237); line->SetLineColor(2); line->Draw(); TArrow *arrow = new TArrow(0.783046,0.2610442,0.8146552,0.2610442,0.02,"<|>"); arrow->SetFillColor(2); arrow->SetFillStyle(1001); arrow->SetLineColor(2); arrow->Draw(); } git-svn-id: http://root.cern.ch/svn/root/trunk@19458 27541ba8-7e3a-0410-8455-c3a389f83636