Home
last modified time | relevance | path

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

/aoo42x/main/cui/source/customize/
H A Dcfg.cxx5727 BitmapEx SvxIconSelectorDialog::AutoScaleBitmap(BitmapEx & aBitmap, const long aStandardSize) in AutoScaleBitmap() argument
5739 if (imgOldWidth >= aStandardSize || imgOldHeight >= aStandardSize) in AutoScaleBitmap()
5743 imgNewWidth = aStandardSize; 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()
5750 imgNewHeight = aStandardSize; 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()
5762 imgposY = (aStandardSize - imgOldHeight) / 2 + 0.5; in AutoScaleBitmap()
[all …]
/aoo42x/main/cui/source/inc/
H A Dcfg.hxx767 BitmapEx AutoScaleBitmap(BitmapEx & aBitmap, const long aStandardSize);// Added by shizhoubo

Completed in 30 milliseconds