When Histogram is stretched for not integer values behavior between 4.2 and 4.3 differs:
4.2 draws solid histogram and only blurs edges.
4.3 draws stripes between histogram bars.
2018-10-28_17-11-55.png
Image is scaled 8x using nearest neighbour algorithm.
Tested on 4.3 Beta r3260.
Test skin code:
rxtd wrote: ↑October 28th, 2018, 10:32 am
When Histogram is stretched for not integer values behavior between 4.2 and 4.3 differs:
4.2 draws solid histogram and only blurs edges.
4.3 draws stripes between histogram bars.
2018-10-28_17-11-55.png
Image is scaled 8x using nearest neighbour algorithm.
Tested on 4.3 Beta r3260.
Test skin code:
This seems to be due to a difference in how antialiasing of edges is done in D2D vs GDI+. We noted a similar small issue with Roundline, and I suspect they are related. I'm not 100% sure, but it appears that we just can't make that behave the same as GDI+, and we might have to live with it.
It seems to be a difference in how edges are antialiased when the "ending" and "starting" points of two drawing elements have edges that abut or overlap. Feels to me that the edges are antialiased with whatever is the "background", and not with the other element, where the expectation in this case is that they abut and are the same color, and there should be no antialiasing. So in effect, the bar(s) are antialiased with the dark background, and that "fade out" effect then overlaps with the "fade in" effect on the next bar.
For this example, where there are nothing but straight edges, I think you can actually fix the issue by removing the AntiAlias =1 option. That's not going to be helpful in other cases like Roundline, where there are really no straight edges, but it might be in this case.