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

particles: use Path rather than Shape

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Quick: Particles
    • Labels:
      None

      Description

      It's confusing that links to Shape go to "Shape QML Type For specifying an area for affectors and emitters." The basic problem in QtQuick is that many types that sound like they ought to be representational are actually items that render in the scene as soon as they are declared. But Paths are purely representational, because we needed them for PathView. Because of that, we also need Shape to render a ShapePath which contains Paths. At first that seemed excessively verbose, but now I think it's good to separate representation from rendering. We should keep going and make QQuickPath the usual type whenever we need to represent the shape of something... such as the area for affectors and emitters. It has a list of pathElements, and it should be closed:true for this purpose.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes