Lines Matching refs:nNewYOffset
347 sal_Int32 nNewYOffset(FRound((aOffset.getY() * 100.0) / aRange.getHeight())); in VecToGrad() local
360 if(nNewYOffset < 0L) in VecToGrad()
362 nNewYOffset = 0L; in VecToGrad()
365 if(nNewYOffset > 100L) in VecToGrad()
367 nNewYOffset = 100L; in VecToGrad()
371 rG.aGradient.SetYOffset((sal_uInt16)nNewYOffset); in VecToGrad()
443 sal_Int32 nNewYOffset(FRound((aOffset.getY() * 100.0) / aRange.getHeight())); in VecToGrad() local
456 if(nNewYOffset < 0L) in VecToGrad()
458 nNewYOffset = 0L; in VecToGrad()
461 if(nNewYOffset > 100L) in VecToGrad()
463 nNewYOffset = 100L; in VecToGrad()
467 rG.aGradient.SetYOffset((sal_uInt16)nNewYOffset); in VecToGrad()