Searched refs:nNewXOffset (Results 1 – 1 of 1) sorted by relevance
344 sal_Int32 nNewXOffset(FRound((aOffset.getX() * 100.0) / aRange.getWidth())); in VecToGrad() local348 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()444 if(nNewXOffset < 0L) in VecToGrad()446 nNewXOffset = 0L; in VecToGrad()449 if(nNewXOffset > 100L) in VecToGrad()451 nNewXOffset = 100L; in VecToGrad()[all …]
Completed in 11 milliseconds