Home
last modified time | relevance | path

Searched refs:aSize (Results 26 – 50 of 799) sorted by relevance

12345678910>>...32

/trunk/main/basebmp/test/
H A Dbasictest.cxx86 const basegfx::B2ISize aSize(101,101); in TEST_F() local
87 basegfx::B2ISize aSize2(aSize); in TEST_F()
88 BitmapDeviceSharedPtr pDevice( createBitmapDevice( aSize, in TEST_F()
103 const basegfx::B2ISize aSize(64,64); in TEST_F() local
118 const basegfx::B2IPoint aPt3(aSize.getX()-1,aSize.getY()-1); in TEST_F()
132 const basegfx::B2IPoint aPt6(aSize.getX(),aSize.getY()); in TEST_F()
140 pDevice = createBitmapDevice( aSize, in TEST_F()
160 pDevice = createBitmapDevice( aSize, in TEST_F()
179 pDevice = createBitmapDevice( aSize, in TEST_F()
200 pDevice = createBitmapDevice( aSize, in TEST_F()
[all …]
/trunk/main/vcl/source/window/
H A Darrange.cxx206 Size aSize( i_rSize ); in setPosSize() local
212 m_pElement->SetPosSizePixel( aPoint, aSize ); in setPosSize()
598 Size aSize( aLabelSize ); in resize() local
600 aSize.Width() = m_nLabelColumnWidth; in resize()
601 m_aLabel.setPosSize( aPos, aSize ); in resize()
603 aPos.X() += aSize.Width() + nDistance; in resize()
606 aSize.Width() = aElementSize.Width(); in resize()
623 m_aElement.setPosSize( aPos, aSize ); in resize()
793 aSize.Width() += 2*nOuterBorder + nIndent; in getOptimalSize()
794 aSize.Height() += 2*nOuterBorder; in getOptimalSize()
[all …]
H A Dfloatwin.cxx196 Size aSize; in ImplLoadRes() local
202 aSize.Width() = ReadShortRes(); in ImplLoadRes()
204 aSize.Height() = ReadShortRes(); in ImplLoadRes()
206 SetRollUpOutputSizePixel( LogicToPixel( aSize, eSizeMap ) ); in ImplLoadRes()
249 Size aSize = pWindow->GetSizePixel(); in ImplCalcPos() local
324 aPos.X() = devRect.Left()-aSize.Width()+1; in ImplCalcPos()
374 aPos.Y() = devRect.Top()-aSize.Height()+1; in ImplCalcPos()
390 if ( aPos.Y()+aSize.Height() > aScreenRect.Bottom() ) in ImplCalcPos()
411 if ( aPos.Y()+aSize.Height() > aScreenRect.Bottom() ) in ImplCalcPos()
413 aPos.Y() = devRect.Bottom()-aSize.Height()+1; in ImplCalcPos()
[all …]
H A Dsplit.cxx243 Size aSize = GetOutputSize(); in ImplSplitterActive() local
246 if( aSize.Width() == nB && aSize.Height() == nA ) in ImplSplitterActive()
251 if( aSize.Width() == nA && aSize.Height() == nB ) in ImplSplitterActive()
401 Size aSize = mpRefWin->GetOutputSize(); in ImplKbdTracking() local
408 … = Point( ImplSplitterActive() ? aPos.X() : mnSplitPos, aKeyCode.IsShift() ? 0 : aSize.Height()/2); in ImplKbdTracking()
416 int delta_step = mbHorzSplit ? aSize.Width()/10 : aSize.Height()/10; in ImplKbdTracking()
577 Size aSize = mpRefWin->GetOutputSize(); in ImplStartKbdSplitting() local
580 maDragPos = Point( ImplSplitterActive() ? aPos.X() : mnSplitPos, aSize.Height()/2 ); in ImplStartKbdSplitting()
582 maDragPos = Point( aSize.Width()/2, ImplSplitterActive() ? aPos.Y() : mnSplitPos ); in ImplStartKbdSplitting()
598 Size aSize = mpRefWin->GetOutputSize(); in ImplRestoreSplitter() local
[all …]
/trunk/main/basctl/source/dlged/
H A Ddlgedobj.cxx171 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates()
194 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_APPFONT ) ); in TransformSdrToControlCoordinates()
199 nWidthOut = aSize.Width(); in TransformSdrToControlCoordinates()
221 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); in TransformSdrToFormCoordinates()
244 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_APPFONT ) ); in TransformSdrToFormCoordinates()
249 nWidthOut = aSize.Width(); in TransformSdrToFormCoordinates()
287 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_APPFONT ) ); in TransformControlToSdrCoordinates()
306 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_100TH_MM ) ); in TransformControlToSdrCoordinates()
311 nWidthOut = aSize.Width(); in TransformControlToSdrCoordinates()
333 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_APPFONT ) ); in TransformFormToSdrCoordinates()
[all …]
H A Dmanagelang.cxx158 Size aSize = m_aInfoFT.GetSizePixel(); in CalcInfoSize() local
161 aSize.Height() = nNewHeight; in CalcInfoSize()
162 m_aInfoFT.SetSizePixel( aSize ); in CalcInfoSize()
164 aSize = m_aLanguageLB.GetSizePixel(); in CalcInfoSize()
165 aSize.Height() -= nDelta; in CalcInfoSize()
166 m_aLanguageLB.SetSizePixel( aSize ); in CalcInfoSize()
382 aSize.Height() = nNewHeight; in CalcInfoSize()
383 m_aInfoFT.SetSizePixel( aSize ); in CalcInfoSize()
387 aSize = pWin->GetSizePixel(); in CalcInfoSize()
388 aSize.Height() -= nDelta; in CalcInfoSize()
[all …]
/trunk/main/sd/source/core/
H A Dsdpage.cxx308 Rectangle aRect (aPnt, aSize); in CreatePresObj()
894 Size aSize( W1, H ); in CreateDefaultPresObj() local
901 Size aSize( W2, H ); in CreateDefaultPresObj() local
908 Size aSize( W1, H ); in CreateDefaultPresObj() local
1007 Size aSize; in GetTitleRect() local
1038 aTitleSize = aSize; in GetTitleRect()
1704 if (aSize != aOldSize) in SetSize()
1706 FmFormPage::SetSize(aSize); in SetSize()
1712 if (aSize.Width() > aSize.Height()) in SetSize()
3055 Size aPartArea, aSize; in CalculateHandoutAreas() local
[all …]
/trunk/main/sfx2/source/dialog/
H A Ddockwin.cxx755 Size aSize = rRect.GetSize(); in Docking() local
765 aPos.X() -= aSize.Width(); in Docking()
773 aPos.Y() -= aSize.Height(); in Docking()
782 aPos.X() += aSize.Width(); in Docking()
791 aPos.Y() += aSize.Height(); in Docking()
1357 nLRBorder = aSize.Width(); in CalcAlignment()
1358 nTBBorder = aSize.Height(); in CalcAlignment()
1576 Size aSize; in CalcAlignment() local
1628 aDockingRect.SetSize( aSize ); in CalcAlignment()
1706 Size aSize = GetFloatingSize(); in CalcDockingSize() local
[all …]
/trunk/main/sc/source/ui/Accessibility/
H A DAccessibleText.cxx872 Size aSize(nSizeX, nSizeY); in GetTextForwarder() local
899 aSize.setWidth( nWidth ); in GetTextForwarder()
900 aSize.setHeight( aSize.getHeight() - nTopM - nBottomM ); in GetTextForwarder()
905 aSize = pWin->PixelToLogic( aSize, pEditEngine->GetRefMapMode() ); in GetTextForwarder()
924 aSize.setWidth( std::max( aSize.getWidth(), nTxtWidth + 2 ) ); in GetTextForwarder()
935 aSize.setWidth( ::std::max( aSize.getWidth(), nTxtWidth ) ); in GetTextForwarder()
1260 aSize = pTxtWnd->PixelToLogic(aSize, mpEditEngine->GetRefMapMode()); in GetTextForwarder()
1394 aSize = pWin->PixelToLogic(aSize, pEditEngine->GetRefMapMode()); in GetTextForwarder()
1518 aSize = pWindow->PixelToLogic(aSize, pEditEngine->GetRefMapMode()); in GetTextForwarder()
1660 aSize = pWin->PixelToLogic(aSize, mpEditEngine->GetRefMapMode()); in GetTextForwarder()
[all …]
/trunk/main/svx/source/dialog/
H A Dctredlin.cxx660 Size aSize=GetOutputSizePixel(); in Resize() local
663 aSize.Width()-=2*aPos.X(); in Resize()
685 aViewData.SetSizePixel(aSize); in Resize()
750 Size aSize=aMinSize; in GetMinSizePixel() local
757 aSize.Width()=nSize; in GetMinSizePixel()
760 return aSize; in GetMinSizePixel()
1507 SetOutputSizePixel(aSize); in Resize()
1511 aSize.Height()-=2; in Resize()
1512 aSize.Width()-=2; in Resize()
1513 aTCAccept.SetSizePixel(aSize); in Resize()
[all …]
H A Dpagectrl.cxx47 aSize(), in SvxPageWindow()
110 Fraction aXScale(aWinSize.Width(),std::max((long)(aSize.Width() * 2 + aSize.Width() / 8),1L)); in Paint()
111 Fraction aYScale(aWinSize.Height(),std::max(aSize.Height(),1L)); in Paint()
126 long nYPos = (aSz.Height() - aSize.Height()) / 2; in Paint()
131 if(aSize.Width() > aSize.Height()) in Paint()
143 nYPos = (aSz.Height() - aSize.Height()) / 2; in Paint()
144 long nXPos = (aSz.Width() - aSize.Width()) / 2; in Paint()
149 DrawPage(Point((aSz.Width() - aSize.Width()) / 2,nYPos),sal_True,sal_True); in Paint()
155 DrawPage(Point(aSize.Width() + aSize.Width() / 8,nYPos),sal_True, in Paint()
182 Size aTempSize = aSize; in DrawPage()
/trunk/main/svtools/source/contnr/
H A Dimivctl1.cxx1534 aSize.Height() += 2; in AdjustScrollBars()
1555 aSize.Width()++; in AdjustScrollBars()
1558 aSize.Width()++; in AdjustScrollBars()
1929 Point(), aSize, rRect.TopLeft(), aSize, *pView ); in PaintEntryVirtOutDev()
1935 aSize, in PaintEntryVirtOutDev()
1937 aSize, in PaintEntryVirtOutDev()
2556 pView->DrawOutDev( aDDLastRectPos, aSize, Point(), aSize, *pDDDev ); in ImpHideDDIcon()
2602 pDDDev->DrawOutDev( Point(), aSize, aPos, aSize, *pView ); in ShowDDIcon()
3011 Size aSize( rSize ); in SetGrid() local
4618 Size aSize( rSize ); in GetGridCount() local
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrviewsa.cxx314 Size aSize(aPageSize.Width() * 3, aPageSize.Height() * 2); in Construct() local
315 InitWindows(aPageOrg, aSize, Point(-1, -1)); in Construct()
327 GetDoc()->SetMaxObjSize(aSize); in Construct()
611 Size aSize( nWidth * 3, nHeight * 2); in SetupPage() local
613 InitWindows(aPageOrg, aSize, Point(-1, -1), sal_True); in SetupPage()
735 aSize.Height() = Fraction(aSize.Height()) / aUIScale; in GetStatusBarState()
736 aSize.Width() = Fraction(aSize.Width()) / aUIScale; in GetStatusBarState()
737 rSet.Put( SvxSizeItem( SID_ATTR_SIZE, aSize) ); in GetStatusBarState()
754 aSize.Height() = Fraction(aSize.Height()) / aUIScale; in GetStatusBarState()
755 aSize.Width() = Fraction(aSize.Width()) / aUIScale; in GetStatusBarState()
[all …]
/trunk/main/desktop/source/deployment/gui/
H A Ddp_gui_extlistbox.cxx389 Size aSize = GetOutputSizePixel(); in CalcActiveHeight() local
393 aSize.Width() -= ICON_OFFSET; in CalcActiveHeight()
394 aSize.Height() = 10000; in CalcActiveHeight()
425 Size aSize( GetOutputSizePixel() ); in GetEntryRect() local
431 aSize.Height() = m_nActiveHeight; in GetEntryRect()
433 aSize.Height() = m_nStdHeight; in GetEntryRect()
439 return Rectangle( aPos, aSize ); in GetEntryRect()
783 Size aSize( GetOutputSizePixel() ); in Paint() local
794 Rectangle aEntryRect( aStart, aSize ); in Paint()
796 aStart.Y() += aSize.Height(); in Paint()
[all …]
/trunk/main/svx/source/xoutdev/
H A D_xoutbmp.cxx275 if( aVDev.SetOutputSizePixel( aSize ) ) in WriteGraphic()
282 rGraphic.Draw( &aVDev, aPt, aSize ); in WriteGraphic()
288 rGraphic.Draw( &aVDev, aPt, aSize ); in WriteGraphic()
291 aVDev.DrawBitmap( aPt, aSize, aBitmap ); in WriteGraphic()
308 if( aVDev.SetOutputSizePixel( aSize ) ) in WriteGraphic()
310 rGraphic.Draw( &aVDev, Point(), aSize ); in WriteGraphic()
382 const Size aSize( rBmp.GetSizePixel() ); in DetectEdges() local
386 if( ( aSize.Width() > 2L ) && ( aSize.Height() > 2L ) ) in DetectEdges()
392 Bitmap aDstBmp( aSize, 1 ); in DetectEdges()
398 const long nWidth = aSize.Width(); in DetectEdges()
[all …]
/trunk/main/sc/source/filter/xml/
H A DXMLTableShapeResizer.cxx234 awt::Size aSize(aItr->xShape->getSize()); in ResizeShapes() local
236 aPoint.X += aSize.Width; in ResizeShapes()
249 awt::Size aOldSize(aSize); in ResizeShapes()
253 (aSize.Height != aOldSize.Height) ) in ResizeShapes()
254 aItr->xShape->setSize(aSize); in ResizeShapes()
287 awt::Size aOldSize(aSize); in ResizeShapes()
290 aPoint.X -= aSize.Width; in ResizeShapes()
292 if( (aSize.Width != aOldSize.Width) || in ResizeShapes()
293 (aSize.Height != aOldSize.Height) ) in ResizeShapes()
294 aItr->xShape->setSize(aSize); in ResizeShapes()
[all …]
/trunk/main/vcl/source/control/
H A Dslider.cxx322 nCalcWidth = aSize.Width(); in ImplCalc()
323 nCalcHeight = aSize.Height(); in ImplCalc()
329 nCalcWidth = aSize.Height(); in ImplCalc()
330 nCalcHeight = aSize.Width(); in ImplCalc()
525 aRect.Right() = aSize.Width()-1; in ImplIsPageUp()
1066 Size aSize; in CalcWindowSizePixel() local
1069 aSize.Width() = nWidth; in CalcWindowSizePixel()
1070 aSize.Height() = nHeight; in CalcWindowSizePixel()
1074 aSize.Height() = nWidth; in CalcWindowSizePixel()
1075 aSize.Width() = nHeight; in CalcWindowSizePixel()
[all …]
H A Dspinfld.cxx114 Rectangle aNatRgn( aPt, aSize ); in ImplDrawNativeSpinfield()
119 aSize = aContent.GetSize(); in ImplDrawNativeSpinfield()
122 Rectangle aRgn( aPt, aSize ); in ImplDrawNativeSpinfield()
675 Size aSize = rOutSz; in ImplCalcButtonAreas() local
683 aSize.Width() -= aDropDownSize.Width(); in ImplCalcButtonAreas()
693 long nBottom1 = aSize.Height()/2; in ImplCalcButtonAreas()
694 long nBottom2 = aSize.Height()-1; in ImplCalcButtonAreas()
697 if ( !(aSize.Height() & 0x01) ) in ImplCalcButtonAreas()
761 Size aSize = GetOutputSizePixel(); in Resize() local
787 aSize = aContent.GetSize(); in Resize()
[all …]
/trunk/main/reportdesign/source/core/inc/
H A DTools.hxx91 … template<typename T> static void setSize(const ::com::sun::star::awt::Size& aSize,T* _pShape) in setSize() argument
93 OSL_ENSURE(aSize.Width >= 0 && aSize.Height >= 0,"Illegal with or height!"); in setSize()
99 if ( aOldSize.Height != aSize.Height || aOldSize.Width != aSize.Width ) in setSize()
103 _pShape->m_aProps.aComponent.m_xShape->setSize(aSize); in setSize()
106 _pShape->set(PROPERTY_WIDTH,aSize.Width,_pShape->m_aProps.aComponent.m_nWidth); in setSize()
107 _pShape->set(PROPERTY_HEIGHT,aSize.Height,_pShape->m_aProps.aComponent.m_nHeight); in setSize()
114 … ::com::sun::star::awt::Size aSize = _pShape->m_aProps.aComponent.m_xShape->getSize(); in getSize()
115 OSL_ENSURE(aSize.Width >= 0 && aSize.Height >= 0,"Illegal with or height!"); in getSize()
116 return aSize; in getSize()
/trunk/main/vcl/source/gdi/
H A Dimpgraph.cxx118 Size aSize( 0, 0 ); in GetPreviewSize() local
121 return aSize; in GetPreviewSize()
737 Size aSize; in ImplGetPrefSize() local
762 if( !aSize.Width() || !aSize.Height() ) in ImplGetPrefSize()
779 return aSize; in ImplGetPrefSize()
849 if ( aSize.Width() && aSize.Height() ) in ImplGetPrefMapMode()
1128 Size aSize; in ImplReadEmbedded() local
1159 rIStm >> aSize; in ImplReadEmbedded()
1217 maEx.SetPrefSize( aSize ); in ImplReadEmbedded()
1340 ImplSetPrefSize( aSize ); in ImplReadEmbedded()
[all …]
/trunk/main/svx/source/sidebar/
H A Dnbdtmg.cxx780 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)GetMapUnit()); in ApplyNumRule()
1154 pEntry->aSize = OutputDevice::LogicToLogic(pEntry->aSize,(MapUnit)GetMapUnit(),MAP_100TH_MM); in RelplaceNumRule()
1325 Size aSize = pEntry->aSize; in ApplyNumRule() local
1329 if (aSize.Width()==0 && aSize.Height()==0) { in ApplyNumRule()
1332 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)GetMapUnit()); in ApplyNumRule()
1341 Size aSize = pEntry->aSize; in ApplyNumRule() local
1345 if (aSize.Width()==0 && aSize.Height()==0) { in ApplyNumRule()
1348 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)GetMapUnit()); in ApplyNumRule()
2020 Size aSize = pLevelSettings->aSize; in ApplyNumRule() local
2024 if (aSize.Width()==0 && aSize.Height()==0 && pGrf) { in ApplyNumRule()
[all …]
/trunk/main/editeng/source/uno/
H A Dunoforou.cxx306 Size aSize( rOutliner.CalcTextSize() ); in GetCharBounds() local
307 ::std::swap( aSize.Width(), aSize.Height() ); in GetCharBounds()
325 aLast = SvxEditSourceHelper::EEToUserSpace( aLast, aSize, bIsVertical ); in GetCharBounds()
345 aSize, bIsVertical ); in GetCharBounds()
352 Size aSize = rOutliner.CalcTextSize(); in GetParaBounds() local
362 …return Rectangle( aSize.Width() - aPnt.Y() - nWidth, 0, aSize.Width() - aPnt.Y(), aSize.Height() ); in GetParaBounds()
368 return Rectangle( 0, aPnt.Y(), aSize.Width(), aPnt.Y() + nHeight ); in GetParaBounds()
385 Size aSize( rOutliner.CalcTextSize() ); in GetIndexAtPoint() local
386 ::std::swap( aSize.Width(), aSize.Height() ); in GetIndexAtPoint()
388 aSize, in GetIndexAtPoint()
/trunk/main/sw/source/core/text/
H A Dinftxt.cxx455 return aSize; in GetTxtSize()
498 nMinSize = aSize.Width(); in GetTxtSize()
749 aDrawInf.SetSize( aSize ); in _DrawText()
787 aSize.Width() += nAdd; in CalcRect()
794 long nTmp = aSize.Width(); in CalcRect()
795 aSize.Width() = aSize.Height(); in CalcRect()
796 aSize.Height() = nTmp; in CalcRect()
824 aPoint.A() -= aSize.Width(); in CalcRect()
826 SwRect aRect( aPoint, aSize ); in CalcRect()
1103 Size aSize; in DrawPostIts() local
[all …]
/trunk/main/filter/source/graphicfilter/ieps/
H A Dieps.cxx141 Size aSize = aBmp.GetPrefSize(); in MakeAsMeta() local
143 if( !aSize.Width() || !aSize.Height() ) in MakeAsMeta()
144 aSize = Application::GetDefaultDevice()->PixelToLogic( in MakeAsMeta()
147 aSize = Application::GetDefaultDevice()->LogicToLogic( aSize, in MakeAsMeta()
156 aMtf.SetPrefSize( aSize ); in MakeAsMeta()
663 Size aSize; in GraphicImport() local
666 aSize = aBitmap.GetPrefSize(); in GraphicImport()
667 if( !aSize.Width() || !aSize.Height() ) in GraphicImport()
670aSize = Application::GetDefaultDevice()->LogicToLogic( aSize, aBitmap.GetPrefMapMode(), MAP_100TH_… in GraphicImport()
671 aVDev.DrawBitmap( Point(), aSize, aBitmap ); in GraphicImport()
[all …]
/trunk/main/reportdesign/source/ui/dlg/
H A DCondition.cxx89 const Size aSize = GetOutputSizePixel(); in Resize() local
177 aSize.Width() += 4; in OColorPopup()
178 aSize.Height() += 4; in OColorPopup()
179 SetOutputSizePixel( aSize ); in OColorPopup()
191 Size aSize = GetOutputSizePixel(); in Resize() local
192 aSize.Width() -= 4; in Resize()
193 aSize.Height() -= 4; in Resize()
194 m_aColorSet.SetPosSizePixel( Point(2,2), aSize ); in Resize()
485 const Size aSize( GetOutputSizePixel() ); in impl_layoutAll() local
486 if ( aSize.Width() == m_nLastKnownWindowWidth ) in impl_layoutAll()
[all …]

Completed in 197 milliseconds

12345678910>>...32