Home
last modified time | relevance | path

Searched refs:aSize (Results 1 – 25 of 799) sorted by relevance

12345678910>>...32

/trunk/main/chart2/source/view/main/
H A DLabelPositionHelper.cxx146 -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 …]
/trunk/main/sc/source/ui/cctrl/
H A Ddpcontrol.cxx203 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 …]
/trunk/main/canvas/source/directx/
H A Ddx_canvasbitmap.cxx113 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 …]
/trunk/main/svtools/source/control/
H A Dtaskbar.cxx225 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 …]
/trunk/main/svtools/source/dialogs/
H A Dproperty.cxx82 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 …]
/trunk/main/sfx2/source/appl/
H A Dworkwin.cxx877 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 …]
/trunk/main/sd/source/ui/view/
H A Dsdview3.cxx850 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 …]
/trunk/main/sd/source/ui/func/
H A Dfuinsert.cxx345 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 …]
/trunk/main/vcl/source/control/
H A Dbutton.cxx1838 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 …]
/trunk/main/toolkit/qa/complex/toolkit/
H A DUnitConversion.java131 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 …]
/trunk/main/sc/source/ui/view/
H A Dviewfun7.cxx308 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 …]
/trunk/main/svx/source/sidebar/tools/
H A DValueSetWithTextControl.cxx180 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 …]
/trunk/main/svx/source/tbxctrls/
H A Dlinectrl.cxx62 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 Dlayctrl.cxx357 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 …]
/trunk/main/vcl/unx/headless/
H A Dsvpbmp.cxx60 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 …]
/trunk/main/vcl/source/window/
H A Dbrdwin.cxx879 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 Dsyswin.cxx416 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 …]
/trunk/main/sc/source/ui/drawfunc/
H A Dfuins2.cxx333 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 …]
/trunk/main/sw/source/ui/uiview/
H A Dviewport.cxx262 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 …]
/trunk/main/svx/source/svdraw/
H A Dsvdomedia.cxx153 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 …]
/trunk/main/cui/source/dialogs/
H A Dabout.cxx82 Size &aSize, in lcl_layoutFixedText() argument
85 aSize = rControl.GetSizePixel(); in lcl_layoutFixedText()
87 aSize.Width() = nTextWidth; in lcl_layoutFixedText()
91 aSize = rControl.CalcMinimumSize(); in lcl_layoutFixedText()
93 rControl.SetSizePixel( aSize ); in lcl_layoutFixedText()
98 Size &aSize, in lcl_layoutEdit() argument
101 aSize = rControl.GetSizePixel(); in lcl_layoutEdit()
103 aSize.Width() = nTextWidth; in lcl_layoutEdit()
109 rControl.SetSizePixel( aSize ); in lcl_layoutEdit()
443 Size aSize; in LayoutControls() local
[all …]
H A Dcolorpicker.cxx609 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 …]
/trunk/main/svtools/source/contnr/
H A Dsvtreebx.cxx1064 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 …]
/trunk/main/starmath/source/
H A Dview.cxx265 Point aBRPos (aTLPos.X() + aSize.Width(), aTLPos.Y() + aSize.Height()); in SetCursor()
435 if (aSize.Width() > 0 && aSize.Height() > 0) in ZoomToFitInWindow()
879 aSize.Width() = 0; in GetTextLineSize()
884 aSize.Width() = ((aSize.Width() / TabPos) + 1) * TabPos; in GetTextLineSize()
893 return aSize; in GetTextLineSize()
901 Size aSize; in GetTextSize() local
916 if (aSize.Width() > MaxWidth) in GetTextSize()
994 Size aSize; in DrawText() local
1005 if (aSize.Width() > MaxWidth) in DrawText()
1162 if ((aSize.Width() > 0) && (aSize.Height() > 0)) in Impl_Print()
[all …]
/trunk/main/svx/source/dialog/
H A Ddlgctrl.cxx137 aPtMM = Point( aSize.Width() / 2, aSize.Height() / 2 ); in Resize_Impl()
138 aPtRM = Point( aSize.Width() - nBorderWidth, aSize.Height() / 2 ); in Resize_Impl()
141 aPtMB = Point( aSize.Width() / 2, aSize.Height() - nBorderWidth ); in Resize_Impl()
151 aPtMM = Point( aSize.Width() / 2, aSize.Height() / 2 ); in Resize_Impl()
152 aPtRM = Point( aSize.Width() - 3 * nBorderWidth, aSize.Height() / 2 ); in Resize_Impl()
155 aPtMB = Point( aSize.Width() / 2, aSize.Height() - nBorderWidth ); in Resize_Impl()
1279 aSize = rSize; in SvxBitmapCtl()
2396 aSize.Width() = aSize.Width() / 3; in SvxXShadowPreview()
2397 aSize.Height() = aSize.Height() / 3; in SvxXShadowPreview()
2400 const Rectangle aObjectSize( Point( aSize.Width(), aSize.Height() ), aSize ); in SvxXShadowPreview()
[all …]

Completed in 211 milliseconds

12345678910>>...32