Kaydet (Commit) bfad9f5b authored tarafından Andrzej Hunt's avatar Andrzej Hunt

libreofficekit_tilederendering: test all 4 tiles.

The use of VisPortChgd ensures that the tiles all render as
expected, i.e. that the pixels match 1:1 irrespective of actual tile
size (for identical zoom factors and document areas).

Change-Id: Ib1e1df4f8257546c2f7993a8160c309a52037d8b
üst 94c72083
......@@ -134,9 +134,9 @@ void TiledRenderingTest::testOverlay()
// Iterate over our array of tiles
// However for now we only bother with the top-left
// tile as the other ones don't match yet...
for ( int x = 0; x < 1; x++ )
for ( int x = 0; x < 2; x++ )
{
for ( int y = 0; y < 1; y++ )
for ( int y = 0; y < 2; y++ )
{
int xLarge = (x * (4 * nTotalWidthPix / 2)) + xSmall;
int yLarge = (y * (nTotalHeightPix / 2)) + ySmall;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment