Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126819

Stroke width 0 is interpreted differently by the QuickShape renderers

    XMLWordPrintable

Details

    • c2931e8cb (dev), 182b6f893 (6.8)

    Description

      • The default Geometry renderer still renders it, but as it is so thin, it appears as only a few disconnected pixels here and there (visually useless, see screenshot).
      • The Curve renderer disables the stroke, nothing is rendered.
      • The SW renderer still renders it, and sets the QPen width to 0, which triggers the old magic that makes the actual width 1 and the pen cosmetic.

      Attached screenshot shows the effect on some overlapping shapes. The stroke has width 0, color white. The red shapes are rendered by Geometry renderer, the blue are the same rendered with Curve renderer. 

      Attachments

        1. shape_intersecting1.png
          39 kB
          Eirik Aavitsland
        For Gerrit Dashboard: QTBUG-126819
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            vgt Eirik Aavitsland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes