/aoo4110/main/basegfx/source/polygon/ |
H A D | b2dpolypolygontools.cxx | 69 B2DPolygon aFlipped(aCandidate); in correctOrientations() 109 aRetval.setB2DPolygon(0L, aCandidate); in correctOutmostPolygon() 133 if(aCandidate.areControlPointsUsed()) in adaptiveSubdivideByDistance() 139 aRetval.append(aCandidate); in adaptiveSubdivideByDistance() 162 if(aCandidate.areControlPointsUsed()) in adaptiveSubdivideByAngle() 168 aRetval.append(aCandidate); in adaptiveSubdivideByAngle() 191 if(aCandidate.areControlPointsUsed()) in adaptiveSubdivideByCount() 197 aRetval.append(aCandidate); in adaptiveSubdivideByCount() 258 aRetval.expand(tools::getRange(aCandidate)); in getRange() 301 aCandidate, in applyLineDashing() [all …]
|
H A D | b2dpolypolygoncutter.cxx | 579 const sal_uInt32 nCandCount(aCandidate.count()); in solver() 766 aRetval.append(aCandidate); in stripNeutralPolygons() 777 B2DPolyPolygon aCandidate; in createNonzeroConform() local 790 aCandidate = basegfx::tools::stripNeutralPolygons(aCandidate); in createNonzeroConform() 793 const sal_uInt32 nCount(aCandidate.count()); in createNonzeroConform() 840 aCandidate.clear(); in createNonzeroConform() 858 return aCandidate; in createNonzeroConform() 887 pNewHelper->maRange = tools::getRange(aCandidate); in stripDispensablePolygons() 1111 aTarget.append(aCandidate); in mergeToSinglePolyPolygon() 1119 aResult.push_back(aCandidate); in mergeToSinglePolyPolygon() [all …]
|
H A D | b2dpolygontriangulator.cxx | 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() 444 if(1L == aCandidate.count()) in triangulate() 447 const B2DPolygon aSinglePolygon(aCandidate.getB2DPolygon(0L)); in triangulate() [all …]
|
H A D | b2dpolygonclipper.cxx | 102 const B2DPolygon aCandidate(addPointsAtCuts(rCandidate, aStart, aEnd)); in clipPolygonOnParallelAxis() local 103 const sal_uInt32 nPointCount(aCandidate.count()); 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() 429 const sal_uInt32 nPointCount(aCandidate.count()); in clipPolyPolygonOnPolyPolygon() [all …]
|
H A D | b2dlinegeometry.cxx | 827 B2DPolygon aCandidate(rCandidate); in createAreaGeometry() local 830 aCandidate.removeDoublePoints(); in createAreaGeometry() 831 … aCandidate = 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 D | b2dpolygontools.cxx | 408 const sal_uInt32 nPointCount(aCandidate.count()); in isInside() 417 aCurrentPoint = aCandidate.getB2DPoint(a); in isInside() 466 if(!isInside(aCandidate, aTestPoint, bWithBorder)) in isInside() 509 const sal_uInt32 nPointCount(aCandidate.count()); in getSignedArea() 1640 B2DPoint aCurrent(aCandidate.getB2DPoint(0)); in isInEpsilonRange() 2498 B3DPoint aCandidate(rCandidate.getB3DPoint(a)); in createB2DPolygonFromB3DPolygon() local 2502 aCandidate *= rMat; in createB2DPolygonFromB3DPolygon() 2505 aRetval.append(B2DPoint(aCandidate.getX(), aCandidate.getY())); in createB2DPolygonFromB3DPolygon() 3392 B2DPoint aCurrent(aCandidate.getB2DPoint(0)); in createEdgesOfGivenLength() 3437 aRetval.setClosed(aCandidate.isClosed()); in createEdgesOfGivenLength() [all …]
|
H A D | b3dpolypolygontools.cxx | 55 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 D | b3dpolygonclipper.cxx | 509 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()
|
/aoo4110/main/svx/source/svdraw/ |
H A D | polypolygoneditor.cxx | 53 aCandidate.remove(nPnt); in DeletePoints() 55 if( ( mbIsClosed && aCandidate.count() < 3L) || (aCandidate.count() < 2L) ) in DeletePoints() 61 maPolyPolygon.setB2DPolygon(nPoly, aCandidate); in DeletePoints() 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() 100 aCandidate.resetPrevControlPoint(nNextIndex); in SetSegmentsKind() 120 maPolyPolygon.setB2DPolygon(nPolyNum, aCandidate); in SetSegmentsKind() [all …]
|
H A D | sdrpagewindow.cxx | 226 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 D | svdopath.cxx | 891 aCandidate.remove(nPnt); in endPathDrag() 893 if((IsClosed(meObjectKind) && aCandidate.count() < 3L) || aCandidate.count() < 2L) in endPathDrag() 1819 if(aCandidate.isClosed()) in ImpForceKind() 2279 if(aCandidate.count() > 2) in EndCreate() 2283 …const basegfx::B2DVector aDistVector(aCandidate.getB2DPoint(aCandidate.count() - 1) - aCandidate.g… in EndCreate() 2610 aCandidate.insert(0L, aTestPoint); in NbcInsPoint() 2616 …aCandidate.setNextControlPoint(0, interpolate(aTestPoint, aCandidate.getB2DPoint(1), (1.0 / 3.0))); in NbcInsPoint() 2626 aCandidate.append(aTestPoint); in NbcInsPoint() 2630 if(aCandidate.isPrevControlPointUsed(aCandidate.count() - 2)) in NbcInsPoint() 2632 …aCandidate.setNextControlPoint(aCandidate.count() - 2, interpolate(aCandidate.getB2DPoint(aCandida… in NbcInsPoint() [all …]
|
H A D | svdedtv2.cxx | 743 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()
|
/aoo4110/main/drawinglayer/source/processor2d/ |
H A D | vclprocessor2d.cxx | 1083 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1088 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1093 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1098 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1119 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1124 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1129 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1134 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1170 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() 1176 aCandidate.transform(aMat); in RenderPolygonStrokePrimitive2D() [all …]
|
H A D | vclmetafileprocessor2d.cxx | 145 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() 1269 if(aCandidate.count() > 1) in processBasePrimitive2D() [all …]
|
/aoo4110/main/drawinglayer/source/primitive3d/ |
H A D | sdrextrudeprimitive3d.cxx | 163 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 D | sdrlatheprimitive3d.cxx | 165 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 D | polygonprimitive3d.cxx | 129 const basegfx::B3DPolygon aCandidate = aHairLinePolyPolygon.getB3DPolygon(a); in create3DDecomposition() local 130 …const Primitive3DReference xRef(new PolygonHairlinePrimitive3D(aCandidate, getLineAttribute().getC… in create3DDecomposition()
|
/aoo4110/main/svx/source/engine3d/ |
H A D | polygn3d.cxx | 211 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()
|
/aoo4110/main/drawinglayer/source/processor3d/ |
H A D | shadow3dextractor.cxx | 276 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()
|
/aoo4110/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 554 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() 770 aCandidate = basegfx::tools::adaptiveSubdivideByAngle(aCandidate); in FitTextOutlinesToShapeOutlines() 774 Polygon aLocalPoly(aCandidate); in FitTextOutlinesToShapeOutlines()
|
/aoo4110/main/svx/source/sdr/animation/ |
H A D | scheduler.cxx | 211 for(::std::vector< Event* >::iterator aCandidate = EventPointerVector.begin(); in triggerEvents() 212 aCandidate != EventPointerVector.end(); aCandidate++) in triggerEvents() 215 (*aCandidate)->Trigger(mnTime); in triggerEvents()
|
/aoo4110/main/unotools/source/ucbhelper/ |
H A D | ucbhelper.cxx | 785 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()
|
/aoo4110/main/editeng/source/misc/ |
H A D | txtrange.cxx | 71 …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()
|
/aoo4110/main/svx/source/xoutdev/ |
H A D | xattr.cxx | 1642 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() 1652 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(b)); in streamOutB2DPolyPolygon() 1658 …const sal_uInt8 bEdgeIsCurve(aCandidate.isPrevControlPointUsed(b) || aCandidate.isNextControlPoint… in streamOutB2DPolyPolygon() 1692 basegfx::B2DPolygon aCandidate; in streamInB2DPolyPolygon() local 1693 aCandidate.setClosed(0 != bClosed); in streamInB2DPolyPolygon() 1700 aCandidate.append(basegfx::B2DPoint(fX, fY)); in streamInB2DPolyPolygon() 1711 aCandidate.setPrevControlPoint(b, basegfx::B2DVector(fX, fY)); in streamInB2DPolyPolygon() 1715 aCandidate.setNextControlPoint(b, basegfx::B2DVector(fX, fY)); in streamInB2DPolyPolygon() [all …]
|
/aoo4110/main/svx/source/sdr/contact/ |
H A D | viewcontactofe3dlathe.cxx | 70 const basegfx::B2DPolygon aCandidate(aPolyPolygon.getB2DPolygon(a)); in createViewIndependentPrimitive3DSequence() local 71 const double fPolygonLength(basegfx::tools::getLength(aCandidate)); in createViewIndependentPrimitive3DSequence()
|