Home
last modified time | relevance | path

Searched refs:aPoly (Results 1 – 25 of 113) sorted by relevance

12345

/AOO41X/main/basebmp/test/
H A Dpolytest.cxx70 basegfx::B2DPolyPolygon aPoly; in implTestEmpty() local
74 aPoly, in implTestEmpty()
78 aPoly, in implTestEmpty()
87 aPoly.clear(); in implTestEmpty()
89 aPoly, in implTestEmpty()
93 aPoly, in implTestEmpty()
105 basegfx::B2DPolyPolygon aPoly; in implTestHairline() local
109 aPoly, in implTestHairline()
113 aPoly, in implTestHairline()
122 aPoly.clear(); in implTestHairline()
[all …]
H A Dbmpmasktest.cxx132 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()
/AOO41X/main/vcl/source/window/
H A Dcursor.cxx70 Polygon aPoly( aRect ); in ImplCursorInvert() local
71 if( aPoly.GetSize() == 5 ) in ImplCursorInvert()
73 aPoly[1].X() += 1; // include the right border 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()
[all …]
/AOO41X/main/filter/source/graphicfilter/idxf/
H A Ddxf2mtf.cxx315 Polygon aPoly(nPoints); in DrawCircleEntity() local
320 aPoly[i] in DrawCircleEntity()
323 pVirDev->DrawPolyLine(aPoly); in DrawCircleEntity()
335 for (i=0; i<nPoints-1; i++) pVirDev->DrawLine(aPoly[i],aPoly2[i]); in DrawCircleEntity()
378 Polygon aPoly(nPoints); in DrawArcEntity() local
383 aPoly[i] in DrawArcEntity()
386 pVirDev->DrawPolyLine(aPoly); in DrawArcEntity()
397 for (i=0; i<nPoints; i++) pVirDev->DrawLine(aPoly[i],aPoly2[i]); in DrawArcEntity()
406 Polygon aPoly(4); in DrawTraceEntity() local
407 rTransform.Transform(rE.aP0,aPoly[0]); in DrawTraceEntity()
[all …]
/AOO41X/main/basegfx/test/
H A Dbasegfx2d.cxx149 B2DPolyPolygon aPoly; in impex() local
153 tools::importFromSvgD( aPoly, aPath0, false, 0 )); in impex()
154 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex()
159 tools::importFromSvgD( aPoly, aExport, false, 0 )); in impex()
160 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex()
165 tools::importFromSvgD( aPoly, aPath1, false, 0 )); in impex()
166 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex()
194 CPPUNIT_ASSERT_MESSAGE("re-imported polygon needs to be identical", aReImport == aPoly); in impex()
196 …CPPUNIT_ASSERT_MESSAGE("importing '@' from SVG-D", tools::importFromSvgD( aPoly, aPath2, , false, … in impex()
197 aExport = tools::exportToSvgD( aPoly, true, true, false ); in impex()
[all …]
/AOO41X/main/vcl/source/gdi/
H A Dregion.cxx57 const Polygon& aPoly = rPolyPoly.GetObject(nPoly); in ImplIsPolygonRectilinear() local
60 const sal_uInt16 nSize = aPoly.GetSize(); in ImplIsPolygonRectilinear()
64 Point aPoint (aPoly.GetPoint(0)); in ImplIsPolygonRectilinear()
68 const Point aNextPoint (aPoly.GetPoint(nPoint)); in ImplIsPolygonRectilinear()
108 const Polygon& aPoly = rPolyPoly.GetObject(nPoly); in ImplRectilinearPolygonToBands() local
111 const sal_uInt16 nSize = aPoly.GetSize(); in ImplRectilinearPolygonToBands()
116 Point aStart (aPoly.GetPoint(0)); in ImplRectilinearPolygonToBands()
122 aEnd = aPoly.GetPoint(nPoint%nSize); in ImplRectilinearPolygonToBands()
208 const Polygon& aPoly = rPolyPoly.GetObject( nPoly ); in ImplGeneralPolygonToBands() local
209 const sal_uInt16 nSize = aPoly.GetSize(); in ImplGeneralPolygonToBands()
[all …]
H A Doutdev4.cxx243 Polygon aPoly( 4 ); in ImplDrawLinearGradient() local
256 aPoly[0] = aBorderRect.TopLeft(); in ImplDrawLinearGradient()
257 aPoly[1] = aBorderRect.TopRight(); in ImplDrawLinearGradient()
258 aPoly[2] = aBorderRect.BottomRight(); in ImplDrawLinearGradient()
259 aPoly[3] = aBorderRect.BottomLeft(); in ImplDrawLinearGradient()
260 aPoly.Rotate( aCenter, nAngle ); in ImplDrawLinearGradient()
262 mpMetaFile->AddAction( new MetaPolygonAction( aPoly ) ); in ImplDrawLinearGradient()
264 ImplDrawPolygon( aPoly, pClipPolyPoly ); in ImplDrawLinearGradient()
270 aPoly[0] = aBorderRect.TopLeft(); in ImplDrawLinearGradient()
271 aPoly[1] = aBorderRect.TopRight(); in ImplDrawLinearGradient()
[all …]
H A Doutdev.cxx218 Polygon aPoly; in ImplSubdivideBezier() local
221 rPoly.AdaptiveSubdivide( aPoly ); in ImplSubdivideBezier()
223 return aPoly; in ImplSubdivideBezier()
295 Polygon aPoly = ImplSubdivideBezier( rPolyPoly.GetObject( last ) ); in ImplDrawPolyPolygon() local
296 … mpGraphics->DrawPolygon( aPoly.GetSize(), (const SalPoint*)aPoly.GetConstPointAry(), this ); in ImplDrawPolyPolygon()
1835 Polygon aPoly = ImplLogicToDevicePixel( rPoly ); in DrawPolyLine() local
1836 const SalPoint* pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in DrawPolyLine()
1839 if( aPoly.HasFlags() ) in DrawPolyLine()
1841 const sal_uInt8* pFlgAry = aPoly.GetConstFlagAry(); in DrawPolyLine()
1844 aPoly = ImplSubdivideBezier(aPoly); in DrawPolyLine()
[all …]
H A Doutmap.cxx689 Polygon aPoly( rLogicPoly ); in ImplLogicToDevicePixel() local
692 const Point* pPointAry = aPoly.GetConstPointAry(); in ImplLogicToDevicePixel()
706 aPoly[i] = aPt; in ImplLogicToDevicePixel()
716 aPoly[i] = aPt; in ImplLogicToDevicePixel()
720 return aPoly; in ImplLogicToDevicePixel()
1208 Polygon aPoly( rLogicPoly ); in LogicToPixel() local
1211 const Point* pPointAry = aPoly.GetConstPointAry(); in LogicToPixel()
1223 aPoly[i] = aPt; in LogicToPixel()
1226 return aPoly; in LogicToPixel()
1416 Polygon aPoly( rLogicPoly ); in LogicToPixel() local
[all …]
/AOO41X/main/filter/source/flash/
H A Dswfwriter1.cxx628 Polygon aTmpPoly( aPoly ); in Impl_writeText()
720 Polygon aPoly( 4 ); in Impl_writeText() local
725 aPoly[ 0 ].X() = aBaseLinePos.X(); in Impl_writeText()
726aPoly[ 0 ].Y() = aBaseLinePos.Y() - FRound( aMetric.GetAscent() * 0.26 ) - nLineHeight; in Impl_writeText()
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()
[all …]
/AOO41X/main/chart2/source/view/charttypes/
H A DAreaChart.cxx321 drawing::PolyPolygonShape3D aPoly; in impl_createLine() local
327 …Clipping::clipPolygonAtRectangle( aSplinePoly, pPosHelper->getScaledLogicClipDoubleRect(), aPoly ); in impl_createLine()
334 …Clipping::clipPolygonAtRectangle( aSplinePoly, pPosHelper->getScaledLogicClipDoubleRect(), aPoly ); in impl_createLine()
353 Clipping::clipPolygonAtRectangle( aTmpPoly, aScaledLogicClipDoubleRect, aPoly ); in impl_createLine()
359 …lipping::clipPolygonAtRectangle( *pSeriesPoly, pPosHelper->getScaledLogicClipDoubleRect(), aPoly ); in impl_createLine()
362 if(!ShapeFactory::hasPolygonAnyLines(aPoly)) in impl_createLine()
366 pPosHelper->transformScaledLogicToScene( aPoly ); in impl_createLine()
373 sal_Int32 nPolyCount = aPoly.SequenceX.getLength(); in impl_createLine()
376 sal_Int32 nPointCount = aPoly.SequenceX[nPoly].getLength(); in impl_createLine()
380 aPoint1.PositionX = aPoly.SequenceX[nPoly][nPoint+1]; in impl_createLine()
[all …]
H A DCandleStickChart.cxx282 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 …]
/AOO41X/main/vcl/unx/headless/
H A Dsvpgdi.cxx348 B2DPolygon aPoly; in drawPolyLine() local
349 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolyLine()
351 aPoly.setB2DPoint( i, B2DPoint( pPtAry[i].mnX, pPtAry[i].mnY ) ); in drawPolyLine()
352 aPoly.setClosed( false ); in drawPolyLine()
353 m_aDevice->drawPolygon( aPoly, m_aLineColor, m_aDrawMode, m_aClipMap ); in drawPolyLine()
362 B2DPolygon aPoly; in drawPolygon() local
363 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolygon()
365 aPoly.setB2DPoint( i, B2DPoint( pPtAry[i].mnX, pPtAry[i].mnY ) ); in drawPolygon()
368 aPoly.setClosed( true ); in drawPolygon()
369 … m_aDevice->fillPolyPolygon( B2DPolyPolygon(aPoly), m_aFillColor, m_aDrawMode, m_aClipMap ); in drawPolygon()
[all …]
/AOO41X/main/filter/source/svg/
H A Dsvgwriter.cxx206 Polygon aPoly( rObjRect ); in AddGradientDef() local
209 aPoly.Rotate( aObjRectCenter, nAngle ); in AddGradientDef()
210 Rectangle aRect( aPoly.GetBoundRect() ); in AddGradientDef()
464 Polygon aPoly; in ImplMap() local
470 rDstPolyPoly.Insert( ImplMap( rPolyPoly[ i ], aPoly ) ); in ImplMap()
961 Polygon aPoly( 4 ); in ImplWriteText() local
968aPoly[ 0 ].X() = aBaseLinePos.X(); aPoly[ 0 ].Y() = nYLinePos - ( nLineHeight >> 1 ); in ImplWriteText()
969aPoly[ 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()
[all …]
/AOO41X/main/canvas/source/tools/
H A Dcanvastools.cxx769 ::basegfx::B2DPolygon aPoly( in isInside()
771 aPoly.transform( rTransformation ); in isInside()
773 return ::basegfx::tools::isInside( aPoly, in isInside()
948 ::basegfx::B2DPolygon aPoly; in getBoundMarksPolyPolygon()
955 aPoly.append( ::basegfx::B2DPoint( nX0+4, 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()
963 aPoly.append( ::basegfx::B2DPoint( nX1-4, in getBoundMarksPolyPolygon()
965 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon()
[all …]
/AOO41X/main/filter/source/graphicfilter/ios2met/
H A Dios2met.cxx1165 Polygon aPoly; in ReadPolygons() local
1173 aPoly.SetSize((short)nNumPoints); in ReadPolygons()
1177 aPoly.SetPoint(aPoint,(short)j); in ReadPolygons()
1180 aPolyPoly.Insert(aPoly); in ReadPolygons()
1326 Polygon aPoly(4); in ReadMarker() local
1327 aPoly.SetPoint(Point(x,y+4),0); in ReadMarker()
1328 aPoly.SetPoint(Point(x+4,y),1); in ReadMarker()
1329 aPoly.SetPoint(Point(x,y-4),2); in ReadMarker()
1330 aPoly.SetPoint(Point(x-4,y),3); in ReadMarker()
1331 pVirDev->DrawPolygon(aPoly); in ReadMarker()
[all …]
/AOO41X/main/svtools/source/filter/
H A Dsgvmain.cxx588 Polygon aPoly(4,aPts); in Draw() local
589 rOut.DrawPolygon(aPoly); in Draw()
606 Polygon aPoly(nPoints); in Draw() local
608 for(i=0;i<nPoints;i++) aPoly.SetPoint(Point(EckP[i].x,EckP[i].y),i); in Draw()
610 rOut.DrawPolygon(aPoly); in Draw()
612 rOut.DrawPolyLine(aPoly); in Draw()
629 Polygon aPoly(0); in Draw() local
634 Spline2Poly(aSpln,sal_True,aPoly); in Draw()
635 if (aPoly.GetSize()>0) rOut.DrawPolygon(aPoly); in Draw()
637 Spline2Poly(aSpln,sal_False,aPoly); in Draw()
[all …]
/AOO41X/main/slideshow/source/engine/slide/
H A Duserpaintoverlay.cxx346 ::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 …]
/AOO41X/main/cppcanvas/source/mtfrenderer/
H A Dimplrenderer.cxx1857 ::basegfx::B2DPolyPolygon aPoly( aPath.getB2DPolyPolygon() ); in createActions()
1858 aPoly.transform( getState( rStates ).mapModeTransform ); in createActions()
1861 aPoly, in createActions()
1995 ::basegfx::B2DPolygon aPoly; in createActions()
1996 aPoly.append( aStartPoint ); in createActions()
1997 aPoly.append( aEndPoint ); in createActions()
2000 ::basegfx::B2DPolyPolygon( aPoly ), in createActions()
2052 ::basegfx::B2DPolygon aPoly( in createActions()
2060 aPoly.transform( getState( rStates ).mapModeTransform ); in createActions()
2062 createFillAndStroke( aPoly, in createActions()
[all …]
/AOO41X/main/svtools/source/misc/
H A Dimap.cxx557 aPoly = Application::GetDefaultDevice()->PixelToLogic( rPoly, MapMode( MAP_100TH_MM ) ); in ImpConstruct()
559 aPoly = rPoly; in ImpConstruct()
571 rOStm << aPoly; in WriteIMapObject()
585 rIStm >> aPoly; in ReadIMapObject()
616 return aPoly.IsInside( rPoint ); in IsHit()
631 aNewPoly = Application::GetDefaultDevice()->LogicToPixel( aPoly, MapMode( MAP_100TH_MM ) ); in GetPolygon()
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()
[all …]
H A Dimap2.cxx211 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()
/AOO41X/main/basegfx/source/tools/
H A Dunopolypolygon.cxx266 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()
/AOO41X/main/sdext/source/pdfimport/tree/
H A Dgenericelements.cxx178 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()
/AOO41X/main/oox/source/drawingml/
H A Dshape.cxx322 ::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()
345 aPoly.insert( 1, ::basegfx::B2DPoint( maSize.Width ? 1 : 0, maSize.Height ? 1 : 0 ) ); in createAndInsert()
346 aPoly.transform( aTransformation ); in createAndInsert()
[all …]
/AOO41X/main/svtools/source/filter/wmf/
H A Denhwmf.cxx291 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local
295 aPoly[ i ] = Point( nX32, nY32 ); in ReadEnhWMF()
297 pOut->DrawPolyBezier( aPoly, bFlag, bRecordPath ); in ReadEnhWMF()
305 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local
309 aPoly[ k ] = Point( nX32, nY32 ); in ReadEnhWMF()
311 pOut->DrawPolygon( aPoly, bRecordPath ); in ReadEnhWMF()
362 Polygon aPoly( pnPoints[ i ] ); in ReadEnhWMF() local
366 aPoly[ k ] = Point( nX32, nY32 ); in ReadEnhWMF()
368 pOut->DrawPolyLine( aPoly, sal_False, bRecordPath ); in ReadEnhWMF()
1144 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() local
[all …]

12345