Home
last modified time | relevance | path

Searched refs:fDistance (Results 1 – 25 of 39) sorted by relevance

12

/aoo41x/main/basegfx/source/polygon/
H A Db3dpolygontools.cxx286 if(fTools::less(fDistance, fZero)) in getPositionAbsolute()
297 fDistance = fZero; in getPositionAbsolute()
303 if(fTools::moreOrEqual(fDistance, fLength)) in getPositionAbsolute()
309 fDistance -= (double)(nCount) * fLength; in getPositionAbsolute()
314 fDistance = fZero; in getPositionAbsolute()
331 fDistance -= fEdgeLength; in getPositionAbsolute()
347 if(!fTools::equalZero(fDistance)) in getPositionAbsolute()
355 fRelative = fDistance / fEdgeLength; in getPositionAbsolute()
791 if(fDistanceSquare <= fDistance * fDistance * fDistance) in isInEpsilonRange()
807 if(fDistanceSquare <= fDistance * fDistance * fDistance) in isInEpsilonRange()
[all …]
H A Db2dpolygontools.cxx650 if(fTools::less(fDistance, 0.0)) in getPositionAbsolute()
657 fDistance += double(nCount + 1L) * fLength; in getPositionAbsolute()
662 fDistance = 0.0; in getPositionAbsolute()
666 else if(fTools::moreOrEqual(fDistance, fLength)) in getPositionAbsolute()
673 fDistance -= (double)(nCount) * fLength; in getPositionAbsolute()
678 fDistance = 0.0; in getPositionAbsolute()
699 fDistance -= fEdgeLength; in getPositionAbsolute()
714 if(!fTools::equalZero(fDistance)) in getPositionAbsolute()
1593 if(fDistanceSquare <= fDistance * fDistance) in isInEpsilonRange()
1609 if(fDistanceSquare <= fDistance * fDistance) in isInEpsilonRange()
[all …]
H A Db2dpolypolygontools.cxx320 …isInEpsilonRange(const B2DPolyPolygon& rCandidate, const B2DPoint& rTestPosition, double fDistance) in isInEpsilonRange() argument
328 if(isInEpsilonRange(aCandidate, rTestPosition, fDistance)) in isInEpsilonRange()
/aoo41x/main/svx/source/sdr/primitive2d/
H A Dsdrmeasureprimitive2d.cxx97 const double fDistance(aLine.getLength()); in create2DDecomposition() local
188 if(fSpaceNeededByArrows > fDistance) in create2DDecomposition()
208 if(aTextRange.getWidth() > fDistance) in create2DDecomposition()
219 if(aTextRange.getWidth() + fSpaceNeededByArrows > fDistance) in create2DDecomposition()
228 if(aTextRange.getWidth() + fSmallArrowNeed > fDistance) in create2DDecomposition()
255 const basegfx::B2DPoint aMainRight(fDistance, fMainLineOffset); in create2DDecomposition()
315 const basegfx::B2DPoint aRightUp(fDistance, fTopEdge); in create2DDecomposition()
316 const basegfx::B2DPoint aRightDown(fDistance, fBottomRight); in create2DDecomposition()
356 fTextX = aMainLeft.getX() + ((fDistance - aTextRange.getWidth()) * 0.5); in create2DDecomposition()
450 double fDistance, in SdrMeasurePrimitive2D() argument
[all …]
/aoo41x/main/basegfx/source/curve/
H A Db2dbeziertools.cxx92 double B2DCubicBezierHelper::distanceToRelative(double fDistance) const in distanceToRelative()
94 if(fDistance <= 0.0) in distanceToRelative()
101 if(fTools::moreOrEqual(fDistance, fLength)) in distanceToRelative()
111 return fDistance / fLength; in distanceToRelative()
115 …::const_iterator aIter = ::std::lower_bound(maLengthArray.begin(), maLengthArray.end(), fDistance); in distanceToRelative()
119 const double fLinearInterpolatedLength((fDistance - fLowBound) / (fHighBound - fLowBound)); in distanceToRelative()
/aoo41x/main/svx/source/sdr/contact/
H A Dviewcontactofgraphic.cxx196 const double fDistance(200.0); in createVIP2DSForDraft() local
199 aScale.setX(std::max(0.0, aScale.getX() - (2.0 * fDistance))); in createVIP2DSForDraft()
200 aScale.setY(std::max(0.0, aScale.getY() - (2.0 * fDistance))); in createVIP2DSForDraft()
201 aTranslate.setX(aTranslate.getX() + fDistance); in createVIP2DSForDraft()
202 aTranslate.setY(aTranslate.getY() + fDistance); in createVIP2DSForDraft()
239 aScale.setX(std::max(0.0, aScale.getX() - (fWidth + fDistance))); in createVIP2DSForDraft()
240 aTranslate.setX(aTranslate.getX() + fWidth + fDistance); in createVIP2DSForDraft()
H A Dviewcontactofsdrmeasureobj.cxx64 …const double fDistance(((SdrMeasureLineDistItem&)rItemSet.Get(SDRATTR_MEASURELINEDIST)).GetValue()… in createViewIndependentPrimitive2DSequence() local
128 aMTPHor, aMTPVer, fDistance, in createViewIndependentPrimitive2DSequence()
/aoo41x/main/drawinglayer/source/primitive2d/
H A Dfillhatchprimitive2d.cxx57 double fDistance(getFillHatch().getDistance()); in create2DDecomposition() local
67fDistance = (double)getFillHatch().getMinimalDiscreteDistance() * getDiscreteUnit(); in create2DDecomposition()
77 texture::GeoTexSvxHatch aHatch(getObjectRange(), fDistance, fAngle - F_PI4); in create2DDecomposition()
85 texture::GeoTexSvxHatch aHatch(getObjectRange(), fDistance, fAngle - F_PI2); in create2DDecomposition()
93 texture::GeoTexSvxHatch aHatch(getObjectRange(), fDistance, fAngle); in create2DDecomposition()
H A Dborderlineprimitive2d.cxx176 double fDistance, in BorderLinePrimitive2D() argument
189 mfDistance(fDistance), in BorderLinePrimitive2D()
/aoo41x/main/drawinglayer/source/processor2d/
H A Dvclprocessor2d.cxx1075 const double fHalfDistance(fDistance * 0.5); in RenderPolygonStrokePrimitive2D()
1086 aMat.set(0, 2, fDistance); in RenderPolygonStrokePrimitive2D()
1092 aMat.set(1, 2, fDistance); in RenderPolygonStrokePrimitive2D()
1096 aMat.set(0, 2, -fDistance); in RenderPolygonStrokePrimitive2D()
1117 aMat.set(0, 2, -fDistance); in RenderPolygonStrokePrimitive2D()
1122 aMat.set(0, 2, fDistance); in RenderPolygonStrokePrimitive2D()
1123 aMat.set(1, 2, -fDistance); in RenderPolygonStrokePrimitive2D()
1127 aMat.set(0, 2, fDistance); in RenderPolygonStrokePrimitive2D()
1128 aMat.set(1, 2, fDistance); in RenderPolygonStrokePrimitive2D()
1132 aMat.set(0, 2, -fDistance); in RenderPolygonStrokePrimitive2D()
[all …]
/aoo41x/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx573 double fDistance = i ? ((Polygon&)rPoly).CalcDistance( i, i - 1 ) : 0.0; in CalcDistances() local
574 rDistances.push_back( fDistance ); in CalcDistances()
598 if ( fDistance > fLastDistance ) in InsertMissingOutlinePoints()
601 if ( aIter != rDistances.end() && ( *aIter > fLastDistance ) && ( *aIter < fDistance ) ) in InsertMissingOutlinePoints()
606 double fd = ( 1.0 / ( fDistance - fLastDistance ) ) * ( *aIter - fLastDistance ); in InsertMissingOutlinePoints()
608 fDistance = *aIter; in InsertMissingOutlinePoints()
611 else if ( fDistance < fLastDistance ) in InsertMissingOutlinePoints()
616 if ( ( *aIter > fDistance ) && ( *aIter < fLastDistance ) ) in InsertMissingOutlinePoints()
621 double fd = ( 1.0 / ( fDistance - fLastDistance ) ) * ( *aIter - fLastDistance ); in InsertMissingOutlinePoints()
623 fDistance = *aIter; in InsertMissingOutlinePoints()
[all …]
/aoo41x/main/basegfx/inc/basegfx/polygon/
H A Db3dpolygontools.hxx92 …B3DPoint getPositionAbsolute(const B3DPolygon& rCandidate, double fDistance, double fLength = 0.0);
97 …B3DPoint getPositionRelative(const B3DPolygon& rCandidate, double fDistance, double fLength = 0.0);
138 …t B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, const B3DPoint& rTestPosition, double fDistance);
143 …ol isInEpsilonRange(const B3DPolygon& rCandidate, const B3DPoint& rTestPosition, double fDistance);
H A Db2dpolygontools.hxx116 …B2DPoint getPositionAbsolute(const B2DPolygon& rCandidate, double fDistance, double fLength = 0.0);
121 …B2DPoint getPositionRelative(const B2DPolygon& rCandidate, double fDistance, double fLength = 0.0);
237 …t B2DPoint& rEdgeStart, const B2DPoint& rEdgeEnd, const B2DPoint& rTestPosition, double fDistance);
243 …ol isInEpsilonRange(const B2DPolygon& rCandidate, const B2DPoint& rTestPosition, double fDistance);
/aoo41x/main/drawinglayer/source/attribute/
H A Dfillhatchattribute.cxx52 double fDistance, in ImpFillHatchAttribute() argument
59 mfDistance(fDistance), in ImpFillHatchAttribute()
108 double fDistance, in FillHatchAttribute() argument
116 fDistance, in FillHatchAttribute()
H A Dsdrsceneattribute3d.cxx50 double fDistance, in ImpSdrSceneAttribute() argument
56 mfDistance(fDistance), in ImpSdrSceneAttribute()
101 double fDistance, in SdrSceneAttribute() argument
107 fDistance, fShadowSlant, aProjectionMode, aShadeMode, bTwoSidedLighting)) in SdrSceneAttribute()
/aoo41x/main/filter/source/graphicfilter/idxf/
H A Ddxfvec.hxx38 double fDistance; member in DXFLineInfo
47 fDistance(0) {} in DXFLineInfo()
56 fDistance(x.fDistance) {} in DXFLineInfo()
H A Ddxf2mtf.cxx124 if ( aDXFLineInfo.fDistance == 0 ) { in LTypeToDXFLineInfo()
125 aDXFLineInfo.fDistance = -1 * x; in LTypeToDXFLineInfo()
159 aDXFLineInfo.fDistance = 0; in GetEntityDXFLineInfo()
873 aBlockDXFLineInfo.fDistance = 0; in Convert()
888 aParentLayerDXFLineInfo.fDistance = 0; in Convert()
/aoo41x/main/vcl/source/gdi/
H A Dlineinfo.cxx348 const double fDistance(GetDistance()); in applyToB2DPolyPolygon() local
353 fDotDashArray.push_back(fDistance); in applyToB2DPolyPolygon()
359 fDotDashArray.push_back(fDistance); in applyToB2DPolyPolygon()
/aoo41x/main/drawinglayer/source/primitive3d/
H A Dsdrextrudelathetools3d.cxx948 const double fDistance(aCandidateVector.getLength()); in createReducedOutlines() local
952 if(fDistance > fMaxLeft) in createReducedOutlines()
954 fMaxLeft = fDistance; in createReducedOutlines()
960 if(fDistance > fMaxRight) in createReducedOutlines()
962 fMaxRight = fDistance; in createReducedOutlines()
/aoo41x/main/sw/source/ui/docvw/
H A DAnchorOverlayObject.cxx141 const double fDistance(3.0 * 15.0); in create2DDecomposition() local
145 aDotDashArray.push_back(fDistance); in create2DDecomposition()
149 fDistance + fDashLen); in create2DDecomposition()
/aoo41x/main/chart2/source/view/axes/
H A DScaleAutomatism.cxx901 double fDistance = (fTempMaximum - fTempMinimum) / nMaxMainIncrementCount; in calculateExplicitIncrementAndScaleForLinear() local
904 if( fDistance <= 1.0e-307 ) in calculateExplicitIncrementAndScaleForLinear()
912 … int nExponent = static_cast< int >( ::rtl::math::approxFloor( log10( fDistance ) ) ); in calculateExplicitIncrementAndScaleForLinear()
916 fDistanceNormalized = fDistance / fDistanceMagnitude; in calculateExplicitIncrementAndScaleForLinear()
H A DTickmarks_Equidistant.cxx280 …double fDistance = (fAdaptedNextParent - fAdaptedStartParent)/m_rIncrement.SubIncrements[nDepth-1]… in getMinorTick() local
282 m_pfCurrentValues[nDepth] = fAdaptedStartParent + nTick*fDistance; in getMinorTick()
/aoo41x/main/drawinglayer/source/texture/
H A Dtexture.cxx513 double fDistance, in GeoTexSvxHatch() argument
556 const double fSteps((0.0 != fDistance) ? fTargetSizeY / fDistance : 10.0); in GeoTexSvxHatch()
/aoo41x/main/chart2/source/controller/itemsetwrapper/
H A DAxisItemConverter.cxx262 double fDistance = 1.0; in FillSpecialItem() local
263 if( rIncrement.Distance >>= fDistance ) in FillSpecialItem()
264 rOutItemSet.Put( SvxDoubleItem(fDistance, nWhichId )); in FillSpecialItem()
/aoo41x/main/basegfx/inc/basegfx/curve/
H A Db2dbeziertools.hxx52 double distanceToRelative(double fDistance) const;

Completed in 337 milliseconds

12