Home
last modified time | relevance | path

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

/external/libpng/contrib/visupng/
DVisualPng.c463 int xNew, yNew; in CenterAbout() local
497 yNew = rParent.top + ((hParent - hChild) /2); in CenterAbout()
498 if (yNew < rWorkArea.top) { in CenterAbout()
499 yNew = rWorkArea.top; in CenterAbout()
500 } else if ((yNew+hChild) > rWorkArea.bottom) { in CenterAbout()
501 yNew = rWorkArea.bottom - hChild; in CenterAbout()
505 return SetWindowPos (hwndChild, NULL, xNew, yNew, 0, 0, SWP_NOSIZE | in CenterAbout()
828 int xNew, yNew;
861 for (yNew = 0; yNew < cyNewSize; yNew++)
863 yOld = yNew * cyImgSize / cyNewSize;