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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • 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

            qt.team.graphics.and.multimedia Qt Graphics Team
            averbenko Alex Verbenko
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes