Home
last modified time | relevance | path

Searched refs:aSize (Results 51 – 75 of 803) sorted by relevance

12345678910>>...33

/aoo41x/main/sd/source/ui/view/
H A Dviewoverlaymanager.cxx396 Size aSize( getButtonImage( 0, bLarge )->GetSizePixel() ); in createOverlayImage() local
398 aRet.SetSizePixel( Size( aSize.Width() << 1, aSize.Height() << 1 ) ); in createOverlayImage()
400 const Rectangle aRectSrc( Point( 0, 0 ), aSize ); in createOverlayImage()
403 aRet.Expand( aSize.Width(), aSize.Height(), NULL, sal_True ); in createOverlayImage()
405 …aRet.CopyPixel( Rectangle( Point( aSize.Width(), 0 ), aSize ), aRectSrc, getButtonImage((nHighl… in createOverlayImage()
406 …aRet.CopyPixel( Rectangle( Point( 0, aSize.Height() ), aSize ), aRectSrc, getButtonImage((nHigh… in createOverlayImage()
407 …aRet.CopyPixel( Rectangle( Point( aSize.Width(), aSize.Height() ), aSize ), aRectSrc, getButtonIma… in createOverlayImage()
/aoo41x/main/sw/source/core/text/
H A Dinftxt.cxx452 return aSize; in GetTxtSize()
495 nMinSize = aSize.Width(); in GetTxtSize()
743 aDrawInf.SetSize( aSize ); in _DrawText()
781 aSize.Width() += nAdd; in CalcRect()
788 long nTmp = aSize.Width(); in CalcRect()
789 aSize.Width() = aSize.Height(); in CalcRect()
790 aSize.Height() = nTmp; in CalcRect()
818 aPoint.A() -= aSize.Width(); in CalcRect()
820 SwRect aRect( aPoint, aSize ); in CalcRect()
1091 Size aSize; in DrawPostIts() local
[all …]
/aoo41x/main/vcl/source/control/
H A Dspinbtn.cxx141 Size aSize( GetOutputSizePixel() ); in Resize() local
143 Rectangle aRect( aTmpPoint, aSize ); in Resize()
146 maLowerRect = Rectangle( 0, 0, aSize.Width()/2, aSize.Height()-1 ); in Resize()
151 maUpperRect = Rectangle( 0, 0, aSize.Width()-1, aSize.Height()/2 ); in Resize()
165 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local
183 Rectangle aRect( Point( 0, 0 ), aSize ); in Draw()
187 aLowerRect = Rectangle( 0, 0, aSize.Width()/2, aSize.Height()-1 ); in Draw()
192 aUpperRect = Rectangle( 0, 0, aSize.Width()-1, aSize.Height()/2 ); in Draw()
/aoo41x/main/svx/source/sdr/overlay/
H A Doverlaymanagerbuffered.cxx144 const Size aSize(aRectIter->GetSize()); in ImpRestoreBackground() local
147 aTopLeft, aSize, // destination in ImpRestoreBackground()
148 aTopLeft, aSize, // source in ImpRestoreBackground()
227 const Size aSize(aRectIter->GetSize()); in ImpSaveBackground() local
230 aTopLeft, aSize, // destination in ImpSaveBackground()
231 aTopLeft, aSize, // source in ImpSaveBackground()
381 const Size aSize(aRegionRectanglePixel.GetSize()); variable
388 aTopLeft, aSize, // destination
389 aTopLeft, aSize, // source
408 aTopLeft, aSize, // destination
[all …]
/aoo41x/main/svx/source/dialog/
H A Dpagectrl.cxx123 …Fraction aXScale( aWinSize.Width(), std::max( (long) (aSize.Width() * 2 + aSize.Width() / 8), 1L )… in Paint()
124 Fraction aYScale( aWinSize.Height(), std::max( aSize.Height(), 1L ) ); in Paint()
139 long nYPos = ( aSz.Height() - aSize.Height() ) / 2; in Paint()
144 if ( aSize.Width() > aSize.Height() ) in Paint()
156 nYPos = ( aSz.Height() - aSize.Height() ) / 2; in Paint()
157 long nXPos = ( aSz.Width() - aSize.Width() ) / 2; in Paint()
162 DrawPage( Point( ( aSz.Width() - aSize.Width() ) / 2, nYPos ), sal_True, sal_True ); in Paint()
168 DrawPage( Point( aSize.Width() + aSize.Width() / 8, nYPos ), sal_True, in Paint()
195 Size aTempSize = aSize; in DrawPage()
H A Ddlgctl3d.cxx161 Size aSize( GetSizePixel() ); in Resize() local
162 aSize = PixelToLogic( aSize ); in Resize()
163 mpFmPage->SetSize( aSize ); in Resize()
166 Size aObjSize( aSize.Width()*5/6, aSize.Height()*5/6 ); in Resize()
168 (aSize.Height() - aObjSize.Height()) / 2); in Resize()
743 mpFmPage->SetSize(aSize); in Resize()
1060 const Size aSize(GetOutputSizePixel()); in NewLayout() local
1065 Size aDestSize(aSize.Width() - nScrollSize, aSize.Height() - nScrollSize); in NewLayout()
1069 aPoint.Y() = aSize.Height() - nScrollSize; in NewLayout()
1074 aPoint.X() = aSize.Width() - nScrollSize; in NewLayout()
[all …]
/aoo41x/main/svtools/source/control/
H A Dvalueset.cxx929 DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); in ImplHideSelect()
1027 DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); in ImplDrawDropPos()
1033 DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); in ImplDrawDropPos()
1072 DrawOutDev( aDefPos, aSize, aDefPos, aSize, maVirDev ); in ImplDraw()
2659 aSize.Height() += 8; in CalcWindowSizePixel()
2665 return aSize; in CalcWindowSizePixel()
2686 aSize.Width() += n; in CalcItemSizePixel()
2687 aSize.Height() += n; in CalcItemSizePixel()
2691 aSize.Width() -= n; in CalcItemSizePixel()
2692 aSize.Height() -= n; in CalcItemSizePixel()
[all …]
/aoo41x/main/vcl/unx/generic/gdi/
H A Dsalbmp.cxx615 const Size aSize( GetSize() ); in ImplGetDDB() local
620 aTwoRect.mnSrcWidth = aTwoRect.mnDestWidth = aSize.Width(); in ImplGetDDB()
621 aTwoRect.mnSrcHeight = aTwoRect.mnDestHeight = aSize.Height(); in ImplGetDDB()
629 if( aTwoRect.mnSrcX >= aSize.Width() || in ImplGetDDB()
630 aTwoRect.mnSrcY >= aSize.Height() ) in ImplGetDDB()
639 aTwoRect.mnSrcWidth = aSize.Width(); in ImplGetDDB()
648 aTwoRect.mnSrcHeight = aSize.Height(); in ImplGetDDB()
765 Size aSize; in GetSize() local
768 aSize.Width() = mpDIB->mnWidth, aSize.Height() = mpDIB->mnHeight; in GetSize()
770 aSize.Width() = mpDDB->ImplGetWidth(), aSize.Height() = mpDDB->ImplGetHeight(); in GetSize()
[all …]
/aoo41x/main/sd/source/ui/animations/
H A DCustomAnimationList.cxx250 if( aSize.Height() < 19 ) in InitViewData()
251 aSize.Height() = 19; in InitViewData()
252 pViewData->aSize = aSize; in InitViewData()
264 Size aSize( pViewData->aSize ); in Paint() local
302 aImagePos.Y() += ( aSize.Height() - rImage.GetSizePixel().Height() ) >> 1; in Paint()
307 aPos.Y() += ( aSize.Height() - rDev.GetTextHeight()) >> 1; in Paint()
405 if( aSize.Height() < 19 ) in InitViewData()
406 aSize.Height() = 19; in InitViewData()
407 pViewData->aSize = aSize; in InitViewData()
424 Rectangle aOutRect( aPos, aSize ); in Paint()
[all …]
/aoo41x/main/editeng/source/items/
H A Dsvxfont.cxx373 Size aSize( aNewFont.GetSize() ); in SetPhysFont() local
374 aNewFont.SetSize( Size( aSize.Width() * nPropr / 100L, in SetPhysFont()
375 aSize.Height() * nPropr / 100L ) ); in SetPhysFont()
520 Size aSize = (this->GetSize()); in DrawText() local
521 aPos.Y() -= ((nEsc*long(aSize.Height()))/ 100L); in DrawText()
529 Size aSize = GetPhysTxtSize( pOut, rTxt, nIdx, nTmp ); in DrawText() local
532 pOut->DrawStretchText( aPos, aSize.Width(), rTxt, nIdx, nTmp ); in DrawText()
574 Size aSize = GetPhysTxtSize( pOut, rTxt, nIdx, nLen ); in QuickDrawText() local
614 Size aSize = ( this->GetSize() ); in DrawPrev() local
615 aPos.Y() -= ( ( nTmpEsc * long( aSize.Height() ) ) / 100L ); in DrawPrev()
[all …]
/aoo41x/main/vcl/source/gdi/
H A Doutdev4.cxx443 Size aSize( aRect.GetSize() ); in ImplDrawComplexGradient() local
448aSize.Width() = (long)(0.5 + sqrt((double)aSize.Width()*(double)aSize.Width() + (double)aSize.Heig… in ImplDrawComplexGradient()
449 aSize.Height() = aSize.Width(); in ImplDrawComplexGradient()
454 aSize.Width() = (long)( 0.5 + (double) aSize.Width() * 1.4142 ); in ImplDrawComplexGradient()
455 aSize.Height() = (long)( 0.5 + (double) aSize.Height() * 1.4142 ); in ImplDrawComplexGradient()
459 if ( aSize.Width() > aSize.Height() ) in ImplDrawComplexGradient()
460 aSize.Height() = aSize.Width(); in ImplDrawComplexGradient()
462 aSize.Width() = aSize.Height(); in ImplDrawComplexGradient()
473 aSize.Width() -= nBorderX; in ImplDrawComplexGradient()
474 aSize.Height() -= nBorderY; in ImplDrawComplexGradient()
[all …]
/aoo41x/main/framework/source/uiconfiguration/
H A Dwindowstateconfiguration.cxx220 aSize( 0, 0 ), in WindowStateInfo()
237 com::sun::star::awt::Size aSize; member
778 com::sun::star::awt::Size aSize; in impl_insertCacheAndReturnSequence() local
779 aSize.Width = aStr.toInt32(); in impl_insertCacheAndReturnSequence()
783 aWindowStateInfo.aSize = aSize; in impl_insertCacheAndReturnSequence()
792 a <<= aSize; in impl_insertCacheAndReturnSequence()
970 aSize.Width = aStr.toInt32(); in impl_insertCacheAndReturnWinState()
974 aWindowStateInfo.aSize = aSize; in impl_insertCacheAndReturnWinState()
1160 com::sun::star::awt::Size aSize; in impl_fillStructFromSequence() local
1161 if ( rSeq[i].Value >>= aSize ) in impl_fillStructFromSequence()
[all …]
/aoo41x/main/sw/source/ui/fldui/
H A Dfldtdlg.cxx156 Size aSize; in Initialize() local
158 if ( pInfo->aSize.Width() != 0 && pInfo->aSize.Height() != 0 ) in Initialize()
162 SetSizePixel( pInfo->aSize ); in Initialize()
165 aSize = GetSizePixel(); in Initialize()
174 aSize = GetSizePixel(); in Initialize()
177 aPos.X() += ( aParentSize.Width() - aSize.Width() ) / 2; in Initialize()
178 aPos.Y() += ( aParentSize.Height() - aSize.Height() ) / 2; in Initialize()
183 aPoint.X() = aRect.Right() - aSize.Width(); in Initialize()
184 aPoint.Y() = aRect.Bottom() - aSize.Height(); in Initialize()
/aoo41x/main/cui/source/tabpages/
H A Dtpline.cxx1705 Size aSize(aBitmap.GetSizePixel()); in IMPL_LINK() local
1706 if(aSize.Width() > MAX_BMP_WIDTH || in IMPL_LINK()
1707 aSize.Height() > MAX_BMP_HEIGHT) in IMPL_LINK()
1709 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_LINK()
1790 Size aSize(aBitmapEx.GetSizePixel()); in IMPL_LINK() local
1791 if(aSize.Width() > MAX_BMP_WIDTH || aSize.Height() > MAX_BMP_HEIGHT) in IMPL_LINK()
1793 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_LINK()
1839 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_STATIC_LINK()
1921 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)ePoolUnit); in IMPL_LINK()
1925 aSymbolSize=aSize; in IMPL_LINK()
[all …]
/aoo41x/main/basic/source/runtime/
H A Dstdobj1.cxx99 Size aSize = aGraphic.GetPrefSize(); in PropWidth() local
100 aSize = GetpApp()->GetAppWindow()->LogicToPixel( aSize, aGraphic.GetPrefMapMode() ); in PropWidth()
101 aSize = GetpApp()->GetAppWindow()->PixelToLogic( aSize, MapMode( MAP_TWIP ) ); in PropWidth()
103 pVar->PutInteger( (sal_Int16)aSize.Width() ); in PropWidth()
114 Size aSize = aGraphic.GetPrefSize(); in PropHeight() local
115 aSize = GetpApp()->GetAppWindow()->LogicToPixel( aSize, aGraphic.GetPrefMapMode() ); in PropHeight()
116 aSize = GetpApp()->GetAppWindow()->PixelToLogic( aSize, MapMode( MAP_TWIP ) ); in PropHeight()
118 pVar->PutInteger( (sal_Int16)aSize.Height() ); in PropHeight()
/aoo41x/main/chart2/source/tools/
H A DRelativePositionHelper.cxx258 chart2::RelativeSize aSize( rInOutSize ); in centerGrow() local
263 aSize.Primary += fAmountX; in centerGrow()
264 aSize.Secondary += fAmountY; in centerGrow()
318 rInOutSize.Primary == aSize.Primary && in centerGrow()
319 rInOutSize.Secondary == aSize.Secondary ) in centerGrow()
333 … RelativePositionHelper::getReanchoredPosition( aPos, aSize, drawing::Alignment_TOP_LEFT )); in centerGrow()
335 … RelativePositionHelper::getReanchoredPosition( aPos, aSize, drawing::Alignment_BOTTOM_RIGHT )); in centerGrow()
349 ( aSize.Primary < fSizeCheckThreshold )) in centerGrow()
352 ( aSize.Secondary < fSizeCheckThreshold )) in centerGrow()
357 rInOutSize = aSize; in centerGrow()
/aoo41x/main/svtools/source/filter/
H A Dexportdialog.cxx1236 Size aSize; in updatePreview() local
1259 if ( aSize.Width() < maSize.Width ) in updatePreview()
1264 if ( aSize.Height() < maSize.Height ) in updatePreview()
1272 aSize = aCroppedBitmap.GetSizePixel(); in updatePreview()
1273aSize = Size( static_cast<long int>(aSize.Width() * fXRatio), static_cast<long int>(aSize.Height()… in updatePreview()
1274 aCroppedBitmap.Scale( aSize ); in updatePreview()
1277 aSize.Width() = aFixedBitmapSize.Width(); in updatePreview()
1279 aSize.Height() = aFixedBitmapSize.Height(); in updatePreview()
1287 maFbJPGPreview.SetSizePixel( aSize ); in updatePreview()
1324 maMfSizeX.SetValue( aSize.Width() ); in updateControls()
[all …]
/aoo41x/main/sfx2/source/dialog/
H A Dsplitwin.cxx157 Size aSize( pOwner->GetSizePixel() ); in Actualize() local
162 aSize.Width() = GetFadeInSize(); in Actualize()
166 aSize.Height() = GetFadeInSize(); in Actualize()
170 SetSizePixel( aSize ); in Actualize()
388 Size aSize = GetSizePixel(); in StartSplit() local
445 Size aSize; in Split() local
449 aSize.Width() = nSize; in Split()
455 aSize.Height() = nSize; in Split()
1086 aSize.Width() += 2 * nPixel; in CursorIsOverRect()
1087 aSize.Height() += 2 * nPixel; in CursorIsOverRect()
[all …]
/aoo41x/main/vcl/source/window/
H A Dtoolbox.cxx766 Size aSize; in ImplCalcSize() local
872 if ( aSize.Width() ) in ImplCalcSize()
874 if ( aSize.Height() ) in ImplCalcSize()
877 return aSize; in ImplCalcSize()
975 return aSize; in ImplCalcFloatSize()
1098 Size aSize; in ImplLineSizing() local
4761 if( !aSize.Width() && !aSize.Height() ) in Resize()
4766 mnDX = aSize.Width(); in Resize()
5423 return aSize; in CalcPopupWindowSizePixel()
5449 return aSize; in CalcFloatingWindowSizePixel()
[all …]
/aoo41x/main/svtools/source/contnr/
H A Dsvlbitm.cxx130 Size aSize = aBmps[0].GetSizePixel(); in SetWidthAndHeight() local
131 nWidth = aSize.Width(); in SetWidthAndHeight()
132 nHeight = aSize.Height(); in SetWidthAndHeight()
317 pViewData->aSize = aBmp.GetSizePixel(); in InitViewData()
420 Size aSize(pData->Width(), pData->Height()); in Paint() local
421 ImplAdjustBoxSize( aSize, eCtrlType, &rDev ); in Paint()
423 Rectangle aCtrlRegion( rPos, aSize ); in Paint()
492 Size aSize( pData->Width(), pData->Height() ); in InitViewData() local
496 ImplAdjustBoxSize( aSize, eCtrlType, pView ); in InitViewData()
497 pViewData->aSize = aSize; in InitViewData()
[all …]
H A Dsvimpicn.cxx833 Size aSize; in CheckSizes() local
1803 aSize.Height() += 2; in AdjustScrollBars()
1806 aSize.Height() += 3; in AdjustScrollBars()
1825 aSize.Width() = nRealWidth; in AdjustScrollBars()
1828 aSize.Width()++; in AdjustScrollBars()
1831 aSize.Width() += 3; in AdjustScrollBars()
1833 aSize.Width()--; in AdjustScrollBars()
1838 aSize.Width()++; in AdjustScrollBars()
2329 aSize.Height() -= 3; in CalcBmpRect()
2626 pView->DrawOutDev( aDDLastRectPos, aSize, Point(), aSize, *pDDDev ); in ImpHideDDIcon()
[all …]
/aoo41x/main/reportdesign/source/ui/report/
H A Dpropbrw.cxx460 ::Size aSize; in getMinimumSize()
467 aSize.setHeight( aMinSize.Height ); in getMinimumSize()
468 aSize.setWidth( aMinSize.Width ); in getMinimumSize()
470 return aSize; in getMinimumSize()
484 if( aSize.Width() < aMinSize.Width() ) in Resize()
486 aSize.setWidth( aMinSize.Width() ); in Resize()
489 if( aSize.Height() < aMinSize.Height() ) in Resize()
491 aSize.setHeight( aMinSize.Height() ); in Resize()
495 SetOutputSizePixel( aSize ); in Resize()
500 Size aSize = GetOutputSizePixel(); in Resize() local
[all …]
/aoo41x/main/sd/source/ui/slidesorter/view/
H A DSlsButtonBar.cxx578 if (aSize.Height() > nMaximumHeight) in LayoutButtons()
579 nMaximumHeight = aSize.Height(); in LayoutButtons()
580 nExcludedTotalWidth += aSize.Width(); in LayoutButtons()
588 if (aSize.Height() > nMaximumHeight) in LayoutButtons()
589 nMaximumHeight = aSize.Height(); in LayoutButtons()
590 nRegularTotalWidth += aSize.Width(); in LayoutButtons()
834 if (aSize.Height() > nMaximumHeightLarge) in UpdateMinimumIconSizes()
835 nMaximumHeightLarge = aSize.Height(); in UpdateMinimumIconSizes()
836 nTotalWidthLarge += aSize.Width(); in UpdateMinimumIconSizes()
842 nTotalWidthMedium += aSize.Width(); in UpdateMinimumIconSizes()
[all …]
/aoo41x/main/sc/source/filter/excel/
H A Dxlpage.cxx205 Size aSize; in GetScPaperSize() local
207 aSize = Size( pEntry->mnWidth, pEntry->mnHeight ); in GetScPaperSize()
209 aSize = SvxPaperInfo::GetPaperSize( pEntry->mePaper ); in GetScPaperSize()
212 if( !aSize.Width() || !aSize.Height() ) in GetScPaperSize()
213 aSize = SvxPaperInfo::GetDefaultPaperSize(); in GetScPaperSize()
216 ::std::swap( aSize.Width(), aSize.Height() ); in GetScPaperSize()
218 return aSize; in GetScPaperSize()
/aoo41x/main/avmedia/source/gstreamer/
H A Dgstplayer.cxx502 awt::Size aSize( 0, 0 ); in getPreferredPlayerWindowSize() local
507 aSize.Width = g_atomic_int_get( &mnVideoWidth ); in getPreferredPlayerWindowSize()
508 aSize.Height = g_atomic_int_get( &mnVideoHeight ); in getPreferredPlayerWindowSize()
511 if( ( aSize.Width <= 0 ) || ( aSize.Height <= 0 ) ) in getPreferredPlayerWindowSize()
513 aSize.Width = VIDEO_DEFAULT_WIDTH; in getPreferredPlayerWindowSize()
514 aSize.Height = VIDEO_DEFAULT_HEIGHT; in getPreferredPlayerWindowSize()
518 OSL_TRACE( ">>> Requested preferred video size is: %d x %d pixel", aSize.Width, aSize.Height ); in getPreferredPlayerWindowSize()
520 return( aSize ); in getPreferredPlayerWindowSize()
530 awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local
534 if( ( aSize.Width > 0 ) && ( aSize.Height > 0 ) ) in createPlayerWindow()

Completed in 225 milliseconds

12345678910>>...33