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

Make QSvgRenderer internals more accessible

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • SVG Support
    • None

    Description

      Since QSvgRenderer must parse the SVG, it would be useful to provide a more complete API for querying the SVG DOM. As it is, programs can query the existence of elements by id, get their bounding box, the document viewbox, and little more. Beyond that, a separate XML parser must be used to get information which MUST be readily available within QSvgRenderer, such as:

      • a list of element IDs
      • the document stylesheet
      • element/s at co-ordinate
      • element classes

      And DOM manipulations, such as:

      • Excluding elements from a render (visibility)
      • Modifying stylesheets
      • Modifying attributes

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mkam M Camilleri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes