/trunk/main/vcl/workben/ |
H A D | outdevgrind.cxx | 109 const Point aPt1(10,10); in setupMethodStubs() local 114 const Rectangle aRect(aPt1,aPt2); in setupMethodStubs() 185 aPt1, aBlackColor )); in setupMethodStubs() 194 aPt1, aPt2 )); in setupMethodStubs() 205 aPt1, aPt2, aLineInfo )); in setupMethodStubs() 282 aRect,aPt1,aPt2 )); in setupMethodStubs() 370 aPt1,aBitmapAlien )); in setupMethodStubs() 382 aPt1,aBitmap )); in setupMethodStubs() 452 aPt1,aBitmapExAlien )); in setupMethodStubs() 464 aPt1,aBitmapEx )); in setupMethodStubs() [all …]
|
/trunk/main/basebmp/test/ |
H A D | linetest.cxx | 61 const basegfx::B2IPoint aPt1(1,1); in implTestBasicDiagonalLines() local 64 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines() 74 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines() 84 const basegfx::B2IPoint aPt1(10,10); in implTestBasicHorizontalLines() local 87 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicHorizontalLines() 93 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicHorizontalLines() 103 const basegfx::B2IPoint aPt1(1,1); in implTestBasicVerticalLines() local 106 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicVerticalLines() 123 const basegfx::B2IPoint aPt1(1,1); in implTestTieBreaking() local 126 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestTieBreaking() [all …]
|
H A D | cliptest.cxx | 78 const basegfx::B2IPoint aPt1(10,0); in implTestPixelClip() local 79 rDevice->setPixel( aPt1, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 80 ASSERT_TRUE(rDevice->getPixel(aPt1) != aBgCol) << "get/setPixel clip #3"; in implTestPixelClip() 92 const basegfx::B2IPoint aPt1(0,0); 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 | 75 const basegfx::B2IPoint aPt1(1,1); in implTestRectFill() local 76 ASSERT_TRUE(rDevice->getPixel(aPt1) == aCol) << "first pixel set"; in implTestRectFill() 119 const basegfx::B2IPoint aPt1(0,0); in implTestCornerCases() local 120 ASSERT_TRUE(rDevice->getPixel(aPt1) == aCol) << "first pixel set"; in implTestCornerCases()
|
H A D | bmpdemo.cxx | 1114 const basegfx::B2IPoint aPt1(0,0); in Paint() 1117 pDevice->drawLine( aPt1, aPt2, aCol, basebmp::DrawMode_PAINT, pMask ); in Paint() 1126 const basegfx::B2IPoint aPt1(0,0); in Paint() 1128 pDevice->drawLine( aPt1, aPt2, aCol, basebmp::DrawMode_PAINT ); in Paint() 1131 pDevice->drawLine( aPt1, aPt3, aCol, basebmp::DrawMode_PAINT ); in Paint()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdomeas.cxx | 221 aPt1(rPt1), in SdrMeasureObj() 264 Point aPt1; member 329 rRec.aPt1 = aPt1; in ImpTakeAttr() 372 Point aP1(rRec.aPt1); in ImpCalcGeometrics() 736 aPt1=((SdrMeasureObj&)rObj).aPt1; in operator =() 836 aPt1 = aMeasureRec.aPt1; in applySpecialDrag() 986 aPt1+=aPt1; in MovCreate() 987 aPt1-=rStat.Now(); in MovCreate() 1129 aPt1=rPnt; in NbcSetPoint() 1145 rMGeo.aPt1=aPt1; in SaveGeoData() [all …]
|
H A D | svdoedge.cxx | 435 aPt1+=aPt2; in GetVertexGluePoint() 436 aPt1.X()/=2; in GetVertexGluePoint() 437 aPt1.Y()/=2; in GetVertexGluePoint() 438 aPt=aPt1; in GetVertexGluePoint() 720 Point aPt1,aPt2; in ImpCalcEdgeTrack() local 729 aPt1=rTrack0[0]; in ImpCalcEdgeTrack() 766 aBoundRect1=Rectangle(aPt1,aPt1); in ImpCalcEdgeTrack() 807 aPt1=aGP1.GetPos(); in ImpCalcEdgeTrack() 871 Point aPt1(rPt1); in ImpCalcEdgeTrack() local 877 Point aMeeting((aPt1.X()+aPt2.X()+1)/2,(aPt1.Y()+aPt2.Y()+1)/2); 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 | svddrgmt.cxx | 1652 Point aPt1(aPnt); in MoveSdrDrag() local 1660 Point aD(aPt1-DragStat().GetStart()); in MoveSdrDrag() 1678 aPt1.X()-=aSR2.Left()-aLR.Left(); in MoveSdrDrag() 1682 aPt1.X()-=aSR2.Right()-aLR.Right(); in MoveSdrDrag() 1694 aPt1.Y()-=aSR2.Top()-aLR.Top(); in MoveSdrDrag() 1698 aPt1.Y()-=aSR2.Bottom()-aLR.Bottom(); in MoveSdrDrag() 1707 aPt1-=DragStat().GetStart(); in MoveSdrDrag() 1731 aPt+=aPt1; // soviel soll verschoben werden in MoveSdrDrag() 1741 aPt1+=DragStat().GetStart(); in MoveSdrDrag() 1747 if (aPt1!=DragStat().GetNow()) in MoveSdrDrag() [all …]
|
H A D | svdtrans.cxx | 617 Point aPt1(rPol[1]-rPol[0]); in Poly2Rect() local 618 if (rGeo.nDrehWink!=0) RotatePoint(aPt1,Point(0,0),-rGeo.nSin,rGeo.nCos); // -Sin fuer Rueckdrehung in Poly2Rect() 619 long nWdt=aPt1.X(); in Poly2Rect()
|
H A D | svdopath.cxx | 1091 Point aPt1,aPt2; in getSpecialDragComment() local 1366 Point aPt1(rStat.Now()); in MovCreate() local 1367 long dx=aPt0.X()-aPt1.X(); if (dx<0) dx=-dx; in MovCreate() 1368 long dy=aPt0.Y()-aPt1.Y(); if (dy<0) dy=-dy; in MovCreate()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 1177 Point aPt1, aPt2, aEndPt1; in ImplDrawHatch() local 1185 ImplDrawHatchLine( Line( aPt1, aPt2 ), rPolyPoly, pPtBuffer, bMtf ); in ImplDrawHatch() 1186 aPt1.X() += aInc.Width(); aPt1.Y() += aInc.Height(); in ImplDrawHatch() 1189 while( ( aPt1.X() <= aEndPt1.X() ) && ( aPt1.Y() <= aEndPt1.Y() ) ); in ImplDrawHatch() 1197 ImplDrawHatchLine( Line( aPt1, aPt2 ), rPolyPoly, pPtBuffer, bMtf ); in ImplDrawHatch() 1198 aPt1.X() += aInc.Width(); aPt1.Y() += aInc.Height(); in ImplDrawHatch() 1201 while( ( aPt1.X() <= aEndPt1.X() ) && ( aPt1.Y() <= aEndPt1.Y() ) ); in ImplDrawHatch() 1209 ImplDrawHatchLine( Line( aPt1, aPt2 ), rPolyPoly, pPtBuffer, bMtf ); in ImplDrawHatch() 1210 aPt1.X() += aInc.Width(); aPt1.Y() += aInc.Height(); in ImplDrawHatch() 1213 while( ( aPt1.X() <= aEndPt1.X() ) && ( aPt1.Y() <= aEndPt1.Y() ) ); in ImplDrawHatch() [all …]
|
H A D | cvtsvm.cxx | 546 Point aPt, aPt1; in ImplConvertFromSVM1() local 590 rIStm >> aPt >> aPt1; in ImplConvertFromSVM1() 591 rMtf.AddAction( new MetaLineAction( aPt, aPt1, aLineInfo ) ); in ImplConvertFromSVM1() 735 rIStm >> aPt >> aPt1; in ImplConvertFromSVM1() 739 const Polygon aPoly( aRect, aPt, aPt1, POLY_ARC ); in ImplConvertFromSVM1() 748 rMtf.AddAction( new MetaArcAction( aRect, aPt, aPt1 ) ); in ImplConvertFromSVM1() 755 rIStm >> aPt >> aPt1; in ImplConvertFromSVM1() 759 const Polygon aPoly( aRect, aPt, aPt1, POLY_PIE ); in ImplConvertFromSVM1() 768 rMtf.AddAction( new MetaPieAction( aRect, aPt, aPt1 ) ); in ImplConvertFromSVM1() 1008 rIStm >> aPt >> aSz >> aPt1 >> aSz2; in ImplConvertFromSVM1() [all …]
|
/trunk/main/sw/source/ui/utlui/ |
H A D | shdwcrsr.cxx | 65 Point aPt1( (bLeft ? rPt.X() - 3 : rPt.X() + 3), in DrawTri() local 68 Point aPt2( aPt1.X(), aPt1.Y() + nHeight - nLineDiff - 1 ); in DrawTri() 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/basebmp/inc/basebmp/ |
H A D | clippedlinerenderer.hxx | 196 void renderClippedLine( basegfx::B2IPoint aPt1, in renderClippedLine() argument 206 sal_uInt32 clipCode1 = basegfx::tools::getCohenSutherlandClipFlags(aPt1, in renderClippedLine() 222 std::swap(aPt1,aPt2); in renderClippedLine() 226 const sal_Int32 x1 = aPt1.getX(); in renderClippedLine() 228 const sal_Int32 y1 = aPt1.getY(); in renderClippedLine()
|
/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 | 65 Point aPt1 = Point( aSize.Width() / 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 | 50 Point aPt1; member in SdrMeasureObjGeoData 74 Point aPt1; member in SdrMeasureObj
|
/trunk/main/svx/source/tbxctrls/ |
H A D | linectrl.cxx | 544 Point aPt1( aBmpSize.Width(), 0 ); in FillValueSet() local 548 aLineEndSet.InsertItem( 2, aVD.GetBitmap( aPt1, aBmpSize ), pEntry->GetName() ); in FillValueSet() 561 …aLineEndSet.InsertItem( (sal_uInt16)((i+2L)*2L), aVD.GetBitmap( aPt1, aBmpSize ), pEntry->GetName… in FillValueSet()
|
/trunk/main/filter/source/svg/ |
H A D | svgwriter.cxx | 548 Point aPt1, aPt2; in ImplWriteLine() local 552 ImplMap( rPt1, aPt1 ); in ImplWriteLine() 557 aPt1 = rPt1; in ImplWriteLine() 561 mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrX1, ::rtl::OUString::valueOf( aPt1.X() ) ); in ImplWriteLine() 562 mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrY1, ::rtl::OUString::valueOf( aPt1.Y() ) ); in ImplWriteLine()
|
/trunk/main/tools/source/generic/ |
H A D | poly.cxx | 1717 Point aPt1( mpImplPolygon->mpPointAry[ 0 ] ); in IsInside() local 1721 while ( ( aPt1 == mpImplPolygon->mpPointAry[ nCount - 1 ] ) && ( nCount > 3 ) ) in IsInside() 1728 if ( aLine.Intersection( Line( aPt1, rPt2 ), aIntersection ) ) in IsInside() 1747 aPt1 = rPt2; in IsInside()
|
/trunk/main/oox/source/drawingml/ |
H A D | customshapegeometry.cxx | 1070 EnhancedCustomShapeParameterPair aPt1; // TODO: conversion from (wr hr stAng swAng) in createFastChildContext() local 1074 mrPath2D.parameter.push_back( aPt1 ); in createFastChildContext() 1091 EnhancedCustomShapeParameterPair aPt1; in createFastChildContext() local 1093 mrPath2D.parameter.push_back( aPt1 ); in createFastChildContext()
|
/trunk/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 213 void METLine(Point aPt1, Point aPt2); 1273 void METWriter::METLine(Point aPt1, Point aPt2) in METLine() argument 1277 WritePoint(aPt1); WritePoint(aPt2); in METLine()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 448 const Point aPt1( ReadPoint() ); in ReadRecordParams() local 450 aRect = Rectangle( aPt1, aPt2 ); in ReadRecordParams()
|
/trunk/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 7557 Point aPt1( ((SdrPathObj*)pObj)->GetPoint( 0 ) ); in GetLinePositions() local 7559 if ( aPt1.X() < aPt2.X() ) in GetLinePositions() 7560 nPosition |= aPt1.Y() < aPt2.Y() ? LinePositionTLBR : LinePositionBLTR; in GetLinePositions() 7562 nPosition |= aPt1.Y() < aPt2.Y() ? LinePositionBLTR : LinePositionTLBR; in GetLinePositions() 7564 …std::set< sal_Int32 >::const_iterator aRow( rRows.find( aPt1.Y() < aPt2.Y() ? aPt1.Y() : aPt2.Y() … in GetLinePositions() 7565 …std::set< sal_Int32 >::const_iterator aColumn( rColumns.find( aPt1.X() < aPt2.X() ? aPt1.X() : aPt… in GetLinePositions()
|