Home
last modified time | relevance | path

Searched refs:imgOldWidth (Results 1 – 1 of 1) sorted by relevance

/aoo41x/main/cui/source/customize/
H A Dcfg.cxx5735 double imgOldWidth = aRet.GetSizePixel().Width(); in AutoScaleBitmap() local
5739 if (imgOldWidth >= aStandardSize || imgOldHeight >= aStandardSize) in AutoScaleBitmap()
5741 if (imgOldWidth >= imgOldHeight) in AutoScaleBitmap()
5744 imgNewHeight = sal_Int32(imgOldHeight / (imgOldWidth / aStandardSize) + 0.5); in AutoScaleBitmap()
5746 imgposY = (aStandardSize - (imgOldHeight / (imgOldWidth / aStandardSize) + 0.5)) / 2 + 0.5; in AutoScaleBitmap()
5751 imgNewWidth = sal_Int32(imgOldWidth / (imgOldHeight / aStandardSize) + 0.5); in AutoScaleBitmap()
5753 imgposX = (aStandardSize - (imgOldWidth / (imgOldHeight / aStandardSize) + 0.5)) / 2 + 0.5; in AutoScaleBitmap()
5761 imgposX = (aStandardSize - imgOldWidth) / 2 + 0.5; in AutoScaleBitmap()

Completed in 24 milliseconds