Lines Matching refs:rWorkArea
122 void ImpCheckInsertPos(Point& rPos, const Size& rSize, const Rectangle& rWorkArea) in ImpCheckInsertPos() argument
124 if(!rWorkArea.IsEmpty()) in ImpCheckInsertPos()
128 if(!aMarkRect.IsInside(rWorkArea)) in ImpCheckInsertPos()
130 if(aMarkRect.Left() < rWorkArea.Left()) in ImpCheckInsertPos()
132 rPos.X() += rWorkArea.Left() - aMarkRect.Left(); in ImpCheckInsertPos()
135 if(aMarkRect.Right() > rWorkArea.Right()) in ImpCheckInsertPos()
137 rPos.X() -= aMarkRect.Right() - rWorkArea.Right(); in ImpCheckInsertPos()
140 if(aMarkRect.Top() < rWorkArea.Top()) in ImpCheckInsertPos()
142 rPos.Y() += rWorkArea.Top() - aMarkRect.Top(); in ImpCheckInsertPos()
145 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in ImpCheckInsertPos()
147 rPos.Y() -= aMarkRect.Bottom() - rWorkArea.Bottom(); in ImpCheckInsertPos()