Lines Matching refs:Point
115 class Point : public Pair class
118 Point();
119 Point( long nX, long nY );
128 sal_Bool IsAbove( const Point& rPoint ) const;
129 sal_Bool IsBelow( const Point& rPoint ) const;
130 sal_Bool IsLeft( const Point& rPoint ) const;
131 sal_Bool IsRight( const Point& rPoint ) const;
133 Point& operator += ( const Point& rPoint );
134 Point& operator -= ( const Point& rPoint );
135 Point& operator *= ( const long nVal );
136 Point& operator /= ( const long nVal );
139 friend Point operator+( const Point &rVal1, const Point &rVal2 );
140 friend Point operator-( const Point &rVal1, const Point &rVal2 );
141 friend Point operator*( const Point &rVal1, const long nVal2 );
142 friend Point operator/( const Point &rVal1, const long nVal2 );
144 friend inline Point operator+( const Point &rVal1, const Point &rVal2 );
145 friend inline Point operator-( const Point &rVal1, const Point &rVal2 );
146 friend inline Point operator*( const Point &rVal1, const long nVal2 );
147 friend inline Point operator/( const Point &rVal1, const long nVal2 );
156 inline Point::Point() in Point() function in Point
160 inline Point::Point( long nX, long nY ) : Pair( nX, nY ) in Point() function in Point
164 inline void Point::Move( long nHorzMove, long nVertMove ) in Move()
170 inline sal_Bool Point::IsAbove( const Point& rPoint ) const in IsAbove()
175 inline sal_Bool Point::IsBelow( const Point& rPoint ) const in IsBelow()
180 inline sal_Bool Point::IsLeft( const Point& rPoint ) const in IsLeft()
185 inline sal_Bool Point::IsRight( const Point& rPoint ) const in IsRight()
190 inline Point& Point::operator += ( const Point& rPoint ) in operator +=()
197 inline Point& Point::operator -= ( const Point& rPoint ) in operator -=()
204 inline Point& Point::operator *= ( const long nVal ) in operator *=()
211 inline Point& Point::operator /= ( const long nVal ) in operator /=()
218 inline Point operator+( const Point &rVal1, const Point &rVal2 ) in operator +()
220 return Point( rVal1.nA+rVal2.nA, rVal1.nB+rVal2.nB ); in operator +()
223 inline Point operator-( const Point &rVal1, const Point &rVal2 ) in operator -()
225 return Point( rVal1.nA-rVal2.nA, rVal1.nB-rVal2.nB ); in operator -()
228 inline Point operator*( const Point &rVal1, const long nVal2 ) in operator *()
230 return Point( rVal1.nA*nVal2, rVal1.nB*nVal2 ); in operator *()
233 inline Point operator/( const Point &rVal1, const long nVal2 ) in operator /()
235 return Point( rVal1.nA/nVal2, rVal1.nB/nVal2 ); in operator /()
393 Rectangle( const Point& rLT, const Point& rRB );
396 Rectangle( const Point& rLT, const Size& rSize );
408 inline Point TopLeft() const;
409 Point TopRight() const;
410 Point TopCenter() const;
411 Point BottomLeft() const;
412 Point BottomRight() const;
413 Point BottomCenter() const;
414 Point LeftCenter() const;
415 Point RightCenter() const;
416 Point Center() const;
420 inline void SetPos( const Point& rPoint );
434 sal_Bool IsInside( const Point& rPOINT ) const;
444 Rectangle& operator += ( const Point& rPt );
445 Rectangle& operator -= ( const Point& rPt );
448 friend Rectangle operator + ( const Rectangle& rRect, const Point& rPt );
449 friend Rectangle operator - ( const Rectangle& rRect, const Point& rPt );
451 friend inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt );
452 friend inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt );
475 inline Rectangle::Rectangle( const Point& rLT, const Point& rRB ) in Rectangle()
492 inline Rectangle::Rectangle( const Point& rLT, const Size& rSize ) in Rectangle()
505 inline Point Rectangle::TopLeft() const in TopLeft()
507 return Point( nLeft, nTop ); in TopLeft()
510 inline Point Rectangle::TopRight() const in TopRight()
512 return Point( (nRight == RECT_EMPTY) ? nLeft : nRight, nTop ); in TopRight()
515 inline Point Rectangle::BottomLeft() const in BottomLeft()
517 return Point( nLeft, (nBottom == RECT_EMPTY) ? nTop : nBottom ); in BottomLeft()
520 inline Point Rectangle::BottomRight() const in BottomRight()
522 return Point( (nRight == RECT_EMPTY) ? nLeft : nRight, in BottomRight()
526 inline Point Rectangle::TopCenter() const in TopCenter()
529 return Point( nLeft, nTop ); in TopCenter()
531 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in TopCenter()
535 inline Point Rectangle::BottomCenter() const in BottomCenter()
538 return Point( nLeft, nTop ); in BottomCenter()
540 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in BottomCenter()
544 inline Point Rectangle::LeftCenter() const in LeftCenter()
547 return Point( nLeft, nTop ); in LeftCenter()
549 return Point( Min( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); in LeftCenter()
552 inline Point Rectangle::RightCenter() const in RightCenter()
555 return Point( nLeft, nTop ); in RightCenter()
557 return Point( Max( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); in RightCenter()
560 inline Point Rectangle::Center() const in Center()
563 return Point( nLeft, nTop ); in Center()
565 return Point( nLeft+(nRight-nLeft)/2 , nTop+(nBottom-nTop)/2 ); in Center()
592 inline void Rectangle::SetPos( const Point& rPoint ) in SetPos()
669 inline Rectangle& Rectangle::operator +=( const Point& rPt ) in operator +=()
680 inline Rectangle& Rectangle::operator -= ( const Point& rPt ) in operator -=()
691 inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt ) in operator +()
699 inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt ) in operator -()