/trunk/main/basebmp/test/ |
H A D | linetest.cxx | 62 const basegfx::B2IPoint aPt2(9,9); in implTestBasicDiagonalLines() local 64 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines() 74 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines() 85 const basegfx::B2IPoint aPt2(0,10); in implTestBasicHorizontalLines() local 87 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicHorizontalLines() 93 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicHorizontalLines() 104 const basegfx::B2IPoint aPt2(1,9); in implTestBasicVerticalLines() local 106 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicVerticalLines() 124 const basegfx::B2IPoint aPt2(3,2); in implTestTieBreaking() local 126 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestTieBreaking() [all …]
|
H A D | basictest.cxx | 113 const basegfx::B2IPoint aPt2(0,0); in TEST_F() local 115 pDevice->setPixel( aPt2, aCol2, DrawMode_PAINT ); in TEST_F() 116 ASSERT_TRUE(pDevice->getPixel(aPt2) == aCol2) << "get/setPixel roundtrip #2"; in TEST_F() 144 pDevice->setPixel( aPt2, aCol, DrawMode_PAINT ); in TEST_F() 145 ASSERT_TRUE(pDevice->getPixel(aPt2) == aCol) << "get/setPixel roundtrip #4"; in TEST_F() 169 pDevice->setPixel( aPt2, aCol5, DrawMode_PAINT ); in TEST_F() 170 ASSERT_TRUE(pDevice->getPixel(aPt2) == aCol5) << "get/setPixel roundtrip #5"; in TEST_F() 190 pDevice->setPixel( aPt2, aCol5, DrawMode_PAINT ); in TEST_F() 191 ASSERT_TRUE(pDevice->getPixel(aPt2) != aCol7) << "get/setPixel roundtrip #8"; in TEST_F() 209 pDevice->setPixel( aPt2, aCol5, DrawMode_PAINT ); in TEST_F() [all …]
|
H A D | cliptest.cxx | 74 const basegfx::B2IPoint aPt2(10,10); in implTestPixelClip() local 75 rDevice->setPixel( aPt2, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 76 ASSERT_TRUE(rDevice->getPixel(aPt2) == aBgCol) << "get/setPixel clip #2"; in implTestPixelClip() 93 const basegfx::B2IPoint aPt2(1,9); in implTestLineClip() local 95 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT, mpClipMask ); in implTestLineClip() 102 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_XOR, mpClipMask ); in implTestLineClip()
|
H A D | filltest.cxx | 77 const basegfx::B2IPoint aPt2(9,9); in implTestRectFill() local 78 ASSERT_TRUE(rDevice->getPixel(aPt2) == aCol) << "last pixel set"; in implTestRectFill() 128 const basegfx::B2IPoint aPt2(10,10); in implTestCornerCases() local 129 ASSERT_TRUE(rDevice->getPixel(aPt2) == aCol) << "last pixel set"; in implTestCornerCases()
|
H A D | bmpdemo.cxx | 1115 const basegfx::B2IPoint aPt2(1,9); in Paint() 1117 pDevice->drawLine( aPt1, aPt2, aCol, basebmp::DrawMode_PAINT, pMask ); in Paint() 1127 const basegfx::B2IPoint aPt2(0,800); in Paint() 1128 pDevice->drawLine( aPt1, aPt2, aCol, basebmp::DrawMode_PAINT ); in Paint()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdomeas.cxx | 222 aPt2(rPt2), in SdrMeasureObj() 265 Point aPt2; member 330 rRec.aPt2 = aPt2; in ImpTakeAttr() 373 Point aP2(rRec.aPt2); in ImpCalcGeometrics() 737 aPt2=((SdrMeasureObj&)rObj).aPt2; in operator =() 842 aPt2 = aMeasureRec.aPt2; in applySpecialDrag() 1054 if (rRef==aPt2) { in NbcRotate() 1108 else return aPt2; in GetSnapPoint() 1131 aPt2=rPnt; in NbcSetPoint() 1146 rMGeo.aPt2=aPt2; in SaveGeoData() [all …]
|
H A D | svdoedge.cxx | 435 aPt1+=aPt2; in GetVertexGluePoint() 720 Point aPt1,aPt2; in ImpCalcEdgeTrack() local 732 aPt2=rTrack0[nSiz]; in ImpCalcEdgeTrack() 789 aBoundRect2=Rectangle(aPt2,aPt2); in ImpCalcEdgeTrack() 814 aPt2=aGP2.GetPos(); in ImpCalcEdgeTrack() 872 Point aPt2(rPt2); in ImpCalcEdgeTrack() local 877 Point aMeeting((aPt1.X()+aPt2.X()+1)/2,(aPt1.Y()+aPt2.Y()+1)/2); in ImpCalcEdgeTrack() 973 FASTBOOL bX2Ok=aPt2.X()<=aBewareRect1.Left() || aPt2.X()>=aBewareRect1.Right(); in ImpCalcEdgeTrack() 1038 (aPt2.Y()>aBewareRect1.Top() && aPt2.Y()<aBewareRect1.Bottom())) { in ImpCalcEdgeTrack() 1098 (aPt2.X()>aBewareRect1.Left() && aPt2.X()<aBewareRect1.Right())) { in ImpCalcEdgeTrack() [all …]
|
H A D | svdhlpln.cxx | 88 Point aPt1(rOut.LogicToPixel(aPos)), aPt2(rOut.LogicToPixel(rHelpLine.aPos)); in IsVisibleEqual() local 92 return aPt1 == aPt2; in IsVisibleEqual() 94 return aPt1.X() == aPt2.X(); in IsVisibleEqual() 96 return aPt1.Y() == aPt2.Y(); in IsVisibleEqual()
|
H A D | svdedtv1.cxx | 451 Point aPt2(aCenter); in MirrorMarkedObjHorizontal() local 452 aPt2.Y()++; in MirrorMarkedObjHorizontal() 453 MirrorMarkedObj(aCenter,aPt2,bCopy); in MirrorMarkedObjHorizontal() 459 Point aPt2(aCenter); in MirrorMarkedObjVertical() local 460 aPt2.X()++; in MirrorMarkedObjVertical() 461 MirrorMarkedObj(aCenter,aPt2,bCopy); in MirrorMarkedObjVertical()
|
H A D | svddrgmt.cxx | 2413 Point aPt2(aPnt); in MoveSdrDrag() local 2416 aPt2=GetSnapPos(aPnt); // den also in jedem Falle fangen in MoveSdrDrag() 2420 aNeuFact=Fraction(aPt2.X()-aRef.X(),aP0.X()-aRef.X()); in MoveSdrDrag() 2424 aNeuFact=Fraction(aPt2.Y()-aRef.Y(),aP0.Y()-aRef.Y()); in MoveSdrDrag()
|
/trunk/main/vcl/source/gdi/ |
H A D | impanmvw.cxx | 137 Point aPt2( rAnm.aPosPix.X() + rAnm.aSizePix.Width() - 1L, in ImplGetPosSize() local 156 aPt2.X() = FRound( aPt2.X() * fFactX ); in ImplGetPosSize() 157 aPt2.Y() = FRound( aPt2.Y() * fFactY ); in ImplGetPosSize() 159 rSizePix.Width() = aPt2.X() - rPosPix.X() + 1L; in ImplGetPosSize() 160 rSizePix.Height() = aPt2.Y() - rPosPix.Y() + 1L; in ImplGetPosSize() 164 rPosPix.X() = maSzPix.Width() - 1L - aPt2.X(); in ImplGetPosSize() 168 rPosPix.Y() = maSzPix.Height() - 1L - aPt2.Y(); in ImplGetPosSize()
|
H A D | outdev4.cxx | 1177 Point aPt1, aPt2, aEndPt1; in ImplDrawHatch() local 1182 ImplCalcHatchValues( aRect, nWidth, rHatch.GetAngle(), aPt1, aPt2, aInc, aEndPt1 ); in ImplDrawHatch() 1185 ImplDrawHatchLine( Line( aPt1, aPt2 ), rPolyPoly, pPtBuffer, bMtf ); in ImplDrawHatch() 1187 aPt2.X() += aInc.Width(); aPt2.Y() += aInc.Height(); in ImplDrawHatch() 1194 ImplCalcHatchValues( aRect, nWidth, rHatch.GetAngle() + 900, aPt1, aPt2, aInc, aEndPt1 ); in ImplDrawHatch() 1197 ImplDrawHatchLine( Line( aPt1, aPt2 ), rPolyPoly, pPtBuffer, bMtf ); in ImplDrawHatch() 1199 aPt2.X() += aInc.Width(); aPt2.Y() += aInc.Height(); in ImplDrawHatch() 1209 ImplDrawHatchLine( Line( aPt1, aPt2 ), rPolyPoly, pPtBuffer, bMtf ); in ImplDrawHatch() 1211 aPt2.X() += aInc.Width(); aPt2.Y() += aInc.Height(); in ImplDrawHatch() 1414 const Point aPt2( ImplLogicToDevicePixel( pPtBuffer[ i + 1 ] ) ); in ImplDrawHatchLine() local [all …]
|
/trunk/main/sw/source/ui/utlui/ |
H A D | shdwcrsr.cxx | 68 Point aPt2( aPt1.X(), aPt1.Y() + nHeight - nLineDiff - 1 ); in DrawTri() local 70 while( aPt1.Y() <= aPt2.Y() ) in DrawTri() 72 pWin->DrawLine( aPt1, aPt2 ); in DrawTri() 73 aPt1.Y()++, aPt2.Y()--; in DrawTri() 74 aPt2.X() = aPt1.X() += nDiff; in DrawTri()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salgdi2.cxx | 208 POINT aPt2; in copyArea() local 209 aPt2.x = 0; in copyArea() 210 aPt2.y = 0; in copyArea() 211 ClientToScreen( hWndTopWindow, &aPt2 ); in copyArea() 212 aTempRect.left += aPt2.x; in copyArea() 213 aTempRect.top += aPt2.y; in copyArea() 214 aTempRect.right += aPt2.x; in copyArea() 215 aTempRect.bottom += aPt2.y; in copyArea()
|
/trunk/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 213 void METLine(Point aPt1, Point aPt2); 1277 WritePoint(aPt1); WritePoint(aPt2); in METLine() 1897 Point aPt2; in WriteOrders() local 1901 aPt2 = aPt; in WriteOrders() 1904 aPt2.X() += pA->GetDXArray()[i-1]; in WriteOrders() 1907 aPolyDummy.SetPoint( aPt2, 0 ); in WriteOrders() 1909 aPt2 = aPolyDummy.GetPoint( 0 ); in WriteOrders() 1931 Point aPt2; in WriteOrders() local 1955 aPt2 = aPt; in WriteOrders() 1961 aPolyDummy.SetPoint( aPt2, 0 ); in WriteOrders() [all …]
|
/trunk/main/basebmp/inc/basebmp/ |
H A D | clippedlinerenderer.hxx | 197 basegfx::B2IPoint aPt2, in renderClippedLine() argument 208 sal_uInt32 clipCode2 = basegfx::tools::getCohenSutherlandClipFlags(aPt2, in renderClippedLine() 222 std::swap(aPt1,aPt2); in renderClippedLine() 227 const sal_Int32 x2 = aPt2.getX(); in renderClippedLine() 229 const sal_Int32 y2 = aPt2.getY(); in renderClippedLine()
|
/trunk/main/vcl/workben/ |
H A D | outdevgrind.cxx | 110 const Point aPt2(500,500); in setupMethodStubs() local 114 const Rectangle aRect(aPt1,aPt2); in setupMethodStubs() 194 aPt1, aPt2 )); in setupMethodStubs() 205 aPt1, aPt2, aLineInfo )); in setupMethodStubs() 282 aRect,aPt1,aPt2 )); in setupMethodStubs() 761 aPt1,aPt2,(sal_uInt16)WAVE_NORMAL )); in setupMethodStubs()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | feshview.cxx | 274 #define LESS_X( aPt1, aPt2, bOld ) ( aPt1.X() < aPt2.X() || \ argument 275 ( aPt1.X() == aPt2.X() && ( aPt1.Y() < aPt2.Y() || \ 276 ( aPt1.Y() == aPt2.Y() && bOld ) ) ) ) 277 #define LESS_Y( aPt1, aPt2, bOld ) ( aPt1.Y() < aPt2.Y() || \ argument 278 ( aPt1.Y() == aPt2.Y() && ( aPt1.X() < aPt2.X() || \ 279 ( aPt1.X() == aPt2.X() && bOld ) ) ) )
|
/trunk/main/svx/source/dialog/ |
H A D | measctrl.cxx | 66 Point aPt2 = Point( aSize.Width() * 4 / 5, (long) ( aSize.Height() / 2 ) ); in SvxXMeasurePreview() local 68 pMeasureObj = new SdrMeasureObj( aPt1, aPt2 ); in SvxXMeasurePreview()
|
/trunk/main/svx/inc/svx/ |
H A D | svdomeas.hxx | 51 Point aPt2; member in SdrMeasureObjGeoData 75 Point aPt2; member in SdrMeasureObj
|
H A D | svdoedge.hxx | 212 sal_uInt16 ImpCalcEscAngle(SdrObject* pObj, const Point& aPt2) const;
|
/trunk/main/filter/source/svg/ |
H A D | svgwriter.cxx | 548 Point aPt1, aPt2; in ImplWriteLine() local 553 ImplMap( rPt2, aPt2 ); in ImplWriteLine() 558 aPt2 = rPt2; in ImplWriteLine() 563 mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrX2, ::rtl::OUString::valueOf( aPt2.X() ) ); in ImplWriteLine() 564 mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrY2, ::rtl::OUString::valueOf( aPt2.Y() ) ); in ImplWriteLine()
|
/trunk/main/oox/source/drawingml/ |
H A D | customshapegeometry.cxx | 1071 EnhancedCustomShapeParameterPair aPt2; // to (x1 y1 x2 y2 x3 y3 x y) needed in createFastChildContext() local 1075 mrPath2D.parameter.push_back( aPt2 ); in createFastChildContext() 1092 EnhancedCustomShapeParameterPair aPt2; in createFastChildContext() local 1094 mrPath2D.parameter.push_back( aPt2 ); in createFastChildContext()
|
/trunk/main/cui/source/tabpages/ |
H A D | swpossizetabpage.cxx | 1919 Point aPt2 = aPt; in SetView() local 1924 aPt2 += m_aRect.TopLeft(); in SetView() 1925 m_aRect.SetPos( aPt2 ); in SetView()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 449 const Point aPt2( ReadPoint() ); in ReadRecordParams() local 450 aRect = Rectangle( aPt1, aPt2 ); in ReadRecordParams()
|