Lines Matching refs:rWorkArea
536 const Rectangle& rWorkArea = pView->GetWorkArea(); in KeyInput() local
538 if(!rWorkArea.IsEmpty()) in KeyInput()
543 if(!aMarkRect.IsInside(rWorkArea)) in KeyInput()
545 if(aMarkRect.Left() < rWorkArea.Left()) in KeyInput()
547 nX += rWorkArea.Left() - aMarkRect.Left(); in KeyInput()
550 if(aMarkRect.Right() > rWorkArea.Right()) in KeyInput()
552 nX -= aMarkRect.Right() - rWorkArea.Right(); in KeyInput()
555 if(aMarkRect.Top() < rWorkArea.Top()) in KeyInput()
557 nY += rWorkArea.Top() - aMarkRect.Top(); in KeyInput()
560 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in KeyInput()
562 nY -= aMarkRect.Bottom() - rWorkArea.Bottom(); in KeyInput()