Lines Matching refs:aTarget

374 	Rectangle aTarget;  in MakeVisible()  local
379 aTarget = rTarget; in MakeVisible()
382 if ( aTarget.Right() > aTotRect.Right() ) in MakeVisible()
384 long nDelta = aTarget.Right() - aTotRect.Right(); in MakeVisible()
385 aTarget.Left() -= nDelta; in MakeVisible()
386 aTarget.Right() -= nDelta; in MakeVisible()
389 if ( aTarget.Left() < aTotRect.Left() ) in MakeVisible()
390 aTarget.Left() = aTotRect.Left(); in MakeVisible()
394 if ( aTarget.Bottom() > aTotRect.Bottom() ) in MakeVisible()
396 long nDelta = aTarget.Bottom() - aTotRect.Bottom(); in MakeVisible()
397 aTarget.Top() -= nDelta; in MakeVisible()
398 aTarget.Bottom() -= nDelta; in MakeVisible()
401 if ( aTarget.Top() < aTotRect.Top() ) in MakeVisible()
402 aTarget.Top() = aTotRect.Top(); in MakeVisible()
406 if ( aTarget.Left() < aTotRect.Left() ) in MakeVisible()
408 long nDelta = aTarget.Left() - aTotRect.Left(); in MakeVisible()
409 aTarget.Right() -= nDelta; in MakeVisible()
410 aTarget.Left() -= nDelta; in MakeVisible()
413 if ( aTarget.Right() > aTotRect.Right() ) in MakeVisible()
414 aTarget.Right() = aTotRect.Right(); in MakeVisible()
418 if ( aTarget.Top() < aTotRect.Top() ) in MakeVisible()
420 long nDelta = aTarget.Top() - aTotRect.Top(); in MakeVisible()
421 aTarget.Bottom() -= nDelta; in MakeVisible()
422 aTarget.Top() -= nDelta; in MakeVisible()
425 if ( aTarget.Bottom() > aTotRect.Bottom() ) in MakeVisible()
426 aTarget.Bottom() = aTotRect.Bottom(); in MakeVisible()
430 aTarget = rTarget.GetIntersection( aTotRect ); in MakeVisible()
438 if ( aVisArea.TopLeft() != aTarget.TopLeft() ) in MakeVisible()
440 Rectangle aBox( aTarget.GetUnion(aVisArea) ); in MakeVisible()
449 return aVisArea.GetWidth() >= aTarget.GetWidth() && in MakeVisible()
450 aVisArea.GetHeight() >= aTarget.GetHeight(); in MakeVisible()