/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 133 Point& operator += ( const Point& rPoint ); 134 Point& operator -= ( const Point& rPoint ); 139 friend Point operator+( const Point &rVal1, const Point &rVal2 ); 140 friend Point operator-( const Point &rVal1, const Point &rVal2 ); 144 friend inline Point operator+( const Point &rVal1, const Point &rVal2 ); 145 friend inline Point operator-( const Point &rVal1, const Point &rVal2 ); 156 inline Point::Point() in Point() function in Point 190 inline Point& Point::operator += ( const Point& rPoint ) in operator +=() 197 inline Point& Point::operator -= ( const Point& rPoint ) in operator -=() 218 inline Point operator+( const Point &rVal1, const Point &rVal2 ) in operator +() [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | svdtrans.hxx | 74 inline void RotatePoint(Point& rPnt, const Point& rRef, double sn, double cs); 83 void MirrorPoint(Point& rPnt, const Point& rRef1, const Point& rRef2); 84 void MirrorPoly(Polygon& rPoly, const Point& rRef1, const Point& rRef2); 85 void MirrorXPoly(XPolygon& rPoly, const Point& rRef1, const Point& rRef2); 86 void MirrorPoly(PolyPolygon& rPoly, const Point& rRef1, const Point& rRef2); 87 void MirrorXPoly(XPolyPolygon& rPoly, const Point& rRef1, const Point& rRef2); 98 inline double GetCrookAngle(Point& rPnt, const Point& rCenter, const Point& rRad, FASTBOOL bVertica… 104 double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, 106 double CrookSlantXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, 108 double CrookStretchXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, [all …]
|
H A D | svddrag.hxx | 54 Point aRef2; // Spiegelachse, ...) 62 Point aReservePoint1; 63 Point aReservePoint2; 64 Point aReservePoint3; 65 Point aReservePoint4; 97 Point& Pnt(sal_uIntPtr nNum) { return *((Point*)aPnts.GetObject(nNum)); } in Pnt() 108 const Point& GetPoint(sal_uIntPtr nNum) const { return *((Point*)aPnts.GetObject(nNum)); } in GetPoint() 166 Point KorregPos(const Point& rNow, const Point& rPrev) const; 167 void Reset(const Point& rPnt); 168 void NextMove(const Point& rPnt); [all …]
|
H A D | svdoedge.hxx | 98 Point aObj1Line2; 99 Point aObj1Line3; 100 Point aObj2Line2; 101 Point aObj2Line3; 102 Point aMiddleLine; 205 …XPolygon ImpCalcObjToCenter(const Point& rStPt, long nEscAngle, const Rectangle& rRect, const Poin… 275 virtual void NbcMirror(const Point& rRef1, const Point& rRef2); 279 virtual void NbcSetAnchorPos(const Point& rPnt); 291 virtual Point GetSnapPoint(sal_uInt32 i) const; 294 virtual Point GetPoint(sal_uInt32 i) const; [all …]
|
H A D | svdmrkv.hxx | 124 Point aRef2; // Persistent 125 Point aLastCrookCenter; // Persistent 197 virtual void MovAction(const Point& rPnt); 213 void MovMarkObj(const Point& rPnt); 296 sal_Bool IsMarkedObjHit(const Point& rPnt, short nTol=-2) const; 400 void MovMarkPoints(const Point& rPnt); 467 void MovMarkGluePoints(const Point& rPnt); 508 const Point& GetRef1() const { return aRef1; } in GetRef1() 509 void SetRef1(const Point& rPt); 512 const Point& GetRef2() const { return aRef1; } in GetRef2() [all …]
|
/trunk/main/vcl/inc/vcl/ |
H A D | metaact.hxx | 193 Point maPt; 217 Point maPt; 250 MetaLineAction( const Point& rStart, const Point& rEnd, 352 const Point& rStart, const Point& rEnd ); 380 const Point& rStart, const Point& rEnd ); 408 const Point& rStart, const Point& rEnd ); 498 Point maPt; 573 Point maPt; 668 Point maPt; 693 Point maPt; [all …]
|
H A D | outdev.hxx | 459 SAL_DLLPRIVATE Point ImplLogicToDevicePixel( const Point& rLogicPt ) const; 685 void DrawLine( const Point& rStartPt, const Point& rEndPt ); 686 void DrawLine( const Point& rStartPt, const Point& rEndPt, 754 const Point& rStartPt, const Point& rEndPt ); 756 const Point& rStartPt, const Point& rEndPt ); 1014 Point LogicToPixel( const Point& rLogicPt ) const; 1022 Point LogicToPixel( const Point& rLogicPt, 1038 Point PixelToLogic( const Point& rDevicePt ) const; 1046 Point PixelToLogic( const Point& rDevicePt, 1063 Point LogicToLogic( const Point& rPtSource, [all …]
|
H A D | dockwin.hxx | 92 Point maFloatPos; 93 Point maDockPos; 94 Point maMouseOff; 95 Point maMouseStart; 192 Point GetFloatingPos() const; 204 Point GetPosPixel() const; 257 Point maFloatPos; 258 Point maDockPos; 259 Point maMouseOff; 260 Point maMouseStart; [all …]
|
/trunk/main/sw/inc/ |
H A D | fesh.hxx | 242 sal_Bool Copy( SwFEShell*, const Point& rSttPt, const Point& rInsPt, 269 bool IsObjSelectable( const Point& rPt ); 370 void SetFlyPos( const Point &rAbsPos); 371 Point FindAnchorPos( const Point &rAbsPos, sal_Bool bMoveIt = sal_False ); 503 void MoveCreate ( const Point &rPos ); 510 sal_Bool BeginMark( const Point &rPos ); 511 void MoveMark ( const Point &rPos ); 571 Point GetCntntPos( const Point& rPoint, sal_Bool bNext ) const; 574 Point GetRelativePagePosition(const Point& rDocPos); 596 const Point* pPt = 0, [all …]
|
H A D | swrect.hxx | 31 Point m_Point; 39 inline SwRect( const Point& rLT, const Point& rRB ); 47 inline void Pos( const Point& rNew ); 59 inline const Point &Pos() const; 70 inline Point &Pos(); 73 Point Center() const; 141 const Point TopLeft() const; 142 const Point TopRight() const; 143 const Point BottomLeft() const; 224 inline Point &SwRect::Pos() in Pos() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdtrans.cxx | 164 void MirrorPoint(Point& rPnt, const Point& rRef1, const Point& rRef2) in MirrorPoint() 277 double CrookRotateXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookRotateXPoint() 331 double CrookSlantXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookSlantXPoint() 386 double CrookStretchXPoint(Point& rPnt, Point* pC1, Point* pC2, const Point& rCenter, in CrookStretchXPoint() 418 Point* pC1=NULL; in CrookRotatePoly() 419 Point* pC2=NULL; in CrookRotatePoly() 441 Point* pC1=NULL; in CrookSlantPoly() 442 Point* pC2=NULL; in CrookSlantPoly() 464 Point* pC1=NULL; in CrookStretchPoly() 465 Point* pC2=NULL; in CrookStretchPoly() [all …]
|
H A D | svdglue.cxx | 45 Point aPt(aPos); in SetReallyAbsolute() 56 Point aPt(aPos); in GetAbsolutePos() 58 Point aOfs(aSnap.Center()); in GetAbsolutePos() 97 Point aPt(rNewPos); in SetAbsolutePos() 99 Point aOfs(aSnap.Center()); in SetAbsolutePos() 198 void SdrGluePoint::Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj) in Mirror() 200 Point aPt(rRef2); aPt-=rRef1; in Mirror() 205 void SdrGluePoint::Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj) in Mirror() 260 rWin.Invalidate(Rectangle(Point(x-4,y-4),Point(x+4,y+4)), INVALIDATE_NOERASE); in Invalidate() 383 void SdrGluePointList::Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj) in Mirror() [all …]
|
/trunk/main/tools/source/generic/ |
H A D | poly.cxx | 83 mpPointAry = (Point*)new char[(sal_uIntPtr)nInitSize*sizeof(Point)]; in ImplPolygon() 134 mpPointAry = (Point*)new char[(sal_uIntPtr)nInitSize*sizeof(Point)]; in ImplPolygon() 175 Point* pNewAry; in ImplSetSize() 179 pNewAry = (Point*)new char[(sal_uIntPtr)nNewSize*sizeof(Point)]; in ImplSetSize() 269 Point* pNewAry = (Point*) new char[ (sal_uIntPtr) nNewSize * sizeof( Point ) ]; in ImplSplit() 315 Point* pNewAry = (Point*) new char[ (sal_uIntPtr) nNewSize * sizeof( Point ) ]; in ImplRemove() 514 Point* pPt; in Polygon() 547 const Point& rStart, const Point& rEnd, PolyStyle eStyle ) in Polygon() 624 Polygon::Polygon( const Point& rBezPt1, const Point& rCtrlPt1, in Polygon() 625 const Point& rBezPt2, const Point& rCtrlPt2, in Polygon() [all …]
|
/trunk/main/vcl/workben/ |
H A D | outdevgrind.cxx | 109 const Point aPt1(10,10); in setupMethodStubs() 110 const Point aPt2(500,500); in setupMethodStubs() 111 const Point aPt3(0,0); in setupMethodStubs() 112 const Point aPt4(450,450); in setupMethodStubs() 191 (void (OutputDevice::*)( const Point&, const Point& ))( in setupMethodStubs() 202 (void (OutputDevice::*)( const Point&, const Point&,const LineInfo& ))( in setupMethodStubs() 366 (void (OutputDevice::*)( const Point&, in setupMethodStubs() 378 (void (OutputDevice::*)( const Point&, in setupMethodStubs() 390 (void (OutputDevice::*)( const Point&, in setupMethodStubs() 403 (void (OutputDevice::*)( const Point&, in setupMethodStubs() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | splitwin.cxx | 228 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder() 233 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-3 ) ); in ImplDrawBorder() 239 pWin->DrawLine( Point( 0, 0 ), Point( nDX-1, 0 ) ); in ImplDrawBorder() 240 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder() 244 pWin->DrawLine( Point( 1, 1 ), Point( nDX-3, 1 ) ); in ImplDrawBorder() 245 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-1 ) ); in ImplDrawBorder() 251 pWin->DrawLine( Point( 0, 0 ), Point( nDX-1, 0 ) ); in ImplDrawBorder() 252 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder() 256 pWin->DrawLine( Point( 1, 1 ), Point( nDX-1, 1 ) ); in ImplDrawBorder() 257 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-3 ) ); in ImplDrawBorder() [all …]
|
/trunk/main/svx/source/sidebar/area/ |
H A D | AreaTransparencyGradientControl.cxx | 38 #define APOS1_1 Point(LogicToPixel(Point(POPUPPANEL_MARGIN_HORIZONTAL,POPUPPANEL_MARGIN_VERTICAL), … 39 #define APOS2_1 Point(LogicToPixel(Point(POPUPPANEL_MARGIN_HORIZONTAL,POPUPPANEL_MARGIN_VERTICAL + … 40 #define APOS1_2 Point(LogicToPixel(Point(POPUPPANEL_MARGIN_HORIZONTAL+CONTROL_WIDTH+CONTROL_SPACING… 52 #define APOS_Left_Right_1 Point(LogicToPixel(Point(LEFT_RIGHT_X1,LEFT_RIGHT_Y1), MAP_APPFONT)) 53 #define APOS_Left_Right_2 Point(LogicToPixel(Point(LEFT_RIGHT_X2,LEFT_RIGHT_Y1), MAP_APPFONT)) 54 #define APOS_Left_Right_3 Point(LogicToPixel(Point(LEFT_RIGHT_X1,LEFT_RIGHT_Y2), MAP_APPFONT)) 55 #define APOS_Left_Right_4 Point(LogicToPixel(Point(LEFT_RIGHT_X2,LEFT_RIGHT_Y2), MAP_APPFONT)) 144 Point aPointAngle; in Rearrange() 173 maBtnLeft45.SetPosPixel(Point(APOS_Left_Right_1.getX(), aPosY)); in Rearrange() 174 maBtnRight45.SetPosPixel(Point(APOS_Left_Right_2.getX(), aPosY)); in Rearrange() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | dlgctrl.cxx | 396 Point aPtDiff( PixelToLogic( Point( 1, 1 ) ) ); in Paint() 592 Point SvxRectCtl::GetApproxLogPtFromPixPt( const Point& rPt ) const in GetApproxLogPtFromPixPt() 830 DrawLine( aPtLT - Point( 0, 0), aPtRB + Point( 0, 0 ) ); in Paint() 831 DrawLine( aPtLB - Point( 0, 0), aPtRT + Point( 0, 0 ) ); in Paint() 834 DrawLine( aPtLM - Point( 0, 0), aPtRM + Point( 0, 0 ) ); in Paint() 835 DrawLine( aPtMT - Point( 0, 0), aPtMB + Point( 0, 0 ) ); in Paint() 909 Point aPtTl; in IndexToPoint() 1034 Point aPtTl, aPtBr; in Paint() 1044 DrawLine( Point( 0, nTmp ), Point( aRectSize.Width(), nTmp ) ); in Paint() 1047 DrawLine( Point( nTmp, 0 ), Point( nTmp, aRectSize.Height() ) ); in Paint() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | ConnectionLine.cxx | 63 inline Rectangle calcRect(const Point& _rBase,const Point& _aVector) in calcRect() 187 Rectangle aBoundingRect( Point(0,0), Point(0,0) ); in GetBoundingRect() 191 Point aTopLeft; in GetBoundingRect() 192 Point aBottomRight; in GetBoundingRect() 226 aBoundingRect = Rectangle( aTopLeft-Point(2,17), aBottomRight+Point(2,2) ); in GetBoundingRect() 231 void calcPointX1(const OTableWindow* _pWin,Point& _rNewConPos,Point& _rNewDescrPos) in calcPointX1() 238 void calcPointX2(const OTableWindow* _pWin,Point& _rNewConPos,Point& _rNewDescrPos) in calcPointX2() 341 double dist_Euklid(const Point &p1, const Point& p2,const Point& pM, Point& q) in dist_Euklid() 343 Point v(p2 - p1); in dist_Euklid() 344 Point w(pM - p1); in dist_Euklid() [all …]
|
/trunk/main/sw/source/ui/envelp/ |
H A D | labfmt.cxx | 164 DrawLine(Point(lX0, lY0), Point(lX0 + lOutlineW - 1, lY0)); // Oben in Paint() 165 DrawLine(Point(lX0, lY0), Point(lX0, lY0 + lOutlineH - 1)); // Links in Paint() 187 DrawArrow(Point(lX0, lY0 - 5), Point(lX1, lY0 - 5), sal_False); in Paint() 188 DrawArrow(Point(lX, lY0 - 10), Point(lX, lY0 - 5), sal_True); in Paint() 195 DrawArrow(Point(lX0 - 5, lY0), Point(lX0 - 5, lY1), sal_False); in Paint() 204 DrawLine(Point(lX1, lY), Point(lX2 - 1, lY)); in Paint() 205 DrawLine(Point(lX, lY1), Point(lX, lY2 - 1)); in Paint() 215 DrawArrow(Point(lX1, lY0 - 5), Point(lX3, lY0 - 5), sal_False); in Paint() 216 DrawArrow(Point(lX, lY0 - 10), Point(lX, lY0 - 5), sal_True); in Paint() 223 DrawArrow(Point(lX0 - 5, lY1), Point(lX0 - 5, lY3), sal_False); in Paint() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | group.cxx | 185 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 188 pDev->DrawLine( Point( rPos.X(), nTop ), Point( aRect.Left()-nTextOff, nTop ) ); in ImplDraw() 189 … pDev->DrawLine( Point( aRect.Right()+nTextOff, nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw() 191 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X(), rPos.Y()+rSize.Height()-2 ) ); in ImplDraw() 193 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-2, rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSiz… in ImplDraw() 203 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); in ImplDraw() 206 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( aRect.Left()-nTextOff, nTop+1 ) ); in ImplDraw() 207 …pDev->DrawLine( Point( aRect.Right()+nTextOff, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 )… in ImplDraw() 209 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+1, rPos.Y()+rSize.Height()-3 ) ); in ImplDraw() 211 …pDev->DrawLine( Point( rPos.X()+rSize.Width()-1, rPos.Y()+rSize.Height()-1 ), Point( rPos.X()+rSiz… in ImplDraw() [all …]
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessibleText.cxx | 130 return Point(); in LogicToPixel() 145 return Point(); in PixelToLogic() 233 return Point(); in LogicToPixel() 255 return Point(); in PixelToLogic() 327 return Point(); in LogicToPixel() 350 return Point(); in PixelToLogic() 366 Point aPoint; in GetVisRect() 647 return Point(); in LogicToPixel() 658 return Point(); in PixelToLogic() 1514 Point aPoint; in GetTextForwarder() [all …]
|
/trunk/main/vcl/inc/ |
H A D | printergfx.hxx | 202 void TranslateCoordinates (Point& rOut, const Point& rIn) in TranslateCoordinates() 282 void PSBinLineTo (const Point& rCurrent, Point& rOld, 284 void PSBinMoveTo (const Point& rCurrent, Point& rOld, 289 void PSBinPath (const Point& rCurrent, Point& rOld, 294 void PSMoveTo (const Point& rPoint); 297 void PSLineTo(const Point& rPoint ); 317 void drawText (const Point& rPoint, 321 void drawGlyphs( const Point& rPoint, 352 void DrawPixel (const Point& rPoint) in DrawPixel() 354 void DrawLine (const Point& rFrom, const Point& rTo); [all …]
|
/trunk/main/svx/source/sidebar/paragraph/ |
H A D | ParaPropertyPanel.cxx | 99 #define POS_IMG_SPACE1 Point(LogicToPixel(Point(IMG_SPACE_X,IMG_SPACE1_Y), MAP_APPFONT)) 100 #define POS_IMG_SPACE12 Point(LogicToPixel(Point(IMG_SPACE_X,IMG_SPACE1_Y2), MAP_APPFONT)) 101 #define POS_IMG_SPACE2 Point(LogicToPixel(Point(IMG_SPACE_X,IMG_SPACE2_Y), MAP_APPFONT)) 102 #define POS_IMG_SPACE22 Point(LogicToPixel(Point(IMG_SPACE_X,IMG_SPACE2_Y2), MAP_APPFONT)) 103 #define POS_IMG_INDENT1 Point(LogicToPixel(Point(IMG_INDENT_X,IMG_INDENT1_Y), MAP_APPFONT)) 105 #define POS_IMG_INDENT2 Point(LogicToPixel(Point(IMG_INDENT_X,IMG_INDENT2_Y), MAP_APPFONT)) 107 #define POS_IMG_INDENT3 Point(LogicToPixel(Point(IMG_INDENT_X,IMG_INDENT3_Y), MAP_APPFONT)) 112 #define LINE_POINT1_WHITE Point(LogicToPixel(Point(LINE_X_WHITE,LINE_TOP_Y), MAP_APPFONT)) 113 #define LINE_POINT2_WHITE Point(LogicToPixel(Point(LINE_X_WHITE,LINE_BOT_Y), MAP_APPFONT)) 114 #define LINE_POINT3_WHITE Point(LogicToPixel(Point(LINE_X_WHITE,LINE_TOP_Y2), MAP_APPFONT)) [all …]
|
/trunk/main/svtools/source/control/ |
H A D | headbar.cxx | 288 Point aStartPos = aRect1.Center(); in ImplInvertDrag() 289 Point aEndPos = aStartPos; in ImplInvertDrag() 310 Point( aEndPos.X()+1, aEndPos.Y()+3 ) ); in ImplInvertDrag() 312 Point( aEndPos.X()+2, aEndPos.Y()+2 ) ); in ImplInvertDrag() 314 Point( aEndPos.X()+3, aEndPos.Y()+1 ) ); in ImplInvertDrag() 992 DrawLine( Point( 0, 0 ), Point( mnDX-1, 0 ) ); in Paint() 994 DrawLine( Point( 0, mnDY-1 ), Point( mnDX-1, mnDY-1 ) ); in Paint() 998 DrawLine( Point( 0, 0 ), Point( 0, mnDY-1 ) ); in Paint() 999 DrawLine( Point( mnDX-1, 0 ), Point( mnDX-1, mnDY-1 ) ); in Paint() 1018 Point aPos = pDev->LogicToPixel( rPos ); in Draw() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev2.cxx | 450 void OutputDevice::ImplDrawFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize, in ImplDrawFrameDev() 498 void OutputDevice::ImplGetFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize, in ImplGetFrameDev() 1713 const Point& rPt = rPts[ i ]; in GetPixel() 1741 Point aPt = ImplLogicToDevicePixel( rPt ); in DrawPixel() 1812 Point aPt = ImplLogicToDevicePixel( rPt ); in DrawPixel() 2204 const Point aNullPt; in ImplDrawAlpha() 2205 Point aOutPt( LogicToPixel( rDestPt ) ); in ImplDrawAlpha() 2253 Point aRelPt = aOutPt + Point( mnOutOffX, mnOutOffY ); in ImplDrawAlpha() 2387 Point aPt; in ImplPrintTransparent() 2388 Point aDestPt( LogicToPixel( rDestPt ) ); in ImplPrintTransparent() [all …]
|