Lines Matching refs:aPos
469 Point aPos = rRect.TopLeft(); in DrawText() local
532 aPos.Y() += nHeight-(nFormatLines*nTextHeight); in DrawText()
534 aPos.Y() += (nHeight-(nFormatLines*nTextHeight))/2; in DrawText()
538 aPos.Y() += nTextHeight; in DrawText()
540 aPos.Y() += pDev->GetFontMetric().GetAscent(); in DrawText()
547 aPos.X() += nWidth-pLineInfo->GetWidth(); in DrawText()
549 aPos.X() += (nWidth-pLineInfo->GetWidth())/2; in DrawText()
550 pDev->DrawText( aPos, rStr, pLineInfo->GetIndex(), pLineInfo->GetLen() ); in DrawText()
551 aPos.Y() += nTextHeight; in DrawText()
552 aPos.X() = rRect.Left(); in DrawText()
558 pDev->DrawText( aPos, aLastLine ); in DrawText()
593 aPos.X() += nWidth-aTextSize.Width(); in DrawText()
595 aPos.X() += (nWidth-aTextSize.Width())/2; in DrawText()
599 aPos.Y() += aTextSize.Height(); in DrawText()
601 aPos.Y() += pDev->GetFontMetric().GetAscent(); in DrawText()
604 aPos.Y() += nHeight-aTextSize.Height(); in DrawText()
606 aPos.Y() += (nHeight-aTextSize.Height())/2; in DrawText()
615 pDev->DrawText( aPos, aStr ); in DrawText()
622 pDev->DrawText( aPos, aStr ); in DrawText()
627 pDev->DrawText( aPos, aStr ); in DrawText()
1697 Point aPos( 0, nRealHeight ); in PositionScrollBars() local
1698 aPos.Y() -= nHorSBarHeight; in PositionScrollBars()
1701 aPos.Y()++; in PositionScrollBars()
1703 if( aHorSBar.GetPosPixel() != aPos ) in PositionScrollBars()
1704 aHorSBar.SetPosPixel( aPos ); in PositionScrollBars()
1707 aPos.X() = nRealWidth; aPos.Y() = 0; in PositionScrollBars()
1708 aPos.X() -= nVerSBarWidth; in PositionScrollBars()
1711 aPos.X()++; in PositionScrollBars()
1712 aPos.Y()--; in PositionScrollBars()
1716 aPos.Y()--; in PositionScrollBars()
1717 aPos.X()++; in PositionScrollBars()
1720 if( aVerSBar.GetPosPixel() != aPos ) in PositionScrollBars()
1721 aVerSBar.SetPosPixel( aPos ); in PositionScrollBars()
2007 Point aPos( GetEntryPosition( pEntry ) ); in PaintEntry() local
2008 PaintEntry( pEntry, aPos, pViewData ); in PaintEntry()
2060 Point aPos( rRect.TopLeft() ); in PaintItem() local
2063 aPos.X() += (rRect.GetWidth() - rSize.Width() ) / 2; in PaintItem()
2065 aPos.Y() += (rRect.GetHeight() - rSize.Height() ) / 2; in PaintItem()
2066 pItem->Paint( aPos, *(SvLBox*)pOut, 0, pEntry ); in PaintItem()
2320 Point aPos( aBound.TopLeft() ); in CalcBmpRect() local
2326 aPos.X() += ( aBound.GetWidth() - nMaxBmpWidth ) / 2; in CalcBmpRect()
2330 return Rectangle( aPos, aSize ); in CalcBmpRect()
2334 return Rectangle( aPos, in CalcBmpRect()
2338 return Rectangle( aPos, aBound.GetSize() ); in CalcBmpRect()
2367 Point aPos( aBound.TopLeft() ); in CalcTextRect() local
2375 aPos.Y() += nBmpHeight; in CalcTextRect()
2397 aPos.X() += ( aBound.GetWidth() - aTextSize.Width() ) / 2; in CalcTextRect()
2404 aPos.X() += nBmpWidth; in CalcTextRect()
2406 aPos.Y() += ( nBmpWidth - aTextSize.Height() ) / 2; in CalcTextRect()
2410 Rectangle aRect( aPos, aTextSize ); in CalcTextRect()
2548 Point aPos; in FindBoundingRect() local
2558 aPos = FindNextEntryPos( aSize ); in FindBoundingRect()
2562 Rectangle aGridRect( aPos, Size(nGridDX, nGridDY) ); in FindBoundingRect()
2570 pViewData->aRect = Rectangle( aPos, aSize ); in FindBoundingRect()
2662 Point aPos( rPosPix ); in ShowDDIcon() local
2663 CalcDocPos( aPos ); in ShowDDIcon()
2667 aDDLastEntryPos = aPos; in ShowDDIcon()
2668 aDDLastRectPos = aPos; in ShowDDIcon()
2671 pDDDev->DrawOutDev( Point(), aSize, aPos, aSize, *pView ); in ShowDDIcon()
2674 PaintEntry( pRefEntry, aPos ); in ShowDDIcon()
3183 Point aPos( rDocPos ); in GetGrid() local
3184 aPos.X() -= LROFFS_WINBORDER; in GetGrid()
3185 aPos.Y() -= TBOFFS_WINBORDER; in GetGrid()
3186 rGridX = (sal_uInt16)(aPos.X() / nGridDX); in GetGrid()
3187 rGridY = (sal_uInt16)(aPos.Y() / nGridDY); in GetGrid()
4057 Point aPos( rCenterRect.TopLeft() ); in AdjustAtGrid() local
4060 aPos.X() -= LROFFS_WINBORDER; in AdjustAtGrid()
4061 aPos.Y() -= TBOFFS_WINBORDER; in AdjustAtGrid()
4064 short nGridX = (short)((aPos.X()+(aSize.Width()/2)) / nGridDX); in AdjustAtGrid()
4065 short nGridY = (short)((aPos.Y()+(aSize.Height()/2)) / nGridDY); in AdjustAtGrid()
4066 aPos.X() = nGridX * nGridDX; in AdjustAtGrid()
4067 aPos.Y() = nGridY * nGridDY; in AdjustAtGrid()
4069 aPos.X() += (nGridDX - rBoundRect.GetSize().Width() ) / 2; in AdjustAtGrid()
4071 aPos.X() += LROFFS_WINBORDER; in AdjustAtGrid()
4072 aPos.Y() += TBOFFS_WINBORDER; in AdjustAtGrid()
4074 return aPos; in AdjustAtGrid()