/aoo41x/main/basebmp/test/ |
H A D | bmptest.cxx | 153 const basegfx::B2ISize aSize(10,10); in setUp() local 154 mpDevice1bpp = createBitmapDevice( aSize, in setUp() 157 mpDevice32bpp = createBitmapDevice( aSize, in setUp() 161 mpBmp1bpp = createBitmapDevice( aSize, in setUp() 164 mpBmp32bpp = createBitmapDevice( aSize, in setUp()
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 473 Size aSize(((SvxSizeItem*)pItem)->GetSize()); in TYPEINIT1() local 474 aSize = OutputDevice::LogicToLogic in TYPEINIT1() 475 ( aSize, MapMode( MAP_TWIP ), MapMode( MAP_100TH_MM ) ); in TYPEINIT1() 477 if(aSize.Width() > MINLAY&& aSize.Height()> MINLAY) in TYPEINIT1() 480 aSz.Width = aSize.Width(); in TYPEINIT1() 481 aSz.Height = aSize.Height(); in TYPEINIT1() 524 Size aSize(16 * MM50, 8 * MM50); in TYPEINIT1() local 534 aMgr.InsertFlyFrm(FLY_AT_PARA, aStartPos, aSize); in TYPEINIT1() 565 Size aSize(aMgr.GetSize()); in TYPEINIT1() local 574 aSize = ((SvxSizeItem *)pItem)->GetSize(); in TYPEINIT1() [all …]
|
/aoo41x/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 67 p->SetPosSizePixel( aPos, aSize ); \ 543 Size aSize; in PreExecute() local 548 aSize = pLoadBtn->GetSizePixel(); in PreExecute() 554 aSize = pCancelBtn->GetSizePixel(); in PreExecute() 579 if( nMaxWidth > aSize.Width() ) in PreExecute() 583 aSize.Width() = nMaxWidth; in PreExecute() 586 pOkBtn->SetSizePixel( aSize ); in PreExecute() 588 pCancelBtn->SetSizePixel( aSize ); in PreExecute() 590 pLoadBtn->SetSizePixel( aSize ); in PreExecute() 593 nMaxWidth = aSize.Width(); in PreExecute() [all …]
|
/aoo41x/main/chart2/source/controller/dialogs/ |
H A D | res_Trendline.cxx | 54 Size aSize( rControl.GetSizePixel()); in lcl_AdjustControlSize() local 55 aSize.setWidth( rControl.CalcMinimumSize().Width()); in lcl_AdjustControlSize() 56 rControl.SetSizePixel( aSize ); in lcl_AdjustControlSize() 61 Size aSize( rControl.GetSizePixel()); in lcl_AdjustControlSize() local 63 aSize.setWidth( nRightEdge - aPosition.getX()); in lcl_AdjustControlSize() 64 rControl.SetSizePixel( aSize ); in lcl_AdjustControlSize()
|
H A D | res_TextSeparator.cxx | 78 Size aSize( rWindow.GetSizePixel() ); in PositionBelowControl() local 79 aPoint.Y() += aSize.Height(); in PositionBelowControl() 108 Size aSize( m_aLB_Separator.GetSizePixel() ); in AlignListBoxWidthAndXPos() local 109 aSize.Width() = nWantedRightBorder-m_aLB_Separator.GetPosPixel().X(); in AlignListBoxWidthAndXPos() 110 m_aLB_Separator.SetSizePixel(aSize); in AlignListBoxWidthAndXPos()
|
/aoo41x/main/basctl/source/dlged/ |
H A D | dlged.cxx | 571 Size aSize = pWindow->PixelToLogic( Size( 400, 300 ) ); in IMPL_LINK() local 575 aSize.Width() -= aSize.Width() % aGridSize_.Width(); in IMPL_LINK() 576 aSize.Height() -= aSize.Height() % aGridSize_.Height(); in IMPL_LINK() 580 aPos.X() = (aOutSize.Width()>>1) - (aSize.Width()>>1); in IMPL_LINK() 581 aPos.Y() = (aOutSize.Height()>>1) - (aSize.Height()>>1); in IMPL_LINK() 597 pDlgEdForm->SetSnapRect( Rectangle( aPos, aSize ) ); in IMPL_LINK() 724 Size aSize = pWindow->PixelToLogic( Size( 96, 24 ) ); in CreateDefaultObject() local 726 aPoint.X() -= aSize.Width() / 2; in CreateDefaultObject() 727 aPoint.Y() -= aSize.Height() / 2; in CreateDefaultObject() 728 pDlgEdObj->SetSnapRect( Rectangle( aPoint, aSize ) ); in CreateDefaultObject() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | numfmt.cxx | 745 Size aSize=aLbCategory.GetSizePixel(); in HideLanguage() local 753 aSize.Height()=nCatHeight; in HideLanguage() 756 aLbCategory.SetSizePixel(aSize); in HideLanguage() 1165 Size aSize=aLbFormat.GetSizePixel(); in UpdateFormatListBox_Impl() local 1170 aSize.Height()=nStdFormatHeight; in UpdateFormatListBox_Impl() 1171 aLbFormat.SetPosSizePixel(aPos,aSize); in UpdateFormatListBox_Impl() 1181 aSize.Height()=nCurFormatHeight; in UpdateFormatListBox_Impl() 1182 aLbFormat.SetPosSizePixel(aPos,aSize); in UpdateFormatListBox_Impl() 1899 Size aSize=aLbFormat.GetSizePixel(); in SetCategory() local 1916 aSize.Height()=nStdFormatHeight; in SetCategory() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | headbar.cxx | 1020 Rectangle aRect( aPos, aSize ); in Draw() 1074 Size aSize = GetOutputSizePixel(); in Resize() local 1077 mnDX = aSize.Width(); in Resize() 1078 mnDY = aSize.Height(); in Resize() 1602 Size aSize( 0, GetTextHeight() ); in CalcWindowSizePixel() local 1610 nImageHeight += aSize.Height(); in CalcWindowSizePixel() 1615 aSize.Width() += pItem->mnSize; in CalcWindowSizePixel() 1621 aSize.Height() = nMaxImageSize; in CalcWindowSizePixel() 1625 aSize.Height() += 4; in CalcWindowSizePixel() 1627 aSize.Height() += 2; in CalcWindowSizePixel() [all …]
|
/aoo41x/main/sc/source/ui/app/ |
H A D | inputwin.cxx | 520 Size aSize = aTextWindow.GetSizePixel(); in Resize() local 523 aTextWindow.SetSizePixel( aSize ); in Resize() 791 Size aSize(1,TBX_WINDOW_HEIGHT); in ScTextWnd() local 794 aSize.Height() = aMinEditSize.Height(); in ScTextWnd() 795 SetSizePixel ( aSize ); in ScTextWnd() 841 Size aSize = GetOutputSizePixel(); in Resize() local 842 long nDiff = aSize.Height() in Resize() 850 aSize.Width() -= 2 * TEXT_STARTPOS - 1; in Resize() 854 aSize ) ) ); in Resize() 1419 aSize.Width() += 25; // ?? in ScPosWnd() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 429 maPrefSize = aSize; in ImplMakeMono() 506 maPrefSize = aSize; in ImplMakeMonoDither() 614 maPrefSize = aSize; in ImplMakeGreyscales() 696 maPrefSize = aSize; in ImplConvertUp() 822 maPrefSize = aSize; in ImplConvertDown() 899 maPrefSize = aSize; in ImplConvertGhosted() 1034 if( aSize.Width() && aSize.Height() ) in Scale() 2621 maPrefSize = aSize; in ImplDitherMatrix() 2634 if( ( aSize.Width() > 3 ) && ( aSize.Height() > 2 ) ) in ImplDitherFloyd() 2853 maPrefSize = aSize; in ImplDitherFloyd16() [all …]
|
H A D | image.cxx | 574 Size aSize( mpImplData->maImageSize ); in GetAsHorizontalStrip() local 578 aSize.Width() *= nCount; in GetAsHorizontalStrip() 590 Bitmap aPixels( aSize, aTempl.GetBitmap().GetBitCount() ); in GetAsHorizontalStrip() 592 aResult = BitmapEx( aPixels, AlphaMask( aSize ) ); in GetAsHorizontalStrip() 594 aResult = BitmapEx( aPixels, Bitmap( aSize, aTempl.GetMask().GetBitCount() ) ); in GetAsHorizontalStrip() 622 Size aSize( rBitmapEx.GetSizePixel() ); in InsertFromHorizontalStrip() local 625 aSize.Width() /= nItems; in InsertFromHorizontalStrip() 626 ImplInit( nItems, aSize ); in InsertFromHorizontalStrip() 630 BitmapEx aBitmap( rBitmapEx, Point( nIdx * aSize.Width(), 0 ), aSize ); in InsertFromHorizontalStrip()
|
/aoo41x/main/starmath/source/ |
H A D | rect.cxx | 94 DBG_ASSERT(aSize == Size(0, 0), "Sm: ooops..."); in SmRect() 107 aSize(rRect.aSize) in SmRect() 143 aSize = Size(rDev.GetTextWidth(rText), rDev.GetTextHeight()); in BuildRect() 256 : aSize(nWidth, nHeight) in SmRect() 276 { aSize.Width() = GetRight() - nLeft + 1; in SetLeft() 285 aSize.Width() = nRight - GetLeft() + 1; in SetRight() 292 aSize.Height() = nBottom - GetTop() + 1; in SetBottom() 299 { aSize.Height() = GetBottom() - nTop + 1; in SetTop()
|
/aoo41x/main/oox/source/drawingml/ |
H A D | shape.cxx | 272 awt::Size aSize( pShapeRect ? awt::Size( pShapeRect->Width, pShapeRect->Height ) : maSize ); in createAndInsert() local 274 …awt::Rectangle aShapeRectHmm( aPosition.X / 360, aPosition.Y / 360, aSize.Width / 360, aSize.Heigh… in createAndInsert() 280 if( aSize.Width != 1 || aSize.Height != 1) in createAndInsert() 284 aSize.Width ? aSize.Width / 360.0 : 1.0, in createAndInsert() 285 aSize.Height ? aSize.Height / 360.0 : 1.0 ); in createAndInsert()
|
/aoo41x/main/sfx2/source/view/ |
H A D | frame.cxx | 801 Size aSize( GetWindow().GetOutputSizePixel() ); in SetToolSpaceBorderPixel_Impl() local 803 if ( aSize.Width() > nDeltaX ) in SetToolSpaceBorderPixel_Impl() 804 aSize.Width() -= nDeltaX; in SetToolSpaceBorderPixel_Impl() 806 aSize.Width() = 0; in SetToolSpaceBorderPixel_Impl() 809 if ( aSize.Height() > nDeltaY ) in SetToolSpaceBorderPixel_Impl() 810 aSize.Height() -= nDeltaY; in SetToolSpaceBorderPixel_Impl() 812 aSize.Height() = 0; in SetToolSpaceBorderPixel_Impl() 820 pF->GetWindow().SetPosSizePixel( aPos, aSize ); in SetToolSpaceBorderPixel_Impl() 826 Size aSize( GetWindow().GetOutputSizePixel() ); in GetTopOuterRectPixel_Impl() local 828 return ( Rectangle ( aPoint, aSize ) ); in GetTopOuterRectPixel_Impl()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | reffact.cxx | 79 anInfo.aSize = pWnd->GetSizePixel(); in SFX_IMPL_MODELESSDIALOG() 234 pInfo->aSize.Height()=nScSimpleRefHeight; in ScSimpleRefDlgWrapper() 235 pInfo->aSize.Width()=nScSimpleRefWidth; in ScSimpleRefDlgWrapper() 248 void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet) in SetDefaultPosSize() argument 255 nScSimpleRefHeight=aSize.Height(); in SetDefaultPosSize() 256 nScSimpleRefWidth=aSize.Width(); in SetDefaultPosSize()
|
/aoo41x/main/framework/source/uielement/ |
H A D | toolbarwrapper.cxx | 198 ::Size aSize( pToolBar->CalcWindowSizePixel() ); in initialize() 199 aSize.Width() = aActSize.Width(); in initialize() 200 pToolBar->SetOutputSizePixel( aSize ); in initialize() 213 ::Size aSize( pToolBar->CalcWindowSizePixel() ); in initialize() 214 aSize.Width() = aActSize.Width(); in initialize() 215 pToolBar->SetOutputSizePixel( aSize ); in initialize()
|
/aoo41x/main/avmedia/source/xine/ |
H A D | player.cxx | 196 awt::Size aSize( 0, 0 ); in getPreferredPlayerWindowSize() local 198 return aSize; in getPreferredPlayerWindowSize() 207 awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local 209 if( aSize.Width > 0 && aSize.Height > 0 ) in createPlayerWindow()
|
/aoo41x/main/svx/source/tbxctrls/ |
H A D | colrctrl.cxx | 383 Size aSize = GetOutputSizePixel(); in SetSize() local 384 aSize.Width() -= 4; in SetSize() 385 aSize.Height() -= 4; in SetSize() 388 nCols = (sal_uInt16) ( aSize.Width() / aItemSize.Width() ); in SetSize() 389 nLines = (sal_uInt16) ( (float) aSize.Height() / (float) aItemSize.Height() /*+ 0.35*/ ); in SetSize() 406 nCols = (sal_uInt16) ( ( aSize.Width() - nScrollWidth ) / aItemSize.Width() ); in SetSize() 418 aColorSet.SetPosSizePixel( Point( 2, 2 ), aSize ); in SetSize()
|
/aoo41x/main/avmedia/source/win/ |
H A D | player.cxx | 509 awt::Size aSize( 0, 0 ); in getPreferredPlayerWindowSize() local 516 aSize.Width = nWidth; in getPreferredPlayerWindowSize() 517 aSize.Height = nHeight; in getPreferredPlayerWindowSize() 520 return aSize; in getPreferredPlayerWindowSize() 531 awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local 533 if( mpVW && aSize.Width > 0 && aSize.Height > 0 ) in createPlayerWindow()
|
/aoo41x/main/sc/source/ui/navipi/ |
H A D | navipi.cxx | 1271 Size aSize = GetParent()->GetOutputSizePixel(); in ShowList() local 1280 aSize.Height() = nListModeHeight; in ShowList() 1289 nListModeHeight = aSize.Height(); in ShowList() 1291 aSize.Height() = aInitSize.Height(); in ShowList() 1300 pFloat->SetOutputSizePixel( aSize ); in ShowList() 1308 aFloating.Height() = aSize.Height(); in ShowList() 1327 aSize.Height() = nListModeHeight; in ShowScenarios() 1340 nListModeHeight = aSize.Height(); in ShowScenarios() 1342 aSize.Height() = aInitSize.Height(); in ShowScenarios() 1351 pFloat->SetOutputSizePixel( aSize ); in ShowScenarios() [all …]
|
/aoo41x/main/svx/inc/svx/ |
H A D | pagectrl.hxx | 44 Size aSize; member in SvxPageWindow 90 void SetWidth( long nW ) { aSize.Width() = nW; } in SetWidth() 91 void SetHeight( long nH ) { aSize.Height() = nH; } in SetHeight() 93 void SetSize( const Size& rSz ) { aSize = rSz; } in SetSize() 94 const Size& GetSize() const { return aSize; } in GetSize()
|
/aoo41x/main/canvas/source/cairo/ |
H A D | cairo_spritehelper.cxx | 107 basegfx::B2DVector aSize = getSizePixel(); in redraw() local 151 OSL_TRACE ("aSize %f x %f position: %f,%f", aSize.getX(), aSize.getY(), fX, fY ); in redraw() 152 cairo_rectangle( pCairo.get(), 0, 0, floor( aSize.getX() ), floor( aSize.getY() ) ); in redraw()
|
/aoo41x/main/slideshow/source/engine/ |
H A D | tools.cxx | 557 const ::basegfx::B2DSize aSize( in getSpriteTransformation() local 564 aSize.getX() / in getSpriteTransformation() 568 aSize.getY() / in getSpriteTransformation() 670 ::basegfx::B2DSize aSize; in getShapePosSize() 671 aSize.setX( fabs( pAttr->isWidthValid() ? in getShapePosSize() 674 aSize.setY( fabs( pAttr->isHeightValid() ? in getShapePosSize() 689 return ::basegfx::B2DRectangle( aPos - 0.5*aSize, in getShapePosSize() 690 aPos + 0.5*aSize ); in getShapePosSize()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | wrtw8esh.cxx | 1585 Size aSize( rGrf.GetPrefSize() ); in WriteGrfBullet() local 1588 aSize = Application::GetDefaultDevice()->PixelToLogic(aSize, aMap100mm ); in WriteGrfBullet() 1592 aSize = OutputDevice::LogicToLogic( aSize,rGrf.GetPrefMapMode(), aMap100mm ); in WriteGrfBullet() 1595 Rectangle aRect( aEmptyPoint, aSize ); in WriteGrfBullet() 1678 aSize, aMap100mm ); in WriteGrfFlyFrame() 1682 aSize = OutputDevice::LogicToLogic( aSize, in WriteGrfFlyFrame() 1835 aRect.Width = aSize.Width; in WriteOLEFlyFrame() 1836 aRect.Height = aSize.Height; in WriteOLEFlyFrame() 1887 aSize, aMap100mm); in WriteBrushAttr() 1891 aSize = OutputDevice::LogicToLogic(aSize, in WriteBrushAttr() [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | virtoutp.cxx | 143 if( rNew.Width() <= aSize.Width() ) in DoesFit() 156 if( rNew.Width() > aSize.Width() ) in DoesFit() 158 aSize.Width() = rNew.Width(); in DoesFit() 159 if( !pVirDev->SetOutputSizePixel( aSize ) ) in DoesFit() 163 aSize.Width() = 0; in DoesFit()
|