Searched refs:aObjAbs (Results 1 – 2 of 2) sorted by relevance
80 Rectangle aObjAbs( pParentWin->OutputToAbsoluteScreenPixel( aObjPixel.TopLeft() ), in SwGetChartDialogPos() local89 if ( aDesktop.Bottom() - aObjAbs.Bottom() >= rDialogSize.Height() + aSpace.Height() ) in SwGetChartDialogPos()92 aRet.Y() = aObjAbs.Bottom() + aSpace.Height(); in SwGetChartDialogPos()95 else if ( aObjAbs.Top() - aDesktop.Top() >= rDialogSize.Height() + aSpace.Height() ) in SwGetChartDialogPos()98 aRet.Y() = aObjAbs.Top() - rDialogSize.Height() - aSpace.Height(); in SwGetChartDialogPos()103 … bool bFitLeft = ( aObjAbs.Left() - aDesktop.Left() >= rDialogSize.Width() + aSpace.Width() ); in SwGetChartDialogPos()104 … bool bFitRight = ( aDesktop.Right() - aObjAbs.Right() >= rDialogSize.Width() + aSpace.Width() ); in SwGetChartDialogPos()111 aRet.X() = aObjAbs.Right() + aSpace.Width(); in SwGetChartDialogPos()113 aRet.X() = aObjAbs.Left() - rDialogSize.Width() - aSpace.Width(); in SwGetChartDialogPos()116 aRet.Y() = aObjAbs.Top() + ( aObjAbs.GetHeight() - rDialogSize.Height() ) / 2; in SwGetChartDialogPos()[all …]
2056 Rectangle aObjAbs( pWin->OutputToAbsoluteScreenPixel( aObjPixel.TopLeft() ), in GetChartDialogPos() local2068 if ( aDesktop.Bottom() - aObjAbs.Bottom() >= rDialogSize.Height() + aSpace.Height() ) in GetChartDialogPos()2072 aRet.Y() = aObjAbs.Bottom() + aSpace.Height(); in GetChartDialogPos()2075 else if ( aObjAbs.Top() - aDesktop.Top() >= rDialogSize.Height() + aSpace.Height() ) in GetChartDialogPos()2079 aRet.Y() = aObjAbs.Top() - rDialogSize.Height() - aSpace.Height(); in GetChartDialogPos()2084 … bool bFitLeft = ( aObjAbs.Left() - aDesktop.Left() >= rDialogSize.Width() + aSpace.Width() ); in GetChartDialogPos()2085 … bool bFitRight = ( aDesktop.Right() - aObjAbs.Right() >= rDialogSize.Width() + aSpace.Width() ); in GetChartDialogPos()2092 aRet.X() = aObjAbs.Right() + aSpace.Width(); in GetChartDialogPos()2094 aRet.X() = aObjAbs.Left() - rDialogSize.Width() - aSpace.Width(); in GetChartDialogPos()2097 aRet.Y() = aObjAbs.Top() + ( aObjAbs.GetHeight() - rDialogSize.Height() ) / 2; in GetChartDialogPos()[all …]