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

PaintLine not correctly drawn if out of pad

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: < v5-28-00
    • Fix Version/s: 5.34/36, 6.08/00
    • Component/s: Graphics
    • Environment:

      Debian

    • Platforms:
      x86_64-slc6-gcc48-opt
    • Development:

      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

            • Assignee:
              couet Olivier Couet
              Reporter:
              2e7f1fb192878048ddc9 Fernando Hueso González
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: