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

bool QPainterPath::intersects(const QLineF &, QPointF *intersectionPoint)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • None
    • GUI: Painting
    • None

    Description

      It would be great to have a way to determine the first point at which a QLineF intersects a QPainterPath. This is useful in any application that requires ray casting (especially games).

      http://stackoverflow.com/questions/9393672/intersection-point-of-qpainterpath-and-line-find-qpainterpath-y-by-x
      http://stackoverflow.com/questions/17512547/finding-the-point-of-intersection-between-a-line-and-a-qpainterpath

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            mitch_curtis Mitch Curtis
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes