Searched refs:rWorkArea (Results 1 – 9 of 9) sorted by relevance
257 const Rectangle& rWorkArea = pView->GetWorkArea(); in KeyInput() local259 if ( !rWorkArea.IsEmpty() ) in KeyInput()264 if ( !rWorkArea.IsInside( aMarkRect ) ) in KeyInput()266 if ( aMarkRect.Left() < rWorkArea.Left() ) in KeyInput()267 nX += rWorkArea.Left() - aMarkRect.Left(); in KeyInput()269 if ( aMarkRect.Right() > rWorkArea.Right() ) in KeyInput()270 nX -= aMarkRect.Right() - rWorkArea.Right(); in KeyInput()272 if ( aMarkRect.Top() < rWorkArea.Top() ) in KeyInput()273 nY += rWorkArea.Top() - aMarkRect.Top(); in KeyInput()275 if ( aMarkRect.Bottom() > rWorkArea.Bottom() ) in KeyInput()[all …]
563 const Rectangle& rWorkArea = pView->GetWorkArea(); in KeyInput() local565 if(!rWorkArea.IsEmpty()) in KeyInput()570 if(!aMarkRect.IsInside(rWorkArea)) in KeyInput()572 if(aMarkRect.Left() < rWorkArea.Left()) in KeyInput()574 nX += rWorkArea.Left() - aMarkRect.Left(); in KeyInput()577 if(aMarkRect.Right() > rWorkArea.Right()) in KeyInput()579 nX -= aMarkRect.Right() - rWorkArea.Right(); in KeyInput()582 if(aMarkRect.Top() < rWorkArea.Top()) in KeyInput()584 nY += rWorkArea.Top() - aMarkRect.Top(); in KeyInput()587 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in KeyInput()[all …]
536 const Rectangle& rWorkArea = pView->GetWorkArea(); in KeyInput() local538 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()[all …]
763 const Rectangle& rWorkArea = mpView->GetWorkArea(); in IMPL_LINK_INLINE_END() local765 if(!rWorkArea.IsEmpty()) in IMPL_LINK_INLINE_END()770 if(!aMarkRect.IsInside(rWorkArea)) in IMPL_LINK_INLINE_END()772 if(aMarkRect.Left() < rWorkArea.Left()) in IMPL_LINK_INLINE_END()774 nX += rWorkArea.Left() - aMarkRect.Left(); in IMPL_LINK_INLINE_END()777 if(aMarkRect.Right() > rWorkArea.Right()) in IMPL_LINK_INLINE_END()779 nX -= aMarkRect.Right() - rWorkArea.Right(); in IMPL_LINK_INLINE_END()782 if(aMarkRect.Top() < rWorkArea.Top()) in IMPL_LINK_INLINE_END()784 nY += rWorkArea.Top() - aMarkRect.Top(); in IMPL_LINK_INLINE_END()787 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in IMPL_LINK_INLINE_END()[all …]
513 const Rectangle& rWorkArea = ((SdrDragView*)this)->GetWorkArea(); in ImpBegCreateObj() local515 if(!rWorkArea.IsEmpty()) in ImpBegCreateObj()517 if(aPnt.X() < rWorkArea.Left()) in ImpBegCreateObj()519 aPnt.X() = rWorkArea.Left(); in ImpBegCreateObj()522 if(aPnt.X() > rWorkArea.Right()) in ImpBegCreateObj()524 aPnt.X() = rWorkArea.Right(); in ImpBegCreateObj()527 if(aPnt.Y() < rWorkArea.Top()) in ImpBegCreateObj()529 aPnt.Y() = rWorkArea.Top(); in ImpBegCreateObj()532 if(aPnt.Y() > rWorkArea.Bottom()) in ImpBegCreateObj()534 aPnt.Y() = rWorkArea.Bottom(); in ImpBegCreateObj()
1648 Rectangle rWorkArea = rView.GetWorkArea(); in handleKey() local1649 rWorkArea.Right()++; in handleKey()1651 if ( !rWorkArea.IsEmpty() ) in handleKey()1653 if ( rWorkArea.Top() < 0 ) in handleKey()1654 rWorkArea.Top() = 0; in handleKey()1658 if ( !rWorkArea.IsInside( aMarkRect ) ) in handleKey()1660 if ( aMarkRect.Left() < rWorkArea.Left() ) in handleKey()1661 nX += rWorkArea.Left() - aMarkRect.Left(); in handleKey()1663 if ( aMarkRect.Right() > rWorkArea.Right() ) in handleKey()1666 if ( aMarkRect.Top() < rWorkArea.Top() ) in handleKey()[all …]
122 void ImpCheckInsertPos(Point& rPos, const Size& rSize, const Rectangle& rWorkArea) in ImpCheckInsertPos() argument124 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()[all …]
47 const Rectangle& rWorkArea, in DisplayMonitor()52 m_aWorkArea( rWorkArea ), in DisplayMonitor()
1402 void X11SalFrame::GetWorkArea( Rectangle& rWorkArea ) in GetWorkArea() argument1404 rWorkArea = pDisplay_->getWMAdaptor()->getWorkArea( 0 ); in GetWorkArea()
Completed in 69 milliseconds