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

Is QPainter::CompositionMode_Plus supposed to add alpha?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 6.6
    • GUI: Painting
    • None

    Description

      The documentation of QPainter::CompositionMode_Plus says "Both the alpha and color of the source and destination pixels are added together."

      When using an image with a FP pixel format, the colors seem to be added and even go beyond the 0-1 range, but the alpha isn't (it's capped at 1.0).

      Is this the expected behavior?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes