Home
last modified time | relevance | path

Searched refs:rWorkArea (Results 1 – 1 of 1) sorted by relevance

/external/libpng/contrib/visupng/
DVisualPng.c461 RECT rChild, rParent, rWorkArea; in CenterAbout() local
480 &rWorkArea, in CenterAbout()
483 rWorkArea.left = rWorkArea.top = 0; in CenterAbout()
484 rWorkArea.right = GetSystemMetrics(SM_CXSCREEN); in CenterAbout()
485 rWorkArea.bottom = GetSystemMetrics(SM_CYSCREEN); in CenterAbout()
490 if (xNew < rWorkArea.left) { in CenterAbout()
491 xNew = rWorkArea.left; in CenterAbout()
492 } else if ((xNew+wChild) > rWorkArea.right) { in CenterAbout()
493 xNew = rWorkArea.right - wChild; in CenterAbout()
498 if (yNew < rWorkArea.top) { in CenterAbout()
[all …]