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

PaintLine not correctly drawn if out of pad

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • < v5-28-00
    • 5.34/36, 6.08/00
    • Graphics
    • None
    • Debian

    Description

      I have a TLine, but it is not correctly drawn if one of the coordinates is out of the pad, ie, it is drawn as a vertical line, but it should be oblique. The bottom coordinate is changed somehow when drawing.

      See attached script and data file, which is run through
      root -l opg2root.cpp+(\"tests.opg\") -b -q -n

      See then tests/s10_hYX.png, the green vertical line, (second screenshot).

      If I uncomment line 1396, then the arrow is drawn correctly (first screenshot).

      Attachments

        1. opg2root.cpp
          53 kB
        2. s10_hYX.png
          s10_hYX.png
          56 kB
        3. s10_hYX.png
          s10_hYX.png
          56 kB
        4. tests.opg
          825 kB

        Activity

          People

            couet Olivier Couet
            2e7f1fb192878048ddc9 Fernando Hueso González (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: