Lines Matching refs:nNewYOffset
345 sal_Int32 nNewYOffset(FRound((aOffset.getY() * 100.0) / aRange.getHeight())); in VecToGrad() local
358 if(nNewYOffset < 0L) in VecToGrad()
360 nNewYOffset = 0L; in VecToGrad()
363 if(nNewYOffset > 100L) in VecToGrad()
365 nNewYOffset = 100L; in VecToGrad()
369 rG.aGradient.SetYOffset((sal_uInt16)nNewYOffset); in VecToGrad()
441 sal_Int32 nNewYOffset(FRound((aOffset.getY() * 100.0) / aRange.getHeight())); in VecToGrad() local
454 if(nNewYOffset < 0L) in VecToGrad()
456 nNewYOffset = 0L; in VecToGrad()
459 if(nNewYOffset > 100L) in VecToGrad()
461 nNewYOffset = 100L; in VecToGrad()
465 rG.aGradient.SetYOffset((sal_uInt16)nNewYOffset); in VecToGrad()