[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: [OpenJDK 2D-Dev] RFR: 8166038 BufferedImage methods getTileGridXOffset() and getTileGridYOffset(
From: Martin Desruisseaux <martin.desruisseaux () geomatys ! com>
Date: 2020-04-24 13:08:08
Message-ID: 2250d1eb-5043-cf4a-66d4-8877fc6acd52 () geomatys ! com
[Download RAW message or body]
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
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">
<p>Hello Jayathirth</p>
<p>Le 24/04/2020 à 14:32, Jayathirth D v a écrit :</p>
</div>
<blockquote type="cite"
cite="mid:E3B941DA-08F7-4996-8070-64458D302AFE@ORACLE.COM">
<p>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
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.</p>
</blockquote>
<p>No problem, I can edit the patch. But by scenario do you mean a
static method like below?</p>
<blockquote>
<pre>/**
* 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) {
...
}
</pre>
</blockquote>
<p>Martin</p>
<p><br>
</p>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic