[OpenJDK 2D-Dev] RFR: 8166038 BufferedImage methods getTileGridXOffset() and getTileGridYOffset() return a non 0 value for sub images
Jayathirth D v
JAYATHIRTH.D.V at ORACLE.COM
Sat May 16 04:33:29 UTC 2020
Hi Martin,
Apologies for late reply(mail got lost and I forgot about checking it).
I was under the impression that we have another implementation of RenderedImage which we can use, but looks like there are none.
Doing that for just this test case is not needed.
webrev.01 looks good to me.
Thanks,
Jay
> On 24-Apr-2020, at 6:38 PM, Martin Desruisseaux <martin.desruisseaux at geomatys.com> wrote:
>
> Hello Jayathirth
>
> Le 24/04/2020 à 14:32, Jayathirth D v a écrit :
>
>> Then its better if we can include scenarios in test case(like using RenderedImage) to actually verify this behaviour(non-zero grid offsets) instead of just having BufferedImage.
>>
> No problem, I can edit the patch. But by scenario do you mean a static method like below?
>
> /**
> * Verifies that the tile grid offsets provide a consistent mapping
> * from the tile coordinate system and to the pixel coordinate system.
> */
> static void verifyTileGridOffsets(RenderedImage img) {
> ...
> }
> Martin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20200516/47bd0372/attachment.htm>
More information about the 2d-dev
mailing list