Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104122 Anti-aliased curve rendering for shapes
  3. QTBUG-112340

High-level optimization: Add path property flags to the API

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • None
    • bc65c90cc (dev), 96bd963cb (dev), 7b439b7e5 (6.7)

    Description

      1. The user may have information about the input path which can save significant preprocessing if known. Add API to allow the user to specify this. E.g. it may be known that
        • all curves are quadratic (although stored in cubic form in QPainterPath)
        • the path adheres to a convention for determining inside/outside
        • the path is convex
        • the path has no self-intersections
      2. Currently we tear down everything (all nodes) whenever something changes (DirtyGeometry). Implement more finegrained flags (DirtyPath/DirtyOutline) to save unnecessary recalculation
      3. Cleanup to facilitate the above: avoid the kludge of passing the entire pathData  object to addPathNodes
      4. Ideally do something about debugNodes - problematic for the above that it is common for fill & stroke

      Attachments

        For Gerrit Dashboard: QTBUG-112340
        # Subject Branch Project Status CR V

        Activity

          People

            tvete Paul Olav Tvete
            vgt Eirik Aavitsland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes