/aoo4110/main/chart2/source/view/main/ |
H A D | LabelPositionHelper.cxx | 146 -aSize.Height *rtl::math::cos( beta )/2.0; in lcl_correctRotation_Left() 156 -aSize.Height*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Left() 188 rfXCorrection = aSize.Width *rtl::math::cos( beta ) in lcl_correctRotation_Right() 189 + aSize.Height*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Right() 198 rfXCorrection = aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Right() 235 - aSize.Height*rtl::math::sin( beta ); in lcl_correctRotation_Top() 244 -aSize.Height *rtl::math::cos( beta ); in lcl_correctRotation_Top() 277 +aSize.Height*rtl::math::sin( beta ); in lcl_correctRotation_Bottom() 353 rfYCorrection = aSize.Width*rtl::math::cos( beta ) in lcl_correctRotation_Left_Bottom() 377 rfXCorrection = aSize.Width*rtl::math::sin( beta ) in lcl_correctRotation_Right_Top() [all …]
|
/aoo4110/main/canvas/source/directx/ |
H A D | dx_canvasbitmap.cxx | 113 aBIH.biWidth = aSize.getX(); in getFastPropertyValue() 114 aBIH.biHeight = -aSize.getY(); in getFastPropertyValue() 127 aBmpData.Width = aSize.getX(); in getFastPropertyValue() 128 aBmpData.Height = aSize.getY(); in getFastPropertyValue() 132 const Gdiplus::Rect aRect( 0,0,aSize.getX(),aSize.getY() ); in getFastPropertyValue() 184 … HBITMAP hBmpBitmap = CreateCompatibleBitmap( hScreenDC, aSize.getX(), aSize.getY() ); in getFastPropertyValue() 189 aDIB.bmiHeader.biWidth = aSize.getX(); in getFastPropertyValue() 190 aDIB.bmiHeader.biHeight = -aSize.getY(); in getFastPropertyValue() 201 aBmpData.Width = aSize.getX(); in getFastPropertyValue() 202 aBmpData.Height = aSize.getY(); in getFastPropertyValue() [all …]
|
/aoo4110/main/sc/source/ui/cctrl/ |
H A D | dpcontrol.cxx | 203 Size aSize; in drawPopupButton() local 229 Point aCenter(aPos.X() + (aSize.Width() >> 1), aPos.Y() + (aSize.Height() >> 1)); in drawPopupButton() 257 Point aBoxPos(aPos.X() + aSize.Width() - 5, aPos.Y() + aSize.Height() - 5); in drawPopupButton() 489 Size aSize; in drawMenuItem() local 641 Size aSize; in launchSubMenu() local 703 Size aSize; in resizeToFitMenuItems() local 784 Size aSize; in highlightMenuItem() local 855 Size aSize; in getEnclosingMenuItem() local 921 Size aSize; in ensureSubMenuVisible() local 1005 Size aSize; in ScDPFieldPopupWindow() local [all …]
|
/aoo4110/main/svtools/source/control/ |
H A D | taskbar.cxx | 225 Size aSize = GetOutputSizePixel(); in Tracking() local 293 Size aSize = GetOutputSizePixel(); in Resize() local 342 aStatusSize.Width() = aSize.Width(); in Resize() 360 aStatusSize.Width() = aSize.Width(); in Resize() 532 Size aSize; in CalcWindowSizePixel() local 540 if ( nTempHeight > aSize.Height() ) in CalcWindowSizePixel() 541 aSize.Height() = nTempHeight; in CalcWindowSizePixel() 546 if ( nTempHeight > aSize.Height() ) in CalcWindowSizePixel() 547 aSize.Height() = nTempHeight; in CalcWindowSizePixel() 551 aSize.Height() += TASKBAR_BORDER; in CalcWindowSizePixel() [all …]
|
/aoo4110/main/svtools/source/dialogs/ |
H A D | property.cxx | 82 Size aSize=GetSizePixel(); in SvXPropertyEdit() local 83 SetCtrSize(aSize); in SvXPropertyEdit() 104 aEdit.SetSizePixel(aSize); in SetCtrSize() 211 SetCtrSize(aSize); in SvXPropertyListBox() 340 SetCtrSize(aSize); in SvXPropertyComboBox() 494 Size a2Size=aSize; in Resize() 748 Size a2Size=aSize; in Resize() 1150 aSize.Width()-=6; in Resize() 1151 aSize.Height()-=6; in Resize() 1201 aSize.Width()-=6; in Resize() [all …]
|
/aoo4110/main/sfx2/source/appl/ |
H A D | workwin.cxx | 877 Size aSize; in Arrange_Impl() local 894 aSize = pCli->aSize; in Arrange_Impl() 908 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl() 923 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl() 938 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl() 953 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl() 970 pCli->aSize = aSize; in Arrange_Impl() 1079 pChild->aSize = rNewSize; in AlignChild_Impl() 2850 aPos.X() += aSize.Width(); in ArrangeAutoHideWindows() 2856 aPos.X() -= aSize.Width(); in ArrangeAutoHideWindows() [all …]
|
/aoo4110/main/sd/source/ui/view/ |
H A D | sdview3.cxx | 850 Size aSize( aRect.GetSize() ); in InsertData() local 852 maDropPos.X() -= ( aSize.Width() >> 1 ); in InsertData() 954 Size aSize; in InsertData() local 958 aSize = aObjDesc.maSize; in InsertData() 962 aSize = aObjRef.GetSize( &aMapMode ); in InsertData() 988 if( !aSize.Width() || !aSize.Height() ) in InsertData() 998 aSize = OutputDevice::LogicToLogic( aSize, aMapUnit, MAP_100TH_MM ); in InsertData() 1124 Size aSize; in InsertData() local 1128 aSize = aObjDesc.maSize; in InsertData() 1161 if( !aSize.Width() || !aSize.Height() ) in InsertData() [all …]
|
/aoo4110/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 345 if (aSize.Height() == 0 || aSize.Width() == 0) in DoExecute() 348 aSize.Width() = 14100; in DoExecute() 349 aSize.Height() = 10000; in DoExecute() 357 aSize = OutputDevice::LogicToLogic(aSize, aUnit, MAP_100TH_MM); in DoExecute() 364 aPos.X() -= aSize.Width() / 2; in DoExecute() 365 aPos.Y() -= aSize.Height() / 2; in DoExecute() 554 Size aSize; in DoExecute() local 571 if (aSize.Height() == 0 || aSize.Width() == 0) in DoExecute() 583 aSize = OutputDevice::LogicToLogic(aSize, aMapUnit, MAP_100TH_MM); in DoExecute() 771 Size aSize; in DoExecute() local [all …]
|
/aoo4110/main/toolkit/qa/complex/toolkit/ |
H A D | UnitConversion.java | 131 System.out.println("Width:" + aSize.Width); in testXUnitConversion() 132 System.out.println("Height:" + aSize.Height); in testXUnitConversion() 135 …assertTrue("Window pos size wrong", aSize.Width == width && aSize.Height == height && aPoint.X == … in testXUnitConversion() 177 checkSize(aSize, com.sun.star.util.MeasureUnit.PIXEL, "pixel"); in testXUnitConversion() 178 checkSize(aSize, com.sun.star.util.MeasureUnit.APPFONT, "appfont"); in testXUnitConversion() 182 checkSize(aSize, com.sun.star.util.MeasureUnit.MM, "mm"); in testXUnitConversion() 183 checkSize(aSize, com.sun.star.util.MeasureUnit.CM, "cm"); in testXUnitConversion() 187 checkSize(aSize, com.sun.star.util.MeasureUnit.INCH, "inch"); in testXUnitConversion() 189 checkSize(aSize, com.sun.star.util.MeasureUnit.POINT, "point"); in testXUnitConversion() 190 checkSize(aSize, com.sun.star.util.MeasureUnit.TWIP, "twip"); in testXUnitConversion() [all …]
|
/aoo4110/main/sc/source/ui/view/ |
H A D | viewfun7.cxx | 308 Size aSize; in PasteObject() local 325 aSz.Width = aSize.Width(); in PasteObject() 341 aSize = OutputDevice::LogicToLogic( aSize, aMapObj, aMap100 ); // fuer SdrOle2Obj in PasteObject() 343 if( aSize.Height() == 0 || aSize.Width() == 0 ) in PasteObject() 346 aSize.Width() = 5000; in PasteObject() 347 aSize.Height() = 5000; in PasteObject() 348 aSize = OutputDevice::LogicToLogic( aSize, aMap100, aMapObj ); in PasteObject() 358 aInsPos.X() -= aSize.Width(); in PasteObject() 359 Rectangle aRect( aInsPos, aSize ); in PasteObject() 443 aPos.X() -= aSize.Width(); in PasteGraphic() [all …]
|
/aoo4110/main/svx/source/sidebar/tools/ |
H A D | ValueSetWithTextControl.cxx | 180 aFont.SetSize( aSize ); in UserDraw() 311 aSize.Height() = nRectHeight/5; in UserDraw() 314 aFont.SetSize( aSize ); in UserDraw() 359 Size aSize = aFont.GetSize(); in UserDraw() local 361 aFont.SetSize( aSize ); in UserDraw() 367 aSize.Height() = aSize.Height()*0.9; in UserDraw() 368 aFont.SetSize( aSize ); in UserDraw() 451 aFont.SetSize( aSize ); in UserDraw() 495 aFont.SetSize( aSize ); in UserDraw() 505 aSize.Height() = aSize.Height()*0.9; in UserDraw() [all …]
|
/aoo4110/main/vcl/source/control/ |
H A D | button.cxx | 1838 Size aSize; in CalcMinimumSize() local 1857 aSize.Height() = std::max( aSize.Height(), long( textSize.Height() * 1.15 ) ); in CalcMinimumSize() 1863 aSize.Width() += 8; in CalcMinimumSize() 1864 aSize.Height() += 8; in CalcMinimumSize() 3033 Size aSize; in ImplGetRadioImageSize() local 3056 return aSize; in ImplGetRadioImageSize() 3189 Size aSize; in CalcMinimumSize() local 3797 aSize.Width() += 2; in GetFocus() 3829 aSize.Width() -= 2; in LoseFocus() 3977 Size aSize; in ImplGetCheckImageSize() local [all …]
|
/aoo4110/main/svx/source/tbxctrls/ |
H A D | linectrl.cxx | 62 aSize.Width() -= 4; \ 587 aSize.Width() -= 4; in Resize() 588 aSize.Height() -= 4; in Resize() 674 Resizing( aSize ); in StateChanged() 712 Size aSize( aBmpSize ); in SetSize() local 713 aSize.Width() += 6; in SetSize() 714 aSize.Height() += 6; in SetSize() 715 aSize = aLineEndSet.CalcWindowSizePixel( aSize ); in SetSize() 716 aSize.Width() += 4; in SetSize() 717 aSize.Height() += 4; in SetSize() [all …]
|
H A D | layctrl.cxx | 357 Size aSize = GetOutputSizePixel(); in Paint() local 364 aSize.Width(), aSize.Height()-nTextHeight+1 ) ); in Paint() 366 aSize.Width(), aSize.Height()-nTextHeight+1 ) ); in Paint() 409 Rectangle aClearRect( 0, aSize.Height()-nTextHeight+2, (aSize.Width()), aSize.Height() ); in Paint() 415 …DrawText( Point( (aSize.Width() - aTextSize.Width()) / 2, aSize.Height() - nTextHeight + 2 ), aTex… in Paint() 419 DrawRect( Rectangle( Point(0,0), aSize ) ); in Paint() 698 Size aSize = GetOutputSizePixel(); in Paint() local 717 while ( j < aSize.Height()-nTextHeight-4 ) in Paint() 736 …DrawText( Point( ( aSize.Width() - aTextSize.Width() ) / 2, aSize.Height() - nTextHeight + 2 ), aT… in Paint() 738 …DrawRect( Rectangle( 0, aSize.Height()-nTextHeight+2, (aSize.Width()-aTextSize.Width())/2-1, aSize… in Paint() [all …]
|
/aoo4110/main/vcl/unx/headless/ |
H A D | svpbmp.cxx | 60 if( aSize.getX() == 0 ) in Create() 61 aSize.setX( 1 ); in Create() 62 if( aSize.getY() == 0 ) in Create() 63 aSize.setY( 1 ); in Create() 92 B2IVector aSize = rSrcBmp->getSize(); in Create() local 94 B2IRange aRect( 0, 0, aSize.getX(), aSize.getY() ); in Create() 122 Size aSize; in GetSize() local 129 return aSize; in GetSize() 210 B2IVector aSize = m_aBitmap->getSize(); in AcquireBuffer() local 211 pBuf->mnWidth = aSize.getX(); in AcquireBuffer() [all …]
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdomedia.cxx | 153 if( aSize.Height() != 0 && aSize.Width() != 0 ) in AdjustToMaxRect() 160 ( aSize.Height() > aMaxSize.Height() ) || in AdjustToMaxRect() 161 ( aSize.Width() > aMaxSize.Width() ) )&& in AdjustToMaxRect() 162 aSize.Height() && aMaxSize.Height() ) in AdjustToMaxRect() 164 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() 165 (float)aSize.Height(); in AdjustToMaxRect() 173 aSize.Height()= aMaxSize.Height(); in AdjustToMaxRect() 177 aSize.Width() = aMaxSize.Width(); in AdjustToMaxRect() 187 aPos.X() -= aSize.Width() / 2; in AdjustToMaxRect() 188 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect() [all …]
|
/aoo4110/main/sc/source/ui/drawfunc/ |
H A D | fuins2.cxx | 333 Size aSize; in FuInsertOLE() local 357 if (aSize.Height() == 0 || aSize.Width() == 0) in FuInsertOLE() 360 aSize.Width() = 5000; in FuInsertOLE() 361 aSize.Height() = 5000; in FuInsertOLE() 372 aSize = Window::LogicToLogic( aSize, in FuInsertOLE() 385 Rectangle aRect (aPnt, aSize); in FuInsertOLE() 403 if ( aNewSize != aSize ) in FuInsertOLE() 571 if (aSize.Height() <= 0 || aSize.Width() <= 0) in FuInsertChart() 573 aSize.Width() = 5000; in FuInsertChart() 574 aSize.Height() = 5000; in FuInsertChart() [all …]
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 262 if( aSize.Width() < 0 || aSize.Height() < 0 ) in SetVisArea() 486 Size aSize( rRect.GetSize() ); in Scroll() local 493 aSize.Width() = Min( aSize.Width(), aVisSize.Width() ); in Scroll() 494 aSize.Height()= Min( aSize.Height(),aVisSize.Height()); in Scroll() 933 if(!aSize.Width()) in ViewResizePixel() 945 aSize.Width() -= nVBSzWidth; in ViewResizePixel() 946 if(!aSize.Height()) in ViewResizePixel() 967 aSize.Width() -= nVBSzWidth; in ViewResizePixel() 994 aSize.Height() -= nSubSize; in ViewResizePixel() 1002 aPos.Y() += aSize.Height(); in ViewResizePixel() [all …]
|
/aoo4110/main/vcl/source/window/ |
H A D | brdwin.cxx | 879 aSize = aNewRect.GetSize(); in ImplTracking() 886 aSize.Width() = nMinWidth; in ImplTracking() 2070 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in Resize() 2130 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in InitView() 2151 Size aSize = aOutputSize; in UpdateView() local 2155 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in UpdateView() 2263 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in SetCloser() 2273 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in SetDockButton() 2283 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in SetHideButton() 2293 mpBorderView->Init( this, aSize.Width(), aSize.Height() ); in SetHelpButton() [all …]
|
H A D | syswin.cxx | 416 Size aSize = maRollUpOutSize; in RollUp() local 417 if ( !aSize.Width() ) in RollUp() 461 Size aSize( rSize ); in SetMaxOutputSizePixel() local 462 if( aSize.Width() > SHRT_MAX || aSize.Width() <= 0 ) in SetMaxOutputSizePixel() 463 aSize.Width() = SHRT_MAX; in SetMaxOutputSizePixel() 464 if( aSize.Height() > SHRT_MAX || aSize.Height() <= 0 ) in SetMaxOutputSizePixel() 465 aSize.Height() = SHRT_MAX; in SetMaxOutputSizePixel() 467 mpImplData->maMaxOutSize = aSize; in SetMaxOutputSizePixel() 475 mpWindowImpl->mpFrame->SetMaxClientSize( aSize.Width(), aSize.Height() ); in SetMaxOutputSizePixel() 486 Size aSize = GetOutputSizePixel(); in GetResizeOutputSizePixel() local [all …]
|
/aoo4110/main/starmath/source/ |
H A D | view.cxx | 262 Point aBRPos (aTLPos.X() + aSize.Width(), aTLPos.Y() + aSize.Height()); in SetCursor() 432 if (aSize.Width() > 0 && aSize.Height() > 0) in ZoomToFitInWindow() 876 aSize.Width() = 0; in GetTextLineSize() 881 aSize.Width() = ((aSize.Width() / TabPos) + 1) * TabPos; in GetTextLineSize() 890 return aSize; in GetTextLineSize() 898 Size aSize; in GetTextSize() local 913 if (aSize.Width() > MaxWidth) in GetTextSize() 991 Size aSize; in DrawText() local 1002 if (aSize.Width() > MaxWidth) in DrawText() 1159 if ((aSize.Width() > 0) && (aSize.Height() > 0)) in Impl_Print() [all …]
|
/aoo4110/main/cui/source/dialogs/ |
H A D | about.cxx | 87 aSize = rControl.GetSizePixel(); in lcl_layoutFixedText() 89 aSize.Width() = nTextWidth; in lcl_layoutFixedText() 93 aSize = rControl.CalcMinimumSize(); in lcl_layoutFixedText() 95 rControl.SetSizePixel( aSize ); in lcl_layoutFixedText() 100 Size &aSize, in lcl_layoutEdit() argument 103 aSize = rControl.GetSizePixel(); in lcl_layoutEdit() 105 aSize.Width() = nTextWidth; in lcl_layoutEdit() 109 aSize = rControl.CalcMinimumSize(); in lcl_layoutEdit() 111 rControl.SetSizePixel( aSize ); in lcl_layoutEdit() 448 Size aSize; in LayoutControls() local [all …]
|
H A D | colorpicker.cxx | 609 else if( nX >= aSize.Width() ) in ShowPosition() 610 nX = aSize.Width() - 1L; in ShowPosition() 614 else if( nY >= aSize.Height() ) in ShowPosition() 615 nY = aSize.Height() - 1L; in ShowPosition() 626 mdY = (double)(aSize.Height()-1-nY) / (double)(aSize.Height()-1); in ShowPosition() 672 Point aPos( mdX * aSize.Width(), (1.0 - mdY) * aSize.Height() ); in KeyMove() 676 aPos.X() += aSize.Width(); in KeyMove() 678 aPos.X() -= aSize.Width(); in KeyMove() 789 ShowPosition( Point( mdX * aSize.Width(), (1.0 - mdY) * aSize.Height() ), false ); in UpdatePosition() 1014 int x = aSize.Width(); in Paint() [all …]
|
/aoo4110/main/svtools/source/contnr/ |
H A D | svtreebx.cxx | 1064 Size aSize; in AdjustEntryHeight() local 1076 Size aSize; in AdjustEntryHeight() local 1438 aSize.Width() -= aOrigin.X(); in EditItemText() 1976 Size aSize; in GetFocusRect() local 2009 if( !aSize.Width() ) in GetFocusRect() 2010 aSize.Width() = 15; in GetFocusRect() 2016 aRect.SetSize( aSize ); in GetFocusRect() 2045 aSize.Width() += nTabPos; in GetFocusRect() 2054 aSize.Width() -= nTabPos; in GetFocusRect() 2056 aRect.SetSize( aSize ); in GetFocusRect() [all …]
|
/aoo4110/main/basebmp/test/ |
H A D | basictest.cxx | 97 const basegfx::B2ISize aSize(101,101); in testConstruction() local 98 basegfx::B2ISize aSize2(aSize); in testConstruction() 99 BitmapDeviceSharedPtr pDevice( createBitmapDevice( aSize, in testConstruction() 121 const basegfx::B2ISize aSize(64,64); in testPixelFuncs() local 138 const basegfx::B2IPoint aPt3(aSize.getX()-1,aSize.getY()-1); in testPixelFuncs() 154 const basegfx::B2IPoint aPt6(aSize.getX(),aSize.getY()); in testPixelFuncs() 164 pDevice = createBitmapDevice( aSize, in testPixelFuncs() 189 pDevice = createBitmapDevice( aSize, in testPixelFuncs() 211 pDevice = createBitmapDevice( aSize, in testPixelFuncs() 235 pDevice = createBitmapDevice( aSize, in testPixelFuncs() [all …]
|