[Interest] QPainter overlapping lines display problem.
Reinhardt Behm
rbehm at hushmail.com
Thu Oct 19 08:47:58 CEST 2017
On Monday 16 October 2017 12:17:28 Loic Le Goff wrote:
> Hello developpers !
>
> I'am trying to draw multiple lines with a width of 1px (my pen is fully
> opaque), some of them are sitting on top of each other on some segments.
> The default display at scale 1 is fine/uniform.
> When I zoom out, lines become less than 1px on screen and they start to
> appear with opacity causing that I can see other lines below it.
> My antialiasing is off.
>
> Is there a reason why the opacity is changing ? How to avoid that ?
>
> Here is the topic on the forum :
> https://forum.qt.io/topic/84154/painter-drawline-overlapping-opacity-problem
> s-with-100-opaque-pen/13
>
> Thank you if you can help, this is a very annoying problem.
Caused by anitaliasing?
--
Reinhardt
More information about the Interest
mailing list