Lines Matching refs:aCaptPos
259 Point aCaptPos = aCaptRect.TopLeft(); in FitCaptionToRect() local
261 aCaptPos.X() = ::std::min< long >( aCaptPos.X(), rVisRect.Right() - aCaptRect.GetWidth() ); in FitCaptionToRect()
263 aCaptPos.X() = ::std::max< long >( aCaptPos.X(), rVisRect.Left() ); in FitCaptionToRect()
265 aCaptPos.Y() = ::std::min< long >( aCaptPos.Y(), rVisRect.Bottom() - aCaptRect.GetHeight() ); in FitCaptionToRect()
267 aCaptPos.Y() = ::std::max< long >( aCaptPos.Y(), rVisRect.Top() ); in FitCaptionToRect()
269 aCaptRect.SetPos( aCaptPos ); in FitCaptionToRect()
308 Point aCaptPos; in AutoPlaceCaption() local
317 aCaptPos.X() = maCellRect.Left() - SC_NOTECAPTION_CELLDIST - nWidth; in AutoPlaceCaption()
319 aCaptPos.X() = maCellRect.Right() + SC_NOTECAPTION_CELLDIST; in AutoPlaceCaption()
321 aCaptPos.Y() = maCellRect.Top() + SC_NOTECAPTION_OFFSET_Y; in AutoPlaceCaption()
326 aCaptPos.X() = maCellRect.Left() + SC_NOTECAPTION_OFFSET_X; in AutoPlaceCaption()
329 aCaptPos.Y() = maCellRect.Top() - SC_NOTECAPTION_CELLDIST - nHeight; in AutoPlaceCaption()
331 aCaptPos.Y() = maCellRect.Bottom() + SC_NOTECAPTION_CELLDIST; in AutoPlaceCaption()
335 aCaptRect.SetPos( aCaptPos ); in AutoPlaceCaption()