On Sun, 14 May 2023 19:38:12 GMT, Rajat Mahajan <rmaha...@openjdk.org> wrote:
>>>So, I added this code specifically to have improved rendering for the 25% >>>cases, like 125%, 225%, 325% as rendering was a little off f >> >> But why it looks off if the clipRound is used? Does that size scales worse >> or does it cut the image at some direction? > > With clipRound this is what I see with 150% Scaling: > >  > > With the current code change this is what I see with 150% Scaling: > >  > > I see it scaled down with clipRound. > I think this because of the calculation difference I mentioned above, as this > is very sensitive and even 1pixel here or there can cause rendering issues. >From the picture above it does not seem that the difference is just 1 pixel, >no? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13701#discussion_r1194398790