Lines Matching refs:aRect

195                 RECT aRect = aPlacement.rcNormalPosition;  in ImplSaveFrameState()  local
196 RECT aRect2 = aRect; in ImplSaveFrameState()
199 long nTopDeco = abs( aRect.top - aRect2.top ); in ImplSaveFrameState()
200 long nLeftDeco = abs( aRect.left - aRect2.left ); in ImplSaveFrameState()
201 long nBottomDeco = abs( aRect.bottom - aRect2.bottom ); in ImplSaveFrameState()
202 long nRightDeco = abs( aRect.right - aRect2.right ); in ImplSaveFrameState()
204 pFrame->maState.mnX = aRect.left + nLeftDeco; in ImplSaveFrameState()
205 pFrame->maState.mnY = aRect.top + nTopDeco; in ImplSaveFrameState()
206 pFrame->maState.mnWidth = aRect.right - aRect.left - nLeftDeco - nRightDeco; in ImplSaveFrameState()
207 pFrame->maState.mnHeight = aRect.bottom - aRect.top - nTopDeco - nBottomDeco; in ImplSaveFrameState()
212 RECT aRect; in ImplSaveFrameState() local
213 GetWindowRect( pFrame->mhWnd, &aRect ); in ImplSaveFrameState()
216 RECT aRect2 = aRect; in ImplSaveFrameState()
219 long nTopDeco = abs( aRect.top - aRect2.top ); in ImplSaveFrameState()
220 long nLeftDeco = abs( aRect.left - aRect2.left ); in ImplSaveFrameState()
221 long nBottomDeco = abs( aRect.bottom - aRect2.bottom ); in ImplSaveFrameState()
222 long nRightDeco = abs( aRect.right - aRect2.right ); in ImplSaveFrameState()
226 pFrame->maState.mnX = aRect.left+nLeftDeco; in ImplSaveFrameState()
227 pFrame->maState.mnY = aRect.top+nTopDeco; in ImplSaveFrameState()
228 pFrame->maState.mnWidth = aRect.right-aRect.left-nLeftDeco-nRightDeco; in ImplSaveFrameState()
229 pFrame->maState.mnHeight = aRect.bottom-aRect.top-nTopDeco-nBottomDeco; in ImplSaveFrameState()
579 RECT aRect; in ImplSalCreateFrame() local
580 GetClientRect( hWnd, &aRect ); in ImplSalCreateFrame()
581 pFrame->mnWidth = aRect.right; in ImplSalCreateFrame()
582 pFrame->mnHeight = aRect.bottom; in ImplSalCreateFrame()
888 com::sun::star::awt::Rectangle aRect; in ImplSalCalcFullScreenSize() local
889 …( xMonitor->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "ScreenArea" ) ) ) >>= aRect ) in ImplSalCalcFullScreenSize()
891 nScreenX = aRect.X; in ImplSalCalcFullScreenSize()
892 nScreenY = aRect.Y; in ImplSalCalcFullScreenSize()
893 nScreenDX = aRect.Width+1; // difference between java/awt convention and vcl in ImplSalCalcFullScreenSize()
894 nScreenDY = aRect.Height+1; // difference between java/awt convention and vcl in ImplSalCalcFullScreenSize()
901 com::sun::star::awt::Rectangle aRect; in ImplSalCalcFullScreenSize() local
902 …( xMonitor->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "ScreenArea" ) ) ) >>= aRect ) in ImplSalCalcFullScreenSize()
904 aCombined.Left() = aRect.X; in ImplSalCalcFullScreenSize()
905 aCombined.Top() = aRect.Y; in ImplSalCalcFullScreenSize()
906 aCombined.Right() = aRect.X + aRect.Width; in ImplSalCalcFullScreenSize()
907 aCombined.Bottom() = aRect.Y + aRect.Height; in ImplSalCalcFullScreenSize()
911 …( xMonitor->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "ScreenArea" ) ) ) >>= aRect ) in ImplSalCalcFullScreenSize()
913 … aCombined.Union( Rectangle( aRect.X, aRect.Y, aRect.X+aRect.Width, aRect.Y+aRect.Height ) ); in ImplSalCalcFullScreenSize()
1314 RECT aRect; in ImplSalShow() local
1315 GetClientRect( hWnd, &aRect ); in ImplSalShow()
1316 …FillRect( dc, &aRect, (HBRUSH) (COLOR_MENU+1) ); // choose the menucolor, because it's mostly noti… in ImplSalShow()
1535 RECT aRect; in SetPosSize() local
1536 ImplSalGetWorkArea( mhWnd, &aRect, NULL ); in SetPosSize()
1537 nScreenX = aRect.left; in SetPosSize()
1538 nScreenY = aRect.top; in SetPosSize()
1539 nScreenWidth = aRect.right-aRect.left; in SetPosSize()
1540 nScreenHeight = aRect.bottom-aRect.top; in SetPosSize()
1578 RECT aRect; in SetPosSize() local
1579 aRect.left = pt.x; in SetPosSize()
1580 aRect.top = pt.y; in SetPosSize()
1581 aRect.right = pt.x+2; in SetPosSize()
1582 aRect.bottom = pt.y+2; in SetPosSize()
1586 ImplSalGetWorkArea( mhWnd, &aRect, &aRect ); in SetPosSize()
1588 nX = ((aRect.right-aRect.left)-nWidth)/2 + aRect.left; in SetPosSize()
1589 nY = ((aRect.bottom-aRect.top)-nHeight)/2 + aRect.top; in SetPosSize()
1822 RECT aRect; in GetWorkArea() local
1823 ImplSalGetWorkArea( mhWnd, &aRect, NULL ); in GetWorkArea()
1824 rRect.nLeft = aRect.left; in GetWorkArea()
1825 rRect.nRight = aRect.right-1; in GetWorkArea()
1826 rRect.nTop = aRect.top; in GetWorkArea()
1827 rRect.nBottom = aRect.bottom-1; in GetWorkArea()
1854 RECT aRect; in SetWindowState() local
1855 ImplSalGetWorkArea( mhWnd, &aRect, NULL ); in SetWindowState()
1857 nScreenX = aRect.left-10; in SetWindowState()
1858 nScreenY = aRect.top-10; in SetWindowState()
1859 nScreenWidth = aRect.right-aRect.left+20; in SetWindowState()
1860 nScreenHeight = aRect.bottom-aRect.top+20; in SetWindowState()
3140 RECT aRect; in SnapShot() local
3141 GetWindowRect( mhWnd, &aRect ); in SnapShot()
3143 int nDX = aRect.right-aRect.left; in SnapShot()
3144 int nDY = aRect.bottom-aRect.top; in SnapShot()
4197 RECT aRect; in SetMaximizedFrameGeometry() local
4198 ImplSalGetWorkArea( hWnd, &aRect, pParentRect ); in SetMaximizedFrameGeometry()
4204 aRect.top += pFrame->maGeometry.nTopDecoration; in SetMaximizedFrameGeometry()
4205 pFrame->maGeometry.nX = aRect.left; in SetMaximizedFrameGeometry()
4206 pFrame->maGeometry.nY = aRect.top; in SetMaximizedFrameGeometry()
4207 pFrame->maGeometry.nWidth = aRect.right - aRect.left; in SetMaximizedFrameGeometry()
4208 pFrame->maGeometry.nHeight = aRect.bottom - aRect.top; in SetMaximizedFrameGeometry()
4216 RECT aRect; in UpdateFrameGeometry() local
4217 GetWindowRect( hWnd, &aRect ); in UpdateFrameGeometry()
4227 int cx = aPt.x - aRect.left; in UpdateFrameGeometry()
4228 pFrame->maGeometry.nTopDecoration = aPt.y - aRect.top; in UpdateFrameGeometry()
4244 pFrame->maGeometry.nRightDecoration = aRect.right - aPt.x; in UpdateFrameGeometry()
4247 pFrame->maGeometry.nBottomDecoration += aRect.bottom - aPt.y - aInnerRect.bottom; in UpdateFrameGeometry()
4252 int nWidth = aRect.right - aRect.left in UpdateFrameGeometry()
4254 int nHeight = aRect.bottom - aRect.top in UpdateFrameGeometry()
4934 RECT aRect = pDI->rcItem; in ImplDrawItem() local
4952 …if(!PatBlt( pDI->hDC, aRect.left, aRect.top, aRect.right-aRect.left, aRect.bottom-aRect.top, PATCO… in ImplDrawItem()
4955 int lineHeight = aRect.bottom-aRect.top; in ImplDrawItem()
4957 int x = aRect.left; in ImplDrawItem()
4958 int y = aRect.top; in ImplDrawItem()
5015 aRect.left = x; in ImplDrawItem()
5035 (WPARAM)0, aRect.left, aRect.top + (lineHeight - strSize.cy)/2, 0, 0, in ImplDrawItem()
5052 …(WPARAM)0, aRect.right-strSizeA.cx-tm.tmMaxCharWidth, aRect.top + (lineHeight - strSizeA.cy)/2, 0,… in ImplDrawItem()