Home
last modified time | relevance | path

Searched refs:aCandidate (Results 1 – 25 of 38) sorted by relevance

12

/AOO41X/main/basegfx/source/polygon/
H A Db2dpolypolygontools.cxx47 const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a)); in correctOrientations() local
48 const B2VectorOrientation aOrientation(tools::getOrientation(aCandidate)); in correctOrientations()
57 if(tools::isInside(aCompare, aCandidate, true)) in correctOrientations()
69 B2DPolygon aFlipped(aCandidate); in correctOrientations()
86 const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a)); in correctOutmostPolygon() local
95 if(tools::isInside(aCompare, aCandidate, true)) in correctOutmostPolygon()
109 aRetval.setB2DPolygon(0L, aCandidate); in correctOutmostPolygon()
131 const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a)); in adaptiveSubdivideByDistance() local
133 if(aCandidate.areControlPointsUsed()) in adaptiveSubdivideByDistance()
135 … aRetval.append(tools::adaptiveSubdivideByDistance(aCandidate, fDistanceBound)); in adaptiveSubdivideByDistance()
[all …]
H A Db2dpolypolygoncutter.cxx578 const B2DPolygon aCandidate(aGeometry.getB2DPolygon(a)); in solver() local
579 const sal_uInt32 nCandCount(aCandidate.count()); in solver()
604 const B2DPolygon aCandidate(aGeometry.getB2DPolygon(a)); in solver() local
605 const sal_uInt32 nCandCount(aCandidate.count()); in solver()
611 impAddPolygon(nInsertIndex, aCandidate); in solver()
697 const basegfx::B2DPoint aCandidate(aTemp.getB2DPoint(b)); in getB2DPolyPolygon() local
701 …if(maCorrectionTable[c].first.getX() == aCandidate.getX() && maCorrectionTable[c].first.getY() == in getB2DPolyPolygon()
762 const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a)); in stripNeutralPolygons() local
764 if(ORIENTATION_NEUTRAL != tools::getOrientation(aCandidate)) in stripNeutralPolygons()
766 aRetval.append(aCandidate); in stripNeutralPolygons()
[all …]
H A Db2dpolygontriangulator.cxx409 …B2DPolygon aCandidate(rCandidate.areControlPointsUsed() ? tools::adaptiveSubdivideByAngle(rCandida… in triangulate() local
410 aCandidate.removeDoublePoints(); in triangulate()
411 aCandidate = tools::removeNeutralPoints(aCandidate); in triangulate()
413 if(2L == aCandidate.count()) in triangulate()
416 aRetval.append(aCandidate); in triangulate()
418 else if(aCandidate.count() > 2L) in triangulate()
420 if(tools::isConvex(aCandidate)) in triangulate()
423 tools::addTriangleFan(aCandidate, aRetval); in triangulate()
428 const B2DPolyPolygon aCandPolyPoly(aCandidate); in triangulate()
442 …B2DPolyPolygon aCandidate(rCandidate.areControlPointsUsed() ? tools::adaptiveSubdivideByAngle(rCan… in triangulate() local
[all …]
H A Db2dpolygonclipper.cxx102 const B2DPolygon aCandidate(addPointsAtCuts(rCandidate, aStart, aEnd)); in clipPolygonOnParallelAxis() local
103 const sal_uInt32 nPointCount(aCandidate.count()); in clipPolygonOnParallelAxis()
104 … const sal_uInt32 nEdgeCount(aCandidate.isClosed() ? nPointCount : nPointCount - 1L); in clipPolygonOnParallelAxis()
110 aCandidate.getBezierSegment(a, aEdge); in clipPolygonOnParallelAxis()
358 B2DPolygon aCandidate(rCandidate); in clipPolygonOnEdge() local
363 aCandidate.transform(aMatrixTransform); in clipPolygonOnEdge()
366 aRetval = clipPolygonOnParallelAxis(aCandidate, true, bAbove, 0.0, bStroke); in clipPolygonOnEdge()
391 B2DPolyPolygon aCandidate(rCandidate); in clipPolyPolygonOnEdge() local
396 aCandidate.transform(aMatrixTransform); in clipPolyPolygonOnEdge()
399 aRetval = clipPolyPolygonOnParallelAxis(aCandidate, true, bAbove, 0.0, bStroke); in clipPolyPolygonOnEdge()
[all …]
H A Db2dlinegeometry.cxx827 B2DPolygon aCandidate(rCandidate); in createAreaGeometry() local
830 aCandidate.removeDoublePoints(); in createAreaGeometry()
831aCandidate = subdivideToSimple(aCandidate, fMaxCos * fMaxCos, fMaxPartOfEdge * fMaxPartOfEdge); in createAreaGeometry()
833 const sal_uInt32 nPointCount(aCandidate.count()); in createAreaGeometry()
839 const bool bIsClosed(aCandidate.isClosed()); in createAreaGeometry()
849 aEdge.setStartPoint(aCandidate.getB2DPoint(0)); in createAreaGeometry()
855 aPrev.setStartPoint(aCandidate.getB2DPoint(nPrevIndex)); in createAreaGeometry()
856 aPrev.setControlPointA(aCandidate.getNextControlPoint(nPrevIndex)); in createAreaGeometry()
857 aPrev.setControlPointB(aCandidate.getPrevControlPoint(0)); in createAreaGeometry()
865 aEdge.setControlPointA(aCandidate.getNextControlPoint(a)); in createAreaGeometry()
[all …]
H A Db2dpolygontools.cxx399 …const B2DPolygon aCandidate(rCandidate.areControlPointsUsed() ? rCandidate.getDefaultAdaptiveSubdi… in isInside() local
401 if(bWithBorder && isPointOnPolygon(aCandidate, rPoint, true)) in isInside()
408 const sal_uInt32 nPointCount(aCandidate.count()); in isInside()
412 B2DPoint aCurrentPoint(aCandidate.getB2DPoint(nPointCount - 1L)); in isInside()
417 aCurrentPoint = aCandidate.getB2DPoint(a); in isInside()
458 …const B2DPolygon aCandidate(rCandidate.areControlPointsUsed() ? rCandidate.getDefaultAdaptiveSubdi… in isInside() local
466 if(!isInside(aCandidate, aTestPoint, bWithBorder)) in isInside()
507 …const B2DPolygon aCandidate(rCandidate.areControlPointsUsed() ? rCandidate.getDefaultAdaptiveSubdi… in getSignedArea() local
509 const sal_uInt32 nPointCount(aCandidate.count()); in getSignedArea()
515 … const B2DPoint aPreviousPoint(aCandidate.getB2DPoint((!a) ? nPointCount - 1L : a - 1L)); in getSignedArea()
[all …]
H A Db3dpolypolygontools.cxx55 B3DPolygon aCandidate = rCandidate.getB3DPolygon(a); in getRange() local
56 aRetval.expand(getRange(aCandidate)); in getRange()
76 const B3DPolygon aCandidate(rCandidate.getB3DPolygon(a)); in applyLineDashing() local
79 aCandidate, in applyLineDashing()
528 const B3DPolygon aCandidate(rCandidateA.getB3DPolygon(a)); in equal() local
530 if(!equal(aCandidate, rCandidateB.getB3DPolygon(a), rfSmallValue)) in equal()
H A Db3dpolygonclipper.cxx509 B3DPolygon aCandidate(rCandidate); in clipPolygonOnPlane() local
510 aCandidate.transform(aMatrixTransform); in clipPolygonOnPlane()
513 …aRetval = clipPolygonOnOrthogonalPlane(aCandidate, tools::B3DORIENTATION_X, bClipPositive, 0.0, bS… in clipPolygonOnPlane()
/AOO41X/main/svx/source/svdraw/
H A Dpolypolygoneditor.cxx51 basegfx::B2DPolygon aCandidate(maPolyPolygon.getB2DPolygon(nPoly)); in DeletePoints() local
53 aCandidate.remove(nPnt); in DeletePoints()
55 if( ( mbIsClosed && aCandidate.count() < 3L) || (aCandidate.count() < 2L) ) in DeletePoints()
61 maPolyPolygon.setB2DPolygon(nPoly, aCandidate); in DeletePoints()
83 basegfx::B2DPolygon aCandidate(maPolyPolygon.getB2DPolygon(nPolyNum)); in SetSegmentsKind() local
85 const sal_uInt32 nCount(aCandidate.count()); in SetSegmentsKind()
87 if(nCount && (nPntNum + 1 < nCount || aCandidate.isClosed())) in SetSegmentsKind()
91 … const bool bContolUsed(aCandidate.areControlPointsUsed() in SetSegmentsKind()
92 … && (aCandidate.isNextControlPointUsed(nPntNum) || aCandidate.isPrevControlPointUsed(nNextIndex))); in SetSegmentsKind()
99 aCandidate.resetNextControlPoint(nPntNum); in SetSegmentsKind()
[all …]
H A Dsvdopath.cxx890 basegfx::B2DPolygon aCandidate(aTempPolyPolygon.getB2DPolygon(nPoly)); in endPathDrag() local
891 aCandidate.remove(nPnt); in endPathDrag()
893 if((IsClosed(meObjectKind) && aCandidate.count() < 3L) || aCandidate.count() < 2L) in endPathDrag()
899 aTempPolyPolygon.setB2DPolygon(nPoly, aCandidate); in endPathDrag()
1812 basegfx::B2DPolygon aCandidate(maPathPolygon.getB2DPolygon(a)); in ImpForceKind() local
1814 if((bool)IsClosed() != aCandidate.isClosed()) in ImpForceKind()
1819 if(aCandidate.isClosed()) in ImpForceKind()
1821 basegfx::tools::openWithGeometryChange(aCandidate); in ImpForceKind()
1825 basegfx::tools::closeWithGeometryChange(aCandidate); in ImpForceKind()
1828 maPathPolygon.setB2DPolygon(a, aCandidate); in ImpForceKind()
[all …]
H A Dsdrpagewindow.cxx226 basegfx::B2DPolygon aCandidate(rCandidate); in impPaintStrokePolygon() local
228 if(aCandidate.areControlPointsUsed()) in impPaintStrokePolygon()
230 aCandidate = basegfx::tools::adaptiveSubdivideByAngle(rCandidate); in impPaintStrokePolygon()
233 if(aCandidate.count()) in impPaintStrokePolygon()
235 … const sal_uInt32 nLoopCount(aCandidate.isClosed() ? aCandidate.count() : aCandidate.count() - 1L); in impPaintStrokePolygon()
241 const basegfx::B2DPoint aBStart(aCandidate.getB2DPoint(a)); in impPaintStrokePolygon()
242 const basegfx::B2DPoint aBEnd(aCandidate.getB2DPoint((a + 1) % aCandidate.count())); in impPaintStrokePolygon()
270 basegfx::B2DPolyPolygon aCandidate(((SdrPathObj*)pObjB)->GetPathPoly()); in impTryTest() local
271 aCandidate = basegfx::tools::correctOrientations(aCandidate); in impTryTest()
272 aPolyB.append(aCandidate); in impTryTest()
H A Dsvdedtv2.cxx743 basegfx::B2DPolygon aCandidate(rPolyPolygon.getB2DPolygon(a)); in ImpCombineToSinglePolygon() local
747 if(aCandidate.count()) in ImpCombineToSinglePolygon()
749 const basegfx::B2DPoint aCA(aCandidate.getB2DPoint(0L)); in ImpCombineToSinglePolygon()
750 const basegfx::B2DPoint aCB(aCandidate.getB2DPoint(aCandidate.count() - 1L)); in ImpCombineToSinglePolygon()
774 aCandidate.flip(); in ImpCombineToSinglePolygon()
778 aRetval.append(aCandidate); in ImpCombineToSinglePolygon()
783 aRetval = aCandidate; in ImpCombineToSinglePolygon()
/AOO41X/main/drawinglayer/source/processor2d/
H A Dvclprocessor2d.cxx1079 … basegfx::B2DPolygon aCandidate(aHairlinePolyPolygon.getB2DPolygon(a)); in RenderPolygonStrokePrimitive2D() local
1083 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D()
1084 mpOutputDevice->DrawPolyLine(aCandidate, 0.0); in RenderPolygonStrokePrimitive2D()
1088 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D()
1089 mpOutputDevice->DrawPolyLine(aCandidate, 0.0); in RenderPolygonStrokePrimitive2D()
1093 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D()
1094 mpOutputDevice->DrawPolyLine(aCandidate, 0.0); in RenderPolygonStrokePrimitive2D()
1098 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D()
1099 mpOutputDevice->DrawPolyLine(aCandidate, 0.0); in RenderPolygonStrokePrimitive2D()
1113 … basegfx::B2DPolygon aCandidate(aHairlinePolyPolygon.getB2DPolygon(a)); in RenderPolygonStrokePrimitive2D() local
[all …]
H A Dvclmetafileprocessor2d.cxx145 const basegfx::B2DPolygon aCandidate(rPolyPolygon.getB2DPolygon(a)); in fillPolyPolygonNeededToBeSplit() local
146 const sal_uInt32 nPointCount(aCandidate.count()); in fillPolyPolygonNeededToBeSplit()
149 if(aCandidate.areControlPointsUsed()) in fillPolyPolygonNeededToBeSplit()
163 const basegfx::B2DRange aRange(aCandidate.getB2DRange()); in fillPolyPolygonNeededToBeSplit()
171 aCandidate, in fillPolyPolygonNeededToBeSplit()
178 aCandidate, in fillPolyPolygonNeededToBeSplit()
192 aCandidate, in fillPolyPolygonNeededToBeSplit()
199 aCandidate, in fillPolyPolygonNeededToBeSplit()
211 aSplitted.append(aCandidate); in fillPolyPolygonNeededToBeSplit()
1267 … const basegfx::B2DPolygon aCandidate(aHairLinePolyPolygon.getB2DPolygon(a)); in processBasePrimitive2D() local
[all …]
/AOO41X/main/drawinglayer/source/primitive3d/
H A Dsdrextrudeprimitive3d.cxx163 const basegfx::B3DPolygon aCandidate(aVerLine.getB3DPolygon(a)); in create3DDecomposition() local
170 if(aCandidate == aReducedLoops.getB3DPolygon(b)) in create3DDecomposition()
179 aReducedLoops.append(aCandidate); in create3DDecomposition()
226 … const basegfx::B2DPolygon aCandidate(maCorrectedPolyPolygon.getB2DPolygon(c)); in create3DDecomposition() local
227 const sal_uInt32 nPointCount(aCandidate.count()); in create3DDecomposition()
239 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(d)); in create3DDecomposition()
240 … const basegfx::B2DVector aPrev(aCandidate.getB2DPoint(nPrevInd) - aPoint); in create3DDecomposition()
241 … const basegfx::B2DVector aNext(aCandidate.getB2DPoint(nNextInd) - aPoint); in create3DDecomposition()
292 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(nIndexA)); in create3DDecomposition()
304 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(nIndexB)); in create3DDecomposition()
[all …]
H A Dsdrlatheprimitive3d.cxx165 basegfx::B3DPolygon aCandidate(aHorLine.getB3DPolygon(a)); in create3DDecomposition() local
166 aCandidate.removeDoublePoints(); in create3DDecomposition()
168 if(aCandidate.count()) in create3DDecomposition()
170 aNewLineGeometry.append(aCandidate); in create3DDecomposition()
H A Dpolygonprimitive3d.cxx129 … const basegfx::B3DPolygon aCandidate = aHairLinePolyPolygon.getB3DPolygon(a); in create3DDecomposition() local
130 …const Primitive3DReference xRef(new PolygonHairlinePrimitive3D(aCandidate, getLineAttribute().getC… in create3DDecomposition()
/AOO41X/main/svx/source/engine3d/
H A Dpolygn3d.cxx211 const basegfx::B3DPoint aCandidate(aPolygon.getB3DPoint(b)); in CreateDefaultTexture() local
217 aTex.setX((aCandidate.getY() - aVolume.getMinY()) / aVolume.getHeight()); in CreateDefaultTexture()
219 aTex.setY((aCandidate.getZ() - aVolume.getMinZ()) / aVolume.getDepth()); in CreateDefaultTexture()
224 aTex.setX((aCandidate.getX() - aVolume.getMinX()) / aVolume.getWidth()); in CreateDefaultTexture()
226 aTex.setY((aCandidate.getZ() - aVolume.getMinZ()) / aVolume.getDepth()); in CreateDefaultTexture()
231 aTex.setX((aCandidate.getX() - aVolume.getMinX()) / aVolume.getWidth()); in CreateDefaultTexture()
233 aTex.setY((aCandidate.getY() - aVolume.getMinY()) / aVolume.getHeight()); in CreateDefaultTexture()
/AOO41X/main/drawinglayer/source/processor3d/
H A Dshadow3dextractor.cxx276 basegfx::B3DPoint aCandidate(rSource.getB3DPoint(a)); in impDoShadowProjection() local
277 aCandidate *= getWorldToEye(); in impDoShadowProjection()
284 …const double fCut(basegfx::B3DVector(maPlanePoint - aCandidate).scalar(maShadowPlaneNormal) / mfLi… in impDoShadowProjection()
285 aCandidate += maLightNormal * fCut; in impDoShadowProjection()
288 aCandidate *= getEyeToView(); in impDoShadowProjection()
289 aRetval.append(basegfx::B2DPoint(aCandidate.getX(), aCandidate.getY())); in impDoShadowProjection()
/AOO41X/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx554 basegfx::B2DPolyPolygon aCandidate(((SdrPathObj*)pPartObj)->GetPathPoly()); in GetOutlinesFromShape2d() local
555 if(aCandidate.areControlPointsUsed()) in GetOutlinesFromShape2d()
557 aCandidate = basegfx::tools::adaptiveSubdivideByAngle(aCandidate); in GetOutlinesFromShape2d()
559 aOutlines2d.append(aCandidate); in GetOutlinesFromShape2d()
766 basegfx::B2DPolygon aCandidate(rPolyPoly[ i ].getB2DPolygon()); in FitTextOutlinesToShapeOutlines() local
768 if(aCandidate.areControlPointsUsed()) in FitTextOutlinesToShapeOutlines()
770aCandidate = basegfx::tools::adaptiveSubdivideByAngle(aCandidate); in FitTextOutlinesToShapeOutlines()
774 Polygon aLocalPoly(aCandidate); in FitTextOutlinesToShapeOutlines()
/AOO41X/main/svx/source/sdr/animation/
H A Dscheduler.cxx211 for(::std::vector< Event* >::iterator aCandidate = EventPointerVector.begin(); in triggerEvents()
212 aCandidate != EventPointerVector.end(); aCandidate++) in triggerEvents()
215 (*aCandidate)->Trigger(mnTime); in triggerEvents()
/AOO41X/main/unotools/source/ucbhelper/
H A Ducbhelper.cxx785 INetURLObject aCandidate( rSubfolderCandidate ); in IsSubPath() local
790 if ( aCandidate.GetProtocol() == aParentFolder.GetProtocol() ) in IsSubPath()
795 if ( aCandidate.GetProtocol() == INET_PROT_FILE ) in IsSubPath()
806 if ( aParentFolder == aCandidate ) in IsSubPath()
828 aCandidate.GetMainURL( INetURLObject::NO_DECODE ) ) ); in IsSubPath()
863 aLastTmpObj = aCandidate; in IsSubPath()
865 …} while( aCandidate.removeSegment() && aCandidateLowCase.removeSegment() && aCandidate != aLastTmp… in IsSubPath()
/AOO41X/main/editeng/source/misc/
H A Dtxtrange.cxx71 …const basegfx::B2DPolygon aCandidate(rPolyPolygon.getB2DPolygon(i).getDefaultAdaptiveSubdivision()… in TextRanger() local
72 nPointCount += aCandidate.count(); in TextRanger()
73 mpPolyPolygon->Insert( Polygon(aCandidate), (sal_uInt16)i ); in TextRanger()
83 …const basegfx::B2DPolygon aCandidate(pLinePolyPolygon->getB2DPolygon(i).getDefaultAdaptiveSubdivis… in TextRanger() local
84 nPointCount += aCandidate.count(); in TextRanger()
85 mpLinePolyPolygon->Insert( Polygon(aCandidate), (sal_uInt16)i ); in TextRanger()
/AOO41X/main/svx/source/xoutdev/
H A Dxattr.cxx1642 const basegfx::B2DPolygon aCandidate(rPolyPolygon.getB2DPolygon(a)); in streamOutB2DPolyPolygon() local
1643 const sal_uInt32 nPointCount(aCandidate.count()); in streamOutB2DPolyPolygon()
1644 const sal_uInt8 bClosed(aCandidate.isClosed() ? 1 : 0); in streamOutB2DPolyPolygon()
1645 const sal_uInt8 bControlPoints(aCandidate.areControlPointsUsed() ? 1 : 0); in streamOutB2DPolyPolygon()
1652 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(b)); in streamOutB2DPolyPolygon()
1658 …const sal_uInt8 bEdgeIsCurve(aCandidate.isPrevControlPointUsed(b) || aCandidate.isNextControlPoint… in streamOutB2DPolyPolygon()
1663 const basegfx::B2DVector aControlVectorA(aCandidate.getPrevControlPoint(b)); in streamOutB2DPolyPolygon()
1667 const basegfx::B2DVector aControlVectorB(aCandidate.getNextControlPoint(b)); in streamOutB2DPolyPolygon()
1692 basegfx::B2DPolygon aCandidate; in streamInB2DPolyPolygon() local
1693 aCandidate.setClosed(0 != bClosed); in streamInB2DPolyPolygon()
[all …]
/AOO41X/main/svx/source/sdr/contact/
H A Dviewcontactofe3dlathe.cxx70 const basegfx::B2DPolygon aCandidate(aPolyPolygon.getB2DPolygon(a)); in createViewIndependentPrimitive3DSequence() local
71 const double fPolygonLength(basegfx::tools::getLength(aCandidate)); in createViewIndependentPrimitive3DSequence()

12