Lines Matching refs:aNewRect
68 Rectangle aNewRect = _aObjRect; in lcl_getNewRectSize() local
72 aNewRect = _aObjRect; in lcl_getNewRectSize()
77 aNewRect.setWidth(_nXMov); in lcl_getNewRectSize()
78 aNewRect.setHeight(_nYMov); in lcl_getNewRectSize()
81 aNewRect.Move(_nXMov,_nYMov); in lcl_getNewRectSize()
86 pOverlappedObj = isOver(aNewRect,*_pObj->GetPage(),*_pView,true,_pObj); in lcl_getNewRectSize()
95 nXTemp += aOverlappingRect.Right() - aNewRect.Left(); in lcl_getNewRectSize()
99 nXTemp += aOverlappingRect.Left() - aNewRect.Right(); in lcl_getNewRectSize()
103 nYTemp += aOverlappingRect.Bottom() - aNewRect.Top(); in lcl_getNewRectSize()
107 nYTemp += aOverlappingRect.Top() - aNewRect.Bottom(); in lcl_getNewRectSize()
112 … nXTemp += aOverlappingRect.Left() - aNewRect.Left() - aNewRect.getWidth(); in lcl_getNewRectSize()
114 nXTemp += aOverlappingRect.Right() - aNewRect.Left(); in lcl_getNewRectSize()
119 … nYTemp += aOverlappingRect.Top() - aNewRect.Top() - aNewRect.getHeight(); in lcl_getNewRectSize()
121 nYTemp += aOverlappingRect.Bottom() - aNewRect.Top(); in lcl_getNewRectSize()
127 … Rectangle aIntersectionRect = aNewRect.GetIntersection(aOverlappingRect); in lcl_getNewRectSize()
132 if ( aNewRect.Left() < aIntersectionRect.Left() ) in lcl_getNewRectSize()
134 aNewRect.Right() = aIntersectionRect.Left(); in lcl_getNewRectSize()
136 else if ( aNewRect.Left() < aIntersectionRect.Right() ) in lcl_getNewRectSize()
138 aNewRect.Left() = aIntersectionRect.Right(); in lcl_getNewRectSize()
143 if ( aNewRect.Top() < aIntersectionRect.Top() ) in lcl_getNewRectSize()
145 aNewRect.Bottom() = aIntersectionRect.Top(); in lcl_getNewRectSize()
147 else if ( aNewRect.Top() < aIntersectionRect.Bottom() ) in lcl_getNewRectSize()
149 aNewRect.Top() = aIntersectionRect.Bottom(); in lcl_getNewRectSize()
152 nYTemp = aNewRect.getHeight(); in lcl_getNewRectSize()
154 nXTemp = aNewRect.getWidth(); in lcl_getNewRectSize()
1759 Rectangle aNewRect; in handleKey() local
1767 aNewRect.Union(pMark->GetMarkedSdrObj()->GetLastBoundRect()); in handleKey()
1776 aNewRect.Left() += nX; in handleKey()
1777 aNewRect.Top() += nY; in handleKey()
1783 aNewRect.setWidth(aNewRect.getWidth() + nX); in handleKey()
1784 aNewRect.setHeight(aNewRect.getHeight() + nY); in handleKey()
1789 if ( !(bCheck && isOver(aNewRect,*rReportSection.getPage(),rView)) ) in handleKey()