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



  • 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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.