Lines Matching refs:nNewXOffset
344 sal_Int32 nNewXOffset(FRound((aOffset.getX() * 100.0) / aRange.getWidth())); in VecToGrad() local
348 if(nNewXOffset < 0L) in VecToGrad()
350 nNewXOffset = 0L; in VecToGrad()
353 if(nNewXOffset > 100L) in VecToGrad()
355 nNewXOffset = 100L; in VecToGrad()
368 rG.aGradient.SetXOffset((sal_uInt16)nNewXOffset); in VecToGrad()
440 sal_Int32 nNewXOffset(FRound((aOffset.getX() * 100.0) / aRange.getWidth())); in VecToGrad() local
444 if(nNewXOffset < 0L) in VecToGrad()
446 nNewXOffset = 0L; in VecToGrad()
449 if(nNewXOffset > 100L) in VecToGrad()
451 nNewXOffset = 100L; in VecToGrad()
464 rG.aGradient.SetXOffset((sal_uInt16)nNewXOffset); in VecToGrad()