Lines Matching refs:X

84 			if (_aDescrLinePos.X() < _aConnPos.X())  in GetTextPos()
86 aReturn.Left() = _aDescrLinePos.X(); in GetTextPos()
87 aReturn.Right() = aReturn.Left() + _aConnPos.X() - _aDescrLinePos.X(); in GetTextPos()
91 aReturn.Left() = _aConnPos.X(); in GetTextPos()
92 aReturn.Right() = aReturn.Left() + _aDescrLinePos.X() - _aConnPos.X(); in GetTextPos()
205 if( m_aSourceDescrLinePos.X() <= m_aDestDescrLinePos.X() ) in GetBoundingRect()
207 aTopLeft.X() = m_aSourceDescrLinePos.X(); in GetBoundingRect()
208 aBottomRight.X() = m_aDestDescrLinePos.X(); in GetBoundingRect()
212 aTopLeft.X() = m_aDestDescrLinePos.X(); in GetBoundingRect()
213 aBottomRight.X() = m_aSourceDescrLinePos.X(); in GetBoundingRect()
220 …== pDestWin || Abs(m_aSourceConnPos.X() - m_aDestConnPos.X()) > Abs(m_aSourceDescrLinePos.X() - m_… in GetBoundingRect()
222 aTopLeft.X() -= DESCRIPT_LINE_WIDTH; in GetBoundingRect()
223 aBottomRight.X() += DESCRIPT_LINE_WIDTH; in GetBoundingRect()
233 _rNewConPos.X() = _pWin->GetPosPixel().X() + _pWin->GetSizePixel().Width(); in calcPointX1()
234 _rNewDescrPos.X() = _rNewConPos.X(); in calcPointX1()
235 _rNewConPos.X() += DESCRIPT_LINE_WIDTH; in calcPointX1()
240 _rNewConPos.X() = _pWin->GetPosPixel().X(); in calcPointX2()
241 _rNewDescrPos.X() = _rNewConPos.X(); in calcPointX2()
242 _rNewConPos.X() -= DESCRIPT_LINE_WIDTH; in calcPointX2()
263 …aSourceCenter.X() = pSourceWin->GetPosPixel().X() + (long)( 0.5*pSourceWin->GetSizePixel().Width()… in RecalcLine()
264 aDestCenter.X() = pDestWin->GetPosPixel().X() + (long)( 0.5*pDestWin->GetSizePixel().Width() ); in RecalcLine()
272 if( aDestCenter.X() > aSourceCenter.X() ) in RecalcLine()
345 double a = sqrt((double)(v.X()*v.X() + v.Y()*v.Y())); in dist_Euklid()
346 double l = (v.X() * w.Y() - v.Y() * w.X()) / a; in dist_Euklid()
347 double a2 = w.X()*v.X()+w.Y()*v.Y(); in dist_Euklid()
349 q.X() = long(p1.X() + a * v.X()); in dist_Euklid()
365 …if(::std::min(m_aSourceConnPos.X(),m_aDestConnPos.X()) <= q.X() && ::std::min(m_aSourceConnPos.Y()… in CheckHit()
366 …&& q.X() <= ::std::max(m_aDestConnPos.X(),m_aSourceConnPos.X()) && q.Y() <= ::std::max(m_aDestCo… in CheckHit()
386 aDest.X() /= 2; in getMidPoint()