summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4d1cf7)
raw | patch | inline | side by side (parent: f4d1cf7)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 10 May 2017 09:45:21 +0000 (12:45 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Thu, 18 May 2017 10:22:05 +0000 (13:22 +0300) |
kms++util/src/testpat.cpp | patch | blob | history |
index 6cb5d857b97f30f919cec85fa224bd76495e0f36..fbe3b2e2e47c227b2cae84cbd73784e1d2ab4914 100644 (file)
// white margin lines
if (x == xm1 || x == xm2 || y == ym1 || y == ym2)
return RGB(255, 255, 255);
+ // white box in top left corner
+ else if (x < xm1 && y < ym1)
+ return RGB(255, 255, 255);
// white box outlines to corners
else if ((x == 0 || x == w - 1) && (y < ym1 || y > ym2))
return RGB(255, 255, 255);