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

Radial Gradient API improvement

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.0
    • 4.7.0
    • GUI: Painting
    • None
    • Qt linux

    • da55c1ea92474e989e5582b02815936bbf584405

    Description

      HTML5 canvas element supports radial gradients, which cannot be completely implemented using the current QRadialGradient API. This is specified here:
      http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-createradialgradient. QRadialGradient::QRadialGradient only take 5 parameters, but canvas createRadialGradient take 6 parameters.

      Because of this limitation, http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/colors%20and%20styles/radial_gradient.html fails on Qt Test Browser.

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            q5zhang qizhang
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes