Details

    • Technical task
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • Quick: Shapes
    • None

    Description

      If a QPainterPath contains self-overlapping parts, it will mostly be handled by the triangulator (so the hull will be correct) and a proper concave/convex check to make sure the curves are solved correctly. For placing a hole in the middle of the letter A for instance, this is sufficient.

      But there may be shapes where overlaps cause issues, for instance, if a curve slices through another curve to generate new curves. For shapes like this:

      We might have to first run some sort of simplification on the shape to solve the overlaps and generate a non-overlapping painter path and then use this as source for the algorithm.

      Attachments

        1. image-2023-02-14-12-37-01-548.png
          46 kB
          Eskil Abrahamsen Blomfeldt
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            amr_essam Amr Elsayed
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes