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

Add QPolygon::intersect(const QRect&) overload that uses the same alogorithm as QPolygonClipper

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • None
    • GUI: Painting
    • None

    Description

      Currently QPolygon has a function that calculates the intersection between another QPolygon and this internally uses the QPathClipper implementation. It would be useful if there was an overload that took a QRect and used the "Sutherland-Hodgman" algorithm that is used by the QPolygonClipper class.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            jabarron Jason Barron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes