Lines Matching refs:aLogicRect
92 void __EXPORT ScClient::RequestNewObjectArea( Rectangle& aLogicRect ) in RequestNewObjectArea() argument
107 aLogicRect.SetSize( aOldRect.GetSize() ); in RequestNewObjectArea()
110 aLogicRect.SetPos( aOldRect.TopLeft() ); in RequestNewObjectArea()
115 if ( pPage && aLogicRect != aOldRect ) in RequestNewObjectArea()
126 if (aLogicRect.Right() > aPageRect.Right()) in RequestNewObjectArea()
128 long nDiff = aLogicRect.Right() - aPageRect.Right(); in RequestNewObjectArea()
129 aLogicRect.Left() -= nDiff; in RequestNewObjectArea()
130 aLogicRect.Right() -= nDiff; in RequestNewObjectArea()
132 if (aLogicRect.Bottom() > aPageRect.Bottom()) in RequestNewObjectArea()
134 long nDiff = aLogicRect.Bottom() - aPageRect.Bottom(); in RequestNewObjectArea()
135 aLogicRect.Top() -= nDiff; in RequestNewObjectArea()
136 aLogicRect.Bottom() -= nDiff; in RequestNewObjectArea()
139 if (aLogicRect.Left() < aPageRect.Left()) in RequestNewObjectArea()
141 long nDiff = aLogicRect.Left() - aPageRect.Left(); in RequestNewObjectArea()
142 aLogicRect.Right() -= nDiff; in RequestNewObjectArea()
143 aLogicRect.Left() -= nDiff; in RequestNewObjectArea()
145 if (aLogicRect.Top() < aPageRect.Top()) in RequestNewObjectArea()
147 long nDiff = aLogicRect.Top() - aPageRect.Top(); in RequestNewObjectArea()
148 aLogicRect.Bottom() -= nDiff; in RequestNewObjectArea()
149 aLogicRect.Top() -= nDiff; in RequestNewObjectArea()
227 Rectangle aLogicRect = pDrawObj->GetLogicRect(); in ViewChanged() local
245 if ( pWin->LogicToPixel( aVisSize ) != pWin->LogicToPixel( aLogicRect.GetSize() ) ) in ViewChanged()
247 aLogicRect.SetSize( aVisSize ); in ViewChanged()
248 pDrawObj->SetLogicRect( aLogicRect ); in ViewChanged()