RFR: JDK-8294680: Refactor scaled border rendering [v3]
Alexey Ivanov
aivanov at openjdk.org
Wed Jan 4 19:38:04 UTC 2023
On Mon, 12 Dec 2022 20:43:39 GMT, Rajat Mahajan <duke at openjdk.org> wrote:
>> @rajamah In-order to paint the border even when g is not a Graphics2D object I have added the `resetTransform` check here again and additionally to keep the if & else block close-by, which is easier to understand rather than having the blocks separated.
>
> sure, makes sense. Thanks
Still, I think it makes sense to combine this block with the above one.
If `resetTransform` is true, the transform is reset and variables are set to the values as calculated in this block; otherwise, the variables are initialised with the default values.
-------------
PR: https://git.openjdk.org/jdk/pull/11571
More information about the client-libs-dev
mailing list