Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What anti-aliasing algorithm does QPainter take to draw a Polygon?
Forum Updated to NodeBB v4.3 + New Features

What anti-aliasing algorithm does QPainter take to draw a Polygon?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 425 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.
  • M Offline
    M Offline
    MartinChan 0
    wrote on last edited by
    #1

    I am trying to imitate the QPainter way to do anti-aliasing , and when I draw a circle ,and it's edge was like this.
    QPainter( using drawPolygon with anti-aliasing ):
    0_1516011464247_perfect.PNG
    My Gaussian:
    0_1516011486429_gaussian.PNG
    My bilateral (after Gaussian):
    0_1516011519761_BilateralFilter.PNG

    So I still cant get a Qt's style anti-aliasing ,can anybody tell what algorithm does QPainter take to do Anti-aliasing?

    1 Reply Last reply
    0

    • Login

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