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

QSvgGenerator does not respect the painter's clipping rect/region if one is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.3.4
    • SVG Support
    • None

    Description

      QSvgGenerator does not respect the painter's clipping rect/region if one is set

      Deferred:

      Fixing this bug would require implementing features of the SVG 1.1 Clip Module [1], and we currently only support SVG 1.2 Tiny.

      A work-around is to use the viewBox property of the QSvgGenerator to set a clip manually (new in 4.5). While this will not clip individual paint operations it will clip the resulting document to a given rectangle.

      [1] http://www.w3.org/TR/SVG11/masking.html#clip-mod

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes