i draw frequency spectrums with drawVerticalLine, when i use this in a scaling context, the area isn't filled homogeneously.
So we need a variant which uses integer rounding on pixel level.
something like drawVerticalLineRoundXIntPixel
Current behavior 150% zoom (in this case the area isn't filled homogeneously, because the alpha-level isn't additive mixed, instead interpolated which is correct for the most use cases, but not in this use case)
line 1 src-position 1 dest-position 1.5 thickness 1.5
line 2 src-position 2 dest-position 3 thickness 1.5
line 3 src-position 3 dest-position 4.5 thickness 1.5
line 4 src-position 4 dest-position 6 thickness 1.5
New Behavior drawVerticalLineRoundXIntPixel
--> if we have a 150% zoom, the thickness of the line is 1 or 2, depending on the position
line 1 src-position 1 dest-position 1 thickness 1
line 2 src-position 2 dest-position 2 thickness 2
line 3 src-position 3 dest-position 4 thickness 1
line 4 src-position 4 dest-position 5 thickness 2