/aoo41x/main/canvas/source/tools/ |
H A D | surface.cxx | 252 ::basegfx::B2IVector aSize(aPos2 - aPos1); in drawRectangularArea() 253 if(aSize.getX() <= 0 || aSize.getY() <= 0) in drawRectangularArea() 263 aSize) ); in drawRectangularArea() 304 const ::basegfx::B2DPoint& p0(aTransform * ::basegfx::B2DPoint(aSize.getX(),aSize.getY())); in drawRectangularArea() 305 const ::basegfx::B2DPoint& p1(aTransform * ::basegfx::B2DPoint(0.0, aSize.getY())); in drawRectangularArea() 307 const ::basegfx::B2DPoint& p3(aTransform * ::basegfx::B2DPoint(aSize.getX(),0.0)); in drawRectangularArea()
|
/aoo41x/main/basebmp/source/ |
H A D | debug.cxx | 81 const basegfx::B2IVector aSize( rDevice->getSize() ); in debugDump() local 87 << "/* Width = " << aSize.getX() << " */" << std::endl in debugDump() 88 << "/* Height = " << aSize.getY() << " */" << std::endl in debugDump() 95 for( int y=0; y<aSize.getY(); ++y ) in debugDump() 97 for( int x=0; x<aSize.getX(); ++x ) in debugDump()
|
/aoo41x/main/canvas/source/directx/ |
H A D | dx_bitmap.cxx | 180 const geometry::IntegerSize2D aSize( maSize.getX(),maSize.getY() ); in setPixel() local 182 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in setPixel() 184 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in setPixel() 199 const geometry::IntegerSize2D aSize( maSize.getX(),maSize.getY() ); in getPixel() local 201 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in getPixel() 203 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in getPixel()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 496 Size aSize = PixelToLogic(GetOutputSizePixel()); in SetZoomIntegral() local 497 long nW = aSize.Width() * GetZoom() / nZoom; in SetZoomIntegral() 498 long nH = aSize.Height() * GetZoom() / nZoom; in SetZoomIntegral() 499 maWinPos.X() += (aSize.Width() - nW) / 2; in SetZoomIntegral() 500 maWinPos.Y() += (aSize.Height() - nH) / 2; in SetZoomIntegral() 1121 Size aSize = GetOutputSizePixel(); in DropScroll() local 1123 if (aSize.Width() > SCROLL_SENSITIVE * 3) in DropScroll() 1130 if ( rMousePos.X() >= aSize.Width() - SCROLL_SENSITIVE ) in DropScroll() 1136 if (aSize.Height() > SCROLL_SENSITIVE * 3) in DropScroll() 1143 if ( rMousePos.Y() >= aSize.Height() - SCROLL_SENSITIVE ) in DropScroll()
|
/aoo41x/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 342 Size aSize( ((JPEGCreateBitmapParam*)pParam)->nWidth, in CreateBitmap() local 356 if (aSize.Width()<=0 in CreateBitmap() 357 || aSize.Height()<=0 in CreateBitmap() 358 || sal_uInt64(aSize.Width())*sal_uInt64(aSize.Height())*(bGray?1:3) > MAX_BITMAP_BYTE_SIZE) in CreateBitmap() 375 aBmp = Bitmap( aSize, 8, &aGrayPal ); in CreateBitmap() 378 aBmp = Bitmap( aSize, 24 ); in CreateBitmap() 392 Size aPrefSize = OutputDevice::LogicToLogic( aSize, aMapMode, MAP_100TH_MM ); in CreateBitmap() 418 nAlignedWidth = AlignedWidth4Bytes( aSize.Width() * ( bGray ? 8 : 24 ) ); in CreateBitmap() 420 pBmpBuf = pBuffer = rtl_allocateMemory( nAlignedWidth * aSize.Height() ); in CreateBitmap()
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | conflictsdlg.cxx | 785 Size aSize( rWindow.GetSizePixel() ); in lcl_ChangeControlWidth() local 786 aSize.Width() += nDelta; in lcl_ChangeControlWidth() 787 rWindow.SetSizePixel( aSize ); in lcl_ChangeControlWidth() 792 Size aSize( rWindow.GetSizePixel() ); in lcl_ChangeControlHeight() local 793 aSize.Height() += nDelta; in lcl_ChangeControlHeight() 794 rWindow.SetSizePixel( aSize ); in lcl_ChangeControlHeight() 799 Size aSize( GetSizePixel() ); in Resize() local 800 long nDeltaWidth = aSize.Width() - maDialogSize.Width(); in Resize() 801 long nDeltaHeight = aSize.Height() - maDialogSize.Height(); in Resize() 802 maDialogSize = aSize; in Resize()
|
/aoo41x/main/editeng/source/rtf/ |
H A D | rtfgrf.cxx | 558 Size aSize( rGrf.GetPrefSize() ); in ReadBmpData() local 560 aSize = Application::GetDefaultDevice()->PixelToLogic( in ReadBmpData() 561 aSize, aMap ); in ReadBmpData() 563 aSize = OutputDevice::LogicToLogic( aSize, in ReadBmpData() 565 rPicType.nWidth = sal::static_int_cast< sal_uInt16 >(aSize.Width()); in ReadBmpData() 567 aSize.Height()); in ReadBmpData()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | print3.cxx | 62 PrinterController::PageSize aSize; member 101 maPages[ nReplacePage ].aSize = i_rSize; in insert() 119 o_rSize = maPages[i].aSize; in get() 818 aPageSize.aSize = mpPrinter->GetPaperSize(); in modifyJobSetup() 857 aPageSize.aSize.Width() = aIsSize.Width; in modifyJobSetup() 858 aPageSize.aSize.Height() = aIsSize.Height; in modifyJobSetup() 928 o_rMtf.SetPrefSize( aPageSize.aSize ); in getPageFile() 1011 if( aPaperSize != aPageSize.aSize ) in getFilteredPageFile() 1015 long nDX = (aPaperSize.Width() - aPageSize.aSize.Width()) / 2; in getFilteredPageFile() 1020 aPageSize.aSize = aPaperSize; in getFilteredPageFile() [all …]
|
/aoo41x/main/filter/source/svg/ |
H A D | svgexport.cxx | 895 const Size aSize( aBoundRect.Width, aBoundRect.Height ); in implExportShape() local 926 … mpSVGWriter->WriteMetaFile( aTopLeft, aSize, rMtf, SVGWRITER_WRITE_FILL ); in implExportShape() 1082 const Size aSize( pObj->GetCurrentBoundRect().GetSize() ); in implCreateObjectsFromShape() local 1084 aMtf.AddAction( new MetaBmpExScaleAction( aNullPt, aSize, aGraphic.GetBitmapEx() ) ); in implCreateObjectsFromShape() 1085 aMtf.SetPrefSize( aSize ); in implCreateObjectsFromShape() 1312 …const Size aSize( OutputDevice::LogicToLogic( rMtf.GetPrefSize(), rMtf.GetPrefMapMode(), M… in writeMtf() local 1319 aAttr = rtl::OUString::valueOf( aSize.Width() ); in writeMtf() 1323 aAttr = rtl::OUString::valueOf( aSize.Height() ); in writeMtf() 1328 aAttr += rtl::OUString::valueOf( aSize.Width() * 100L ); in writeMtf() 1330 aAttr += rtl::OUString::valueOf( aSize.Height() * 100L ); in writeMtf() [all …]
|
/aoo41x/main/sd/source/ui/tools/ |
H A D | PreviewRenderer.cxx | 156 Size aSize (mpPreviewDevice->GetOutputSizePixel()); in RenderPage() local 159 mpPreviewDevice->PixelToLogic(aSize)); in RenderPage() 221 const Size aSize (mpPreviewDevice->GetOutputSizePixel()); in RenderSubstitution() local 224 mpPreviewDevice->PixelToLogic(aSize)); in RenderSubstitution() 505 Size aSize (rBitmapEx.GetSizePixel()); in ScaleBitmap() local 506 if (aSize.Width() <= 0) in ScaleBitmap() 510 (long)((nWidth*1.0 * aSize.Height()) / aSize.Width() + 0.5)); in ScaleBitmap()
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | grfshex.cxx | 115 Size aSize; in InsertMediaDlg() local 126 aSize = pWindow->PixelToLogic( aPrefSize, MAP_TWIP ); in InsertMediaDlg() 128 aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_TWIP ); in InsertMediaDlg() 131 aSize = Size( 2835, 2835 ); in InsertMediaDlg() 133 SdrMediaObj* pObj = new SdrMediaObj( Rectangle( aPos, aSize ) ); in InsertMediaDlg()
|
/aoo41x/main/vcl/source/control/ |
H A D | edit.cxx | 1916 Rectangle aRect( aPos, aSize ); in Draw() 1954 ((nOffX+nTextWidth) > aSize.Width()) ) in Draw() 1956 Rectangle aClip( aPos, aSize ); in Draw() 1957 if ( nTextHeight > aSize.Height() ) in Draw() 1969 aPos.X() += aSize.Width() - nTextWidth; in Draw() 2151 Size aSize = GetOutputSizePixel(); in Command() local 2152 aPos = Point( aSize.Width()/2, aSize.Height()/2 ); in Command() 2863 aSize.Height() += 4; in CalcMinimumSize() 2865 aSize = CalcWindowSize( aSize ); in CalcMinimumSize() 2878 return aSize; in CalcMinimumSize() [all …]
|
/aoo41x/main/embeddedobj/source/msole/ |
H A D | olecomponent.cxx | 1021 awt::Size OleComponent::CalculateWithFactor( const awt::Size& aSize, in CalculateWithFactor() argument 1124 SIZEL aSize = { aVisAreaSize.Width, aVisAreaSize.Height }; in SetExtent() local 1125 HRESULT hr = m_pNativeImpl->m_pOleObject->SetExtent( nMSAspect, &aSize ); in SetExtent() 1145 awt::Size aSize; in GetExtent() local 1200 aSize.Width = ( sal_Int32 )nX; in GetExtent() 1201 aSize.Height = ( sal_Int32 )nY; in GetExtent() 1217 return aSize; in GetExtent() 1227 SIZEL aSize; in GetCachedExtent() local 1243 return awt::Size( aSize.cx, aSize.cy ); in GetCachedExtent() 1253 SIZEL aSize; in GetReccomendedExtent() local [all …]
|
/aoo41x/main/soldep/source/ |
H A D | depper.cxx | 284 Size aSize; in Zoom() local 295 aSize = pWin->PixelToLogic( pWin->GetSizePixel()); in Zoom() 298 aSize = pWin->LogicToPixel( aSize ); in Zoom() 299 pWin->SetPosSizePixel( aPos, aSize ); in Zoom() 308 Size aSize = GetDefSize(); in AddObjectToList() local 311 aSize = GetDepWin()->LogicToPixel( aSize ); in AddObjectToList() 312 return AddObjectToList( pParentWin, pObjLst, LastID, WinCount, rBodyText, aPos, aSize ); in AddObjectToList()
|
/aoo41x/main/sfx2/source/appl/ |
H A D | shutdowniconunx.cxx | 111 Size aSize( pSalBitmap->Width(), pSalBitmap->Height() ); in ResIdToPixbuf() local 112 g_return_val_if_fail( Size( pSalAlpha->Width(), pSalAlpha->Height() ) == aSize, NULL ); in ResIdToPixbuf() 115 guchar *pPixbufData = ( guchar * )g_malloc( 4 * aSize.Width() * aSize.Height() ); in ResIdToPixbuf() 144 aSize.Width(), aSize.Height(), in ResIdToPixbuf() 145 aSize.Width() * 4, in ResIdToPixbuf()
|
/aoo41x/main/sc/source/ui/drawfunc/ |
H A D | fuins1.cxx | 243 Size aSize; in lcl_InsertMedia() local 248 aSize = pWindow->PixelToLogic( rPrefSize, MAP_100TH_MM ); in lcl_InsertMedia() 250 aSize = Application::GetDefaultDevice()->PixelToLogic( rPrefSize, MAP_100TH_MM ); in lcl_InsertMedia() 253 aSize = Size( 5000, 5000 ); in lcl_InsertMedia() 255 ScLimitSizeOnDrawPage( aSize, aInsertPos, pPage->GetSize() ); in lcl_InsertMedia() 258 aInsertPos.X() -= aSize.Width(); in lcl_InsertMedia() 260 SdrMediaObj* pObj = new SdrMediaObj( Rectangle( aInsertPos, aSize ) ); in lcl_InsertMedia()
|
/aoo41x/main/sd/source/ui/table/ |
H A D | tablefunction.cxx | 158 Size aSize( 14100, 200 ); in FuTable() local 164 aPos.X() -= aSize.Width() / 2; in FuTable() 165 aPos.Y() -= aSize.Height() / 2; in FuTable() 166 aRect = Rectangle(aPos, aSize); in FuTable() 267 Size aSize( 200, 200 ); in CreateTableFromRTF() local 269 Rectangle aRect (aPos, aSize); in CreateTableFromRTF()
|
/aoo41x/main/svtools/source/misc/ |
H A D | embedtransfer.cxx | 217 Size aSize; in FillTransferableObjectDescriptor() local 224 aSize = pGraphic->GetPrefSize(); in FillTransferableObjectDescriptor() 227 aSize = Size( 2500, 2500 ); in FillTransferableObjectDescriptor() 235 aSize = Size( aSz.Width, aSz.Height ); in FillTransferableObjectDescriptor() 240 aSize = Size( 5000, 5000 ); in FillTransferableObjectDescriptor() 247 rDesc.maSize = OutputDevice::LogicToLogic( aSize, aMapMode, MapMode( MAP_100TH_MM ) ); in FillTransferableObjectDescriptor()
|
/aoo41x/main/sc/source/ui/app/ |
H A D | client.cxx | 118 Size aSize = pPage->GetSize(); in RequestNewObjectArea() local 119 if ( aSize.Width() < 0 ) in RequestNewObjectArea() 121 aPos.X() = aSize.Width() + 1; // negative in RequestNewObjectArea() 122 aSize.Width() = -aSize.Width(); // positive in RequestNewObjectArea() 124 Rectangle aPageRect( aPos, aSize ); in RequestNewObjectArea()
|
/aoo41x/main/svx/source/xoutdev/ |
H A D | xtabdash.cxx | 149 const Size aSize((rSize.Width() * 5 * 2) / 2, rSize.Height() * nFactor); in ImpCreateBitmapForXDash() local 154 aLine.append(basegfx::B2DPoint(0.0, aSize.Height() / 2.0)); in ImpCreateBitmapForXDash() 155 aLine.append(basegfx::B2DPoint(aSize.Width(), aSize.Height() / 2.0)); in ImpCreateBitmapForXDash() 203 aVirtualDevice.SetOutputSizePixel(aSize); in ImpCreateBitmapForXDash() 215 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG); in ImpCreateBitmapForXDash()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | olinewin.cxx | 232 Size aSize( GetOutputSizePixel() ); in GetOutputSizeLevel() local 233 return mbHoriz ? aSize.Height() : aSize.Width(); in GetOutputSizeLevel() 238 Size aSize( GetOutputSizePixel() ); in GetOutputSizeEntry() local 239 return mbHoriz ? aSize.Width() : aSize.Height(); in GetOutputSizeEntry() 613 Size aSize = GetOutputSizePixel(); in Paint() local 614 long nLevelEnd = (mbHoriz ? aSize.Height() : aSize.Width()) - 1; in Paint() 615 long nEntryEnd = (mbHoriz ? aSize.Width() : aSize.Height()) - 1; in Paint()
|
/aoo41x/main/svtools/source/control/ |
H A D | calendar.cxx | 2621 Size aSize; in CalcWindowSizePixel() local 2629 aSize.Width() += MONTH_BORDERX*2; in CalcWindowSizePixel() 2630 aSize.Width() *= nCalcMonthPerLine; in CalcWindowSizePixel() 2633 aSize.Height() += nTextHeight + WEEKDAY_OFFY; in CalcWindowSizePixel() 2635 aSize.Height() += MONTH_OFFY; in CalcWindowSizePixel() 2636 aSize.Height() *= nCalcLines; in CalcWindowSizePixel() 2638 return aSize; in CalcWindowSizePixel() 2705 Size aSize; in EnableTodayBtn() local 2710 mpTodayBtn->SetSizePixel( aSize ); in EnableTodayBtn() 2737 Size aSize; in EnableNoneBtn() local [all …]
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterScrollBar.cxx | 885 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 887 0, nBottom - aSize.Height, aWindowBox.Width, nBottom); in UpdateBorders() 888 nBottom -= aSize.Height + gnScrollBarGap; in UpdateBorders() 896 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 899 nBottom -= aSize.Height + gnScrollBarGap; in UpdateBorders() 1108 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 1110 nRight - aSize.Width,0, nRight, aWindowBox.Height); in UpdateBorders() 1111 nRight -= aSize.Width + nGap; in UpdateBorders() 1119 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 1121 nRight - aSize.Width,0, nRight, aWindowBox.Height); in UpdateBorders() [all …]
|
/aoo41x/main/sfx2/source/dialog/ |
H A D | dinfdlg.cxx | 1692 Size aSize( GetSizePixel() ); in RequestHelp() local 1748 Size aSize = m_aYesButton.GetSizePixel(); in Resize() local 1750 aSize.Width() = nNewWidth; in Resize() 1751 m_aYesButton.SetSizePixel( aSize ); in Resize() 2021 aSize.Width() = nWidth; in InitControls() 2029 Size aDurationSize(aSize); in InitControls() 2036 aSize.Width() = nWidth; in InitControls() 2039 aSize.Width() /= 2; in InitControls() 2040 aSize.Width() -= 2; in InitControls() 2042 aPos.X() += aSize.Width() + 4; in InitControls() [all …]
|
/aoo41x/main/wizards/com/sun/star/wizards/document/ |
H A D | Shape.java | 51 protected Size aSize; field in Shape 59 this.aSize = _aSize; in Shape() 69 this.aSize = _aSize; in Shape() 93 if (aSize != null) in createShape() 95 xShape.setSize(aSize); in createShape()
|