Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. draw filled circle in QQuickItem::updatePaintNode
Forum Updated to NodeBB v4.3 + New Features

draw filled circle in QQuickItem::updatePaintNode

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 351 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    themts
    wrote on last edited by
    #1

    Hey guys,

    I want to draw a filled circle in a custom QQuickItem.
    If I'm not wrong I need to make it out of triangles and I'm wondering if there is no class in qt which takes care of the tesselation.

    I tried to use the Painter first, but because of performance-reasons I want to switch to the scene graph.

    Any advise?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      themts
      wrote on last edited by
      #2

      ok, i simply used QSGGeometry::DrawTriangleFan...

      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 Extensions
      • Unsolved