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

QSvgGenerator clipping not implemented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      All

      Description

      QSvgGenerator clipping does not work due to SVG Tiny 1.2 which is not mentioned in docs and further Qt example for how to use QSvgGenerator makes a call to QPainter::setClipRect (https://doc.qt.io/qt-5/qtsvg-svggenerator-example.html) indicating stating that drawing code utilizing QPainter will work properly rendering to QSvgGenerator without the need to consider paint device specific behavior.

      Clarification that it can not work because of clip module is needed.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                docteam Qt Documentation Team
                Reporter:
                irfan.omair@digia.com Irfan Omair
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes