Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-4538

Text clipping is not implement for PNG output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: < v5-28-00
    • Fix Version/s: None
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      All

      Description

      When run in batch mode, the following macro shows the problem:

      {
         TCanvas *C = new TCanvas("C", "C",0,0,600,600);
         C->SetFillColor(30);
       
         TPad *P = new TPad("P", "P",0.2,0.2,0.8,0.8);
         P->SetFillColor(5);
         P->Draw();
         P->cd();
       
         TText t(.5,.5,"This text is not clipped in PNG output");
         t.Draw();
       
         C->Print("C.png");
      }

        Attachments

          Activity

            People

            Assignee:
            couet Olivier Couet
            Reporter:
            couet Olivier Couet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: