Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How QPainterPath clear before 5.13
Qt 6.12 LTS is out! See what's new in the release blog

How QPainterPath clear before 5.13

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 884 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sonichyS Offline
    sonichyS Offline
    sonichy
    wrote on last edited by
    #1

    https://doc.qt.io/qt-5/qpainterpath.html#clear
    void QPainterPath::clear()
    Clears the path elements stored.
    This allows the path to reuse previous memory allocations.
    This function was introduced in Qt 5.13.

    https://github.com/sonichy

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by
      #2
      path = QPainterPath();
      
      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved