/aoo4110/main/basebmp/test/ |
H A D | polytest.cxx | 74 aPoly, in implTestEmpty() 78 aPoly, in implTestEmpty() 89 aPoly, in implTestEmpty() 93 aPoly, in implTestEmpty() 109 aPoly, in implTestHairline() 113 aPoly, in implTestHairline() 124 aPoly, in implTestHairline() 128 aPoly, in implTestHairline() 139 aPoly, in implTestHairline() 143 aPoly, in implTestHairline() [all …]
|
H A D | bmpmasktest.cxx | 132 basegfx::B2DPolyPolygon aPoly; in setUp() local 133 basegfx::tools::importFromSvgD( aPoly, aSvg ); in setUp() 137 aPoly, in setUp() 141 aPoly, in setUp() 148 aPoly.clear(); in setUp() 149 basegfx::tools::importFromSvgD( aPoly, aSvg ); in setUp() 152 aPoly, in setUp()
|
/aoo4110/main/vcl/source/window/ |
H A D | cursor.cxx | 70 Polygon aPoly( aRect ); in ImplCursorInvert() local 71 if( aPoly.GetSize() == 5 ) in ImplCursorInvert() 74 aPoly[2].X() += 1; in ImplCursorInvert() 77 Point aPoint = aPoly.GetPoint( 0 ); in ImplCursorInvert() 79 aPoly.SetPoint( aPoint, 0 ); in ImplCursorInvert() 80 aPoly.SetPoint( aPoint, 4 ); in ImplCursorInvert() 81 aPoint = aPoly.GetPoint( 1 ); in ImplCursorInvert() 83 aPoly.SetPoint( aPoint, 1 ); in ImplCursorInvert() 94 pAry[0] = aPoly.GetPoint( 0 ); in ImplCursorInvert() 117 aPoly = Polygon( 7, pAry); in ImplCursorInvert() [all …]
|
/aoo4110/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 315 Polygon aPoly(nPoints); in DrawCircleEntity() local 320 aPoly[i] in DrawCircleEntity() 378 Polygon aPoly(nPoints); in DrawArcEntity() local 383 aPoly[i] in DrawArcEntity() 406 Polygon aPoly(4); in DrawTraceEntity() local 411 pVirDev->DrawPolygon(aPoly); in DrawTraceEntity() 432 Polygon aPoly(nN); in DrawSolidEntity() local 551 Polygon aPoly(nPolySize); in DrawPolyLineEntity() local 698 Polygon aPoly( nSize ); in DrawHatchEntity() local 714 Polygon aPoly(nN); in Draw3DFaceEntity() local [all …]
|
/aoo4110/main/basegfx/test/ |
H A D | basegfx2d.cxx | 149 B2DPolyPolygon aPoly; in impex() local 154 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex() 160 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex() 166 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex() 197 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex() 219 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex() 968 B2DPolygon aPoly; in testBasics() local 981 aPoly.setNextControlPoint(0,B2DPoint(4,4)); in testBasics() 991 aPoly.resetControlPoints(); in testBasics() 1001 aPoly.clear(); in testBasics() [all …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | region.cxx | 218 … pRegionBand->InsertLine( aPoly.GetPoint(nPoint-1), aPoly.GetPoint(nPoint), nLineID++ ); in ImplGeneralPolygonToBands() 321 return aPoly.getB2DPolyPolygon(); in ImplCreateB2DPolyPolygonFromRegionBand() 449 mpB2DPolyPolygon.reset(aPoly.count() ? new basegfx::B2DPolyPolygon(aPoly) : 0); in Move() 457 aPoly.Move(nHorzMove, nVertMove); in Move() 459 mpPolyPolygon.reset(aPoly.Count() ? new PolyPolygon(aPoly) : 0); in Move() 496 mpB2DPolyPolygon.reset(aPoly.count() ? new basegfx::B2DPolyPolygon(aPoly) : 0); in Scale() 504 aPoly.Scale(fScaleX, fScaleY); in Scale() 506 mpPolyPolygon.reset(aPoly.Count() ? new PolyPolygon(aPoly) : 0); in Scale() 644 mpB2DPolyPolygon.reset(aPoly.count() ? new basegfx::B2DPolyPolygon(aPoly) : 0); in Intersect() 655 aPoly.Clip(rRect); in Intersect() [all …]
|
H A D | outdev4.cxx | 243 Polygon aPoly( 4 ); in ImplDrawLinearGradient() local 342 aPoly[0] = aRect.TopLeft(); in ImplDrawLinearGradient() 343 aPoly[1] = aRect.TopRight(); in ImplDrawLinearGradient() 345 aPoly[3] = aRect.BottomLeft(); in ImplDrawLinearGradient() 379 aPoly[0] = aRect.TopLeft(); in ImplDrawLinearGradient() 380 aPoly[1] = aRect.TopRight(); in ImplDrawLinearGradient() 519 Polygon aPoly; in ImplDrawComplexGradient() local 536 pPolyPoly->Insert( aPoly ); in ImplDrawComplexGradient() 566 aPoly = Polygon( aRect ); in ImplDrawComplexGradient() 568 aPoly.Rotate( aCenter, nAngle ); in ImplDrawComplexGradient() [all …]
|
H A D | outdev.cxx | 218 Polygon aPoly; in ImplSubdivideBezier() local 221 rPoly.AdaptiveSubdivide( aPoly ); in ImplSubdivideBezier() 223 return aPoly; in ImplSubdivideBezier() 1839 if( aPoly.HasFlags() ) in DrawPolyLine() 1844 aPoly = ImplSubdivideBezier(aPoly); in DrawPolyLine() 1937 if( aPoly.HasFlags() ) in ImpDrawPolyLineWithLineInfo() 1939 aPoly = ImplSubdivideBezier( aPoly ); in ImpDrawPolyLineWithLineInfo() 2028 if( aPoly.HasFlags() ) in DrawPolygon() 2033 aPoly = ImplSubdivideBezier(aPoly); in DrawPolygon() 2127 if( aPoly.GetSize() >= 2 ) in DrawPolyPolygon() [all …]
|
H A D | outmap.cxx | 720 return aPoly; in ImplLogicToDevicePixel() 1223 aPoly[i] = aPt; in LogicToPixel() 1226 return aPoly; in LogicToPixel() 1431 aPoly[i] = aPt; in LogicToPixel() 1434 return aPoly; in LogicToPixel() 1618 aPoly[i] = aPt; in PixelToLogic() 1621 return aPoly; in PixelToLogic() 1830 aPoly[i] = aPt; in PixelToLogic() 1833 return aPoly; in PixelToLogic() 2334 return aPoly; in LogicToLogic() [all …]
|
/aoo4110/main/filter/source/flash/ |
H A D | swfwriter1.cxx | 727 aPoly[ 1 ].X() = aPoly[ 0 ].X() + aNormSize.Width() - 1; in Impl_writeText() 728 aPoly[ 1 ].Y() = aPoly[ 0 ].Y(); in Impl_writeText() 729 aPoly[ 2 ].X() = aPoly[ 1 ].X(); in Impl_writeText() 730 aPoly[ 2 ].Y() = aPoly[ 1 ].Y() + nLineHeight - 1; in Impl_writeText() 731 aPoly[ 3 ].X() = aPoly[ 0 ].X(); in Impl_writeText() 732 aPoly[ 3 ].Y() = aPoly[ 2 ].Y(); in Impl_writeText() 744 aPoly[ 1 ].Y() = aPoly[ 0 ].Y(); in Impl_writeText() 745 aPoly[ 2 ].X() = aPoly[ 1 ].X(); in Impl_writeText() 746 aPoly[ 2 ].Y() = aPoly[ 1 ].Y() + nLineHeight - 1; in Impl_writeText() 747 aPoly[ 3 ].X() = aPoly[ 0 ].X(); in Impl_writeText() [all …]
|
/aoo4110/main/chart2/source/view/charttypes/ |
H A D | AreaChart.cxx | 321 drawing::PolyPolygonShape3D aPoly; in impl_createLine() local 362 if(!ShapeFactory::hasPolygonAnyLines(aPoly)) in impl_createLine() 366 pPosHelper->transformScaledLogicToScene( aPoly ); in impl_createLine() 399 , PolyToPointSequence( aPoly ) ); in impl_createLine() 419 drawing::PolyPolygonShape3D aPoly( *pSeriesPoly ); in impl_createArea() local 451 appendPoly( aPoly, *pPreviousSeriesPoly ); in impl_createArea() 453 ShapeFactory::closePolygon(aPoly); in impl_createArea() 460 aPoly = aClippedPoly; in impl_createArea() 463 if(!ShapeFactory::hasPolygonAnyLines(aPoly)) in impl_createArea() 467 pPosHelper->transformScaledLogicToScene( aPoly ); in impl_createArea() [all …]
|
H A D | CandleStickChart.cxx | 282 drawing::PolyPolygonShape3D aPoly; in createShapes() local 284 AddPointToPoly( aPoly, aPosMiddleMinimum, nLineIndex); in createShapes() 285 AddPointToPoly( aPoly, aPosMiddleMaximum, nLineIndex); in createShapes() 286 …xProp->setPropertyValue( C2U( UNO_NAME_POLYPOLYGON ), uno::makeAny( PolyToPointSequence(aPoly) ) ); in createShapes() 317 drawing::PolyPolygonShape3D aPoly; in createShapes() local 323 AddPointToPoly( aPoly, aPosLeftFirst, nLineIndex ); in createShapes() 324 AddPointToPoly( aPoly, aPosMiddleFirst, nLineIndex++ ); in createShapes() 329 AddPointToPoly( aPoly, aPosMiddleLast, nLineIndex ); in createShapes() 330 AddPointToPoly( aPoly, aPosRightLast, nLineIndex ); in createShapes() 333 if( aPoly.SequenceX.getLength() ) in createShapes() [all …]
|
/aoo4110/main/vcl/unx/headless/ |
H A D | svpgdi.cxx | 348 B2DPolygon aPoly; in drawPolyLine() local 349 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolyLine() 352 aPoly.setClosed( false ); in drawPolyLine() 362 B2DPolygon aPoly; in drawPolygon() local 368 aPoly.setClosed( true ); in drawPolygon() 373 aPoly.setClosed( false ); in drawPolygon() 393 B2DPolygon aPoly; in drawPolyPolygon() local 398 aPolyPoly.append( aPoly ); in drawPolyPolygon() 580 B2DPolygon aPoly; in invert() local 581 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in invert() [all …]
|
/aoo4110/main/filter/source/svg/ |
H A D | svgwriter.cxx | 464 Polygon aPoly; in ImplMap() local 961 Polygon aPoly( 4 ); in ImplWriteText() local 969 … aPoly[ 1 ].X() = aBaseLinePos.X() + aNormSize.Width() - 1; aPoly[ 1 ].Y() = aPoly[ 0 ].Y(); in ImplWriteText() 970 aPoly[ 2 ].X() = aPoly[ 1 ].X(); aPoly[ 2 ].Y() = aPoly[ 0 ].Y() + nLineHeight - 1; in ImplWriteText() 971 aPoly[ 3 ].X() = aPoly[ 0 ].X(); aPoly[ 3 ].Y() = aPoly[ 2 ].Y(); in ImplWriteText() 981 … aPoly[ 1 ].X() = aBaseLinePos.X() + aNormSize.Width() - 1; aPoly[ 1 ].Y() = aPoly[ 0 ].Y(); in ImplWriteText() 982 aPoly[ 2 ].X() = aPoly[ 1 ].X(); aPoly[ 2 ].Y() = aPoly[ 0 ].Y() + nLineHeight - 1; in ImplWriteText() 983 aPoly[ 3 ].X() = aPoly[ 0 ].X(); aPoly[ 3 ].Y() = aPoly[ 2 ].Y(); in ImplWriteText() 1235 Polygon aPoly; in ImplWriteActions() local 1265 if( aPoly.GetSize() ) in ImplWriteActions() [all …]
|
/aoo4110/main/canvas/source/tools/ |
H A D | canvastools.cxx | 769 ::basegfx::B2DPolygon aPoly( in isInside() 771 aPoly.transform( rTransformation ); in isInside() 948 ::basegfx::B2DPolygon aPoly; in getBoundMarksPolyPolygon() 957 aPoly.append( ::basegfx::B2DPoint( nX0, in getBoundMarksPolyPolygon() 959 aPoly.append( ::basegfx::B2DPoint( nX0, in getBoundMarksPolyPolygon() 961 aPolyPoly.append( aPoly ); aPoly.clear(); in getBoundMarksPolyPolygon() 965 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon() 967 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon() 969 aPolyPoly.append( aPoly ); aPoly.clear(); in getBoundMarksPolyPolygon() 977 aPolyPoly.append( aPoly ); aPoly.clear(); in getBoundMarksPolyPolygon() [all …]
|
/aoo4110/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 1165 Polygon aPoly; in ReadPolygons() local 1173 aPoly.SetSize((short)nNumPoints); in ReadPolygons() 1180 aPolyPoly.Insert(aPoly); in ReadPolygons() 1326 Polygon aPoly(4); in ReadMarker() local 1331 pVirDev->DrawPolygon(aPoly); in ReadMarker() 1336 Polygon aPoly(4); in ReadMarker() local 1341 pVirDev->DrawPolygon(aPoly); in ReadMarker() 1345 Polygon aPoly(12); in ReadMarker() local 1358 pVirDev->DrawPolygon(aPoly); in ReadMarker() 1362 Polygon aPoly(16); in ReadMarker() local [all …]
|
/aoo4110/main/slideshow/source/engine/slide/ |
H A D | userpaintoverlay.cxx | 346 ::basegfx::B2DPolygon aPoly; in handleMouseDragged() 351 aPoly.append( maLastPoint ); in handleMouseDragged() 356 aPoly.append( maLastPoint ); in handleMouseDragged() 360 aPoly.append( maLastPoint ); in handleMouseDragged() 364 aPoly.append( maLastPoint ); in handleMouseDragged() 368 aPoly.append( maLastPoint ); in handleMouseDragged() 395 ::basegfx::B2DPolyPolygon aPolyPoly=::basegfx::B2DPolyPolygon(aPoly); in handleMouseDragged() 416 ::basegfx::B2DPolygon aPoly; in handleMouseDragged() 417 aPoly.append( maLastPoint ); in handleMouseDragged() 422 aPoly.append( maLastPoint ); in handleMouseDragged() [all …]
|
/aoo4110/main/svtools/source/filter/ |
H A D | sgvmain.cxx | 588 Polygon aPoly(4,aPts); in Draw() local 589 rOut.DrawPolygon(aPoly); in Draw() 606 Polygon aPoly(nPoints); in Draw() local 629 Polygon aPoly(0); in Draw() local 635 if (aPoly.GetSize()>0) rOut.DrawPolygon(aPoly); in Draw() 638 if (aPoly.GetSize()>0) rOut.DrawPolyLine(aPoly); in Draw() 899 PolyType aPoly; in DrawObjkList() local 900 rInp>>aPoly; in DrawObjkList() 902 aPoly.EckP=new PointType[aPoly.nPoints]; in DrawObjkList() 903 rInp.Read((char*)aPoly.EckP,4*aPoly.nPoints); in DrawObjkList() [all …]
|
/aoo4110/main/cppcanvas/source/mtfrenderer/ |
H A D | implrenderer.cxx | 1861 aPoly, in createActions() 2052 ::basegfx::B2DPolygon aPoly( in createActions() 2062 createFillAndStroke( aPoly, in createActions() 2080 ::basegfx::B2DPolygon aPoly( in createActions() 2087 createFillAndStroke( aPoly, in createActions() 2101 createFillAndStroke( aPoly, in createActions() 2115 createFillAndStroke( aPoly, in createActions() 2129 createFillAndStroke( aPoly, in createActions() 2203 createFillAndStroke( aPoly, in createActions() 2212 createFillAndStroke( aPoly, in createActions() [all …]
|
/aoo4110/main/svtools/source/misc/ |
H A D | imap.cxx | 559 aPoly = rPoly; in ImpConstruct() 571 rOStm << aPoly; in WriteIMapObject() 585 rIStm >> aPoly; in ReadIMapObject() 616 return aPoly.IsInside( rPoint ); in IsHit() 633 aNewPoly = aPoly; in GetPolygon() 647 if ( aPoly.GetSize() ) in SetExtraEllipse() 663 sal_uInt16 nCount = aPoly.GetSize(); in Scale() 667 Point aScaledPt( aPoly[ i ] ); in Scale() 674 aPoly[ i ] = aScaledPt; in Scale() 705 const Polygon& rEqPoly = rEqObj.aPoly; in IsEqual() [all …]
|
H A D | imap2.cxx | 211 const sal_uInt16 nCount = aPoly.GetSize(); in WriteCERN() 214 AppendCERNCoords( aPoly[ i ], aStr ); in WriteCERN() 231 const sal_uInt16 nCount = Min( aPoly.GetSize(), (sal_uInt16) 100 ); in WriteNCSA() 236 AppendNCSACoords( aPoly[ i ], aStr ); in WriteNCSA() 438 Polygon aPoly( nCount ); in ImpReadCERNLine() local 442 aPoly[ i ] = ImpReadCERNCoords( &pStr ); in ImpReadCERNLine() 446 …IMapPolygonObject* pObj = new IMapPolygonObject( aPoly, aURL, String(), String(), String(), String… in ImpReadCERNLine() 619 Polygon aPoly( nCount ); in ImpReadNCSALine() local 622 aPoly[ i ] = ImpReadNCSACoords( &pStr ); in ImpReadNCSALine() 624 …IMapPolygonObject* pObj = new IMapPolygonObject( aPoly, aURL, String(), String(), String(), String… in ImpReadNCSALine()
|
/aoo4110/main/basegfx/source/tools/ |
H A D | unopolypolygon.cxx | 266 B2DPolygon aPoly( maPolyPoly.getB2DPolygon( nPolygonIndex ) ); in setPoint() local 268 if( nPointIndex < 0 || nPointIndex >= static_cast<sal_Int32>(aPoly.count()) ) in setPoint() 271 aPoly.setB2DPoint( nPointIndex, in setPoint() 273 maPolyPoly.setB2DPolygon( nPolygonIndex, aPoly ); in setPoint() 346 B2DPolygon aPoly( maPolyPoly.getB2DPolygon( nPolygonIndex ) ); in setBezierSegment() local 347 const sal_uInt32 nPointCount(aPoly.count()); in setBezierSegment() 352 aPoly.setB2DPoint( nPointIndex, in setBezierSegment() 355 aPoly.setNextControlPoint(nPointIndex, in setBezierSegment() 357 aPoly.setPrevControlPoint((nPointIndex + 1) % nPointCount, in setBezierSegment() 360 maPolyPoly.setB2DPolygon( nPolygonIndex, aPoly ); in setBezierSegment()
|
/aoo4110/main/sdext/source/pdfimport/tree/ |
H A D | genericelements.cxx | 178 basegfx::B2DPolygon aPoly = PolyPoly.getB2DPolygon( i ); in emitStructure() local 179 int nPoints = aPoly.count(); in emitStructure() 182 basegfx::B2DPoint aPoint = aPoly.getB2DPoint( n ); in emitStructure() 411 basegfx::B2DPolygon aPoly = pPoly->PolyPoly.getB2DPolygon(0); in resolveUnderlines() local 412 if( aPoly.count() != 2 || in resolveUnderlines() 413 aPoly.getB2DPoint(0).getY() != aPoly.getB2DPoint(1).getY() ) in resolveUnderlines() 418 double l_x = aPoly.getB2DPoint(0).getX(); in resolveUnderlines() 419 double r_x = aPoly.getB2DPoint(1).getX(); in resolveUnderlines() 425 u_y = aPoly.getB2DPoint(0).getY(); in resolveUnderlines()
|
/aoo4110/main/oox/source/drawingml/ |
H A D | shape.cxx | 322 ::basegfx::B2DPolygon aPoly; in createAndInsert() 323 aPoly.insert( 0, ::basegfx::B2DPoint( 0, 0 ) ); in createAndInsert() 324 aPoly.insert( 1, ::basegfx::B2DPoint( maSize.Width ? 1 : 0, maSize.Height ? 1 : 0 ) ); in createAndInsert() 325 aPoly.transform( aTransformation ); in createAndInsert() 328 sal_Int32 i, nNumPoints = aPoly.count(); in createAndInsert() 333 const ::basegfx::B2DPoint aPoint( aPoly.getB2DPoint( i ) ); in createAndInsert() 343 ::basegfx::B2DPolygon aPoly; in createAndInsert() 344 aPoly.insert( 0, ::basegfx::B2DPoint( 0, 0 ) ); in createAndInsert() 346 aPoly.transform( aTransformation ); in createAndInsert() 348 basegfx::B2DPoint aStartPosition( aPoly.getB2DPoint( 0 ) ); in createAndInsert() [all …]
|
/aoo4110/main/svtools/source/filter/wmf/ |
H A D | enhwmf.cxx | 291 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local 295 aPoly[ i ] = Point( nX32, nY32 ); in ReadEnhWMF() 305 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local 309 aPoly[ k ] = Point( nX32, nY32 ); in ReadEnhWMF() 362 Polygon aPoly( pnPoints[ i ] ); in ReadEnhWMF() local 366 aPoly[ k ] = Point( nX32, nY32 ); in ReadEnhWMF() 1144 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local 1148 aPoly[ i ] = Point( nX16, nY16 ); in ReadEnhWMF() 1158 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local 1162 aPoly[ k ] = Point( nX16, nY16 ); in ReadEnhWMF() [all …]
|