Home
last modified time | relevance | path

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

12345678910>>...32

/trunk/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 …]
/trunk/main/svx/source/gallery2/
H A Dgalctrl.cxx174 const Size aSize( aPreviewRect.GetSize() ); in Paint() local
177 aGraphicObj.StartAnimation( this, aPos, aSize ); in Paint()
179 aGraphicObj.Draw( this, aPos, aSize ); in Paint()
382 const Size aSize(rRect.GetWidth(), rRect.GetHeight()); in UserDraw() local
397 if(!bNeedToCreate && aPreparedSize != aSize) in UserDraw()
408 aBitmapEx = pObj->createPreviewBitmapEx(aSize); in UserDraw()
420 ((aSize.Width() - aBitmapExSizePixel.Width()) >> 1) + rRect.Left(), in UserDraw()
421 ((aSize.Height() - aBitmapExSizePixel.Height()) >> 1) + rRect.Top()); in UserDraw()
715 const Size aSize(rRect.GetHeight(), rRect.GetHeight()); in PaintField() local
735 if(!bNeedToCreate && aPreparedSize != aSize) in PaintField()
[all …]
/trunk/main/vcl/source/gdi/
H A Dgraph.cxx65 Rectangle aBorderRect( aPoint, aSize ); in ImplDrawDefault()
93 aSize.Width() -= 2*nPixelWidth + 4*nPixel; in ImplDrawDefault()
94 aSize.Height() -= 2*nPixelWidth + 4*nPixel; in ImplDrawDefault()
96 if( aSize.Width() > 0 && aSize.Height() > 0 in ImplDrawDefault()
101 if( aSize.Height() > aBitmapSize.Height() && aSize.Width() > aBitmapSize.Width() ) in ImplDrawDefault()
108 aSize.Width() -= aBitmapSize.Width() + 2*nPixel; in ImplDrawDefault()
112 if ( aSize.Width() > 0 && aSize.Height() > 0 && pFont && pText && pText->Len() in ImplDrawDefault()
134 long nLines = aSize.Height() / nTextHeight; in ImplDrawDefault()
135 long nWidth = aSize.Width() * nLines; // N"aherung!!! in ImplDrawDefault()
156 if ( nTextWidth > aSize.Width() ) in ImplDrawDefault()
[all …]
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 …]
/trunk/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()
/trunk/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 …]
/trunk/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 …]
/trunk/main/vcl/source/control/
H A Dspinbtn.cxx139 Size aSize( GetOutputSizePixel() ); in Resize() local
141 Rectangle aRect( aTmpPoint, aSize ); in Resize()
144 maLowerRect = Rectangle( 0, 0, aSize.Width() / 2, aSize.Height() - 1 ); in Resize()
149 maUpperRect = Rectangle( 0, 0, aSize.Width() - 1, aSize.Height() / 2 ); in Resize()
163 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local
181 Rectangle aRect( Point( 0, 0 ), aSize ); in Draw()
185 aLowerRect = Rectangle( 0, 0, aSize.Width() / 2, aSize.Height() - 1 ); in Draw()
190 aUpperRect = Rectangle( 0, 0, aSize.Width() - 1, aSize.Height() / 2 ); in Draw()
/trunk/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 …]
/trunk/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 …]
/trunk/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 …]
/trunk/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 …]
/trunk/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()
1322 maMfSizeX.SetValue( aSize.Width() ); in updateControls()
[all …]
/trunk/main/vcl/source/window/
H A Dtoolbox.cxx758 Size aSize; in ImplCalcSize() local
864 if ( aSize.Width() ) in ImplCalcSize()
866 if ( aSize.Height() ) in ImplCalcSize()
869 return aSize; in ImplCalcSize()
967 return aSize; in ImplCalcFloatSize()
1090 Size aSize; in ImplLineSizing() local
4753 if( !aSize.Width() && !aSize.Height() ) in Resize()
4758 mnDX = aSize.Width(); in Resize()
5415 return aSize; in CalcPopupWindowSizePixel()
5441 return aSize; in CalcFloatingWindowSizePixel()
[all …]
/trunk/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 …]
/trunk/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()
/trunk/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()
/trunk/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()
835 nMaximumHeightLarge = aSize.Height(); in UpdateMinimumIconSizes()
836 nTotalWidthLarge += aSize.Width(); in UpdateMinimumIconSizes()
842 nTotalWidthMedium += aSize.Width(); in UpdateMinimumIconSizes()
847 nMaximumHeightSmall = aSize.Height(); in UpdateMinimumIconSizes()
[all …]
/trunk/main/svtools/source/contnr/
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 …]
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 …]
/trunk/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()
/trunk/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 …]
/trunk/main/svx/source/dialog/
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 …]
/trunk/main/sfx2/source/appl/
H A Dnewhelp.cxx472 aSize.Width() -= 8; in Resize()
473 aSize.Height() -= 8; in Resize()
786 Size aSize = GetSizePixel(); in Resize() local
788 aSize.Width() = nMinWidth; in Resize()
1148 Size aSize = GetSizePixel(); in Resize() local
1422 Size aSize = GetSizePixel(); in Resize() local
1424 aSize.Width() = nMinWidth; in Resize()
1811 aSize.Width() = nMinWidth; in Resize()
1822 aNewSize = aSize; in Resize()
1823 aSize.Width() -= aPnt.X(); in Resize()
[all …]
/trunk/main/avmedia/source/gstreamer/
H A Dgstplayer.cxx497 awt::Size aSize( 0, 0 ); in getPreferredPlayerWindowSize() local
502 aSize.Width = g_atomic_int_get( &mnVideoWidth ); in getPreferredPlayerWindowSize()
503 aSize.Height = g_atomic_int_get( &mnVideoHeight ); in getPreferredPlayerWindowSize()
506 if( ( aSize.Width <= 0 ) || ( aSize.Height <= 0 ) ) in getPreferredPlayerWindowSize()
508 aSize.Width = VIDEO_DEFAULT_WIDTH; in getPreferredPlayerWindowSize()
509 aSize.Height = VIDEO_DEFAULT_HEIGHT; in getPreferredPlayerWindowSize()
513 OSL_TRACE( ">>> Requested preferred video size is: %d x %d pixel", aSize.Width, aSize.Height ); in getPreferredPlayerWindowSize()
515 return( aSize ); in getPreferredPlayerWindowSize()
525 awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local
529 if( ( aSize.Width > 0 ) && ( aSize.Height > 0 ) ) in createPlayerWindow()

Completed in 203 milliseconds

12345678910>>...32