Lines Matching refs:nSteps
87 sal_uInt32 nSteps(basegfx::fround(rColorA.getDistance(rColorB) * 255.0)); in calculateStepsForSvgGradient() local
89 if(nSteps) in calculateStepsForSvgGradient()
94 nSteps = std::min(nSteps, nDistSteps); in calculateStepsForSvgGradient()
98 nSteps /= 2; in calculateStepsForSvgGradient()
101 nSteps = std::min(nSteps, sal_uInt32(255)); in calculateStepsForSvgGradient()
102 nSteps = std::max(nSteps, sal_uInt32(1)); in calculateStepsForSvgGradient()
104 return nSteps; in calculateStepsForSvgGradient()
1280 … const sal_uInt32 nSteps(calculateStepsForSvgGradient(aColorA, aColorB, fDelta, fDiscreteUnit)); in RenderSvgLinearAtomPrimitive2D() local
1291 rCandidate.getOffsetA() + (fDelta / nSteps) + fDiscreteUnit, in RenderSvgLinearAtomPrimitive2D()
1297 const double fUnitStep(1.0 / nSteps); in RenderSvgLinearAtomPrimitive2D()
1300 for(sal_uInt32 a(0); a < nSteps; a++, fUnitScale += fUnitStep) in RenderSvgLinearAtomPrimitive2D()
1325 …const sal_uInt32 nSteps(calculateStepsForSvgGradient(aColorA, aColorB, fDeltaScale, fDiscreteUnit)… in RenderSvgRadialAtomPrimitive2D() local
1332 const double fUnitStep(1.0 / nSteps); in RenderSvgRadialAtomPrimitive2D()
1334 for(sal_uInt32 a(0); a < nSteps; a++, fUnitScale += fUnitStep) in RenderSvgRadialAtomPrimitive2D()