Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/tests/region.c:
expect(Ok, status);
min_x = min_y = 10;
max_x = max_y = -1;
for (x = 0; x < 10; x++)
for (y = 0; y < 10; y++)
{
status = GdipBitmapGetPixel(bitmap, x, y, &color);
expect(Ok, status);
if (color) {
min_x = min(min_x, x);
min_y = min(min_y, y);
max_x = max(min_x, x);
max_y = max(min_y, y);
Why we are not checking colours? I guess that `min_x` colour will be 0, and max_x will be 9.