How to default antialising to all QPixmap?
-
How i could make all QPixmaps be drawn with antialiasing in the entire qapplication?
I mean the pixmaps drawn with stylesheets like
border-image: image:
If there's no such flag or option if someone could help me find where in the qpainter.cpp source I could default the entire app to use the antialiasing rendering?
-
How i could make all QPixmaps be drawn with antialiasing in the entire qapplication?
I mean the pixmaps drawn with stylesheets like
border-image: image:
If there's no such flag or option if someone could help me find where in the qpainter.cpp source I could default the entire app to use the antialiasing rendering?
Can you tell us your exact problem with a minimal, compilable example? What exactly is wrong - are the pixmaps painted blurry on high-dpi screens?
-
Can you tell us your exact problem with a minimal, compilable example? What exactly is wrong - are the pixmaps painted blurry on high-dpi screens?
when the pixmaps are drawn with
border-radius:
their borders are jagged, while with antialiasing they don't.Is there any reason to qt doesn't use anti-aliasing on images by default?
-
when the pixmaps are drawn with
border-radius:
their borders are jagged, while with antialiasing they don't.Is there any reason to qt doesn't use anti-aliasing on images by default?
@SRuan You still did not provide a minimal, compilable example with some description on how to produce the issue.
-
@SRuan You still did not provide a minimal, compilable example with some description on how to produce the issue.
QWidget { border-image: url("C:/Users/Ruan/home.png"); border-radius: 12px; }
the image borders are jagged, while with antialiasing they don't.
how do i default all paint events to use anti aliasing?