Searched refs:aPicSize (Results 1 – 1 of 1) sorted by relevance
124 POINT _calcULCorner( HWND hwnd, const CDimension& aPicSize ) in _calcULCorner() argument133 ulCorner.x = SubDiv( nWidthWnd, aPicSize.m_cx, 2 ); in _calcULCorner()134 ulCorner.y = SubDiv( nHeightWnd, aPicSize.m_cy, 2 ); in _calcULCorner()154 return ( ( ( nWidthWnd - HORZ_BODER_SPACE ) >= aPicSize.m_cx ) && in _pictureSizeFitsWindowSize()155 ( ( nHeightWnd - VERT_BORDER_SPACE ) >= aPicSize.m_cy ) ); in _pictureSizeFitsWindowSize()165 CDimension _scalePictureSize( HWND hwnd, const CDimension& aPicSize ) in _scalePictureSize() argument167 CDimension scaledPicSize = aPicSize; in _scalePictureSize()169 if ( !_pictureSizeFitsWindowSize( hwnd, aPicSize ) ) in _scalePictureSize()179 if ( aPicSize.m_cx >= aPicSize.m_cy ) in _scalePictureSize()184 aPicSize.m_cy * nWidthWnd / aPicSize.m_cx ); in _scalePictureSize()[all …]
Completed in 4 milliseconds