/trunk/main/reportdesign/source/ui/report/ |
H A D | EndMarker.cxx | 58 Size aSize = GetSizePixel(); in Paint() local 59 aSize.Width() += nCornerSpace; in Paint() 60 Rectangle aWholeRect(Point(-nCornerSpace,0),aSize); in Paint() 73 aGradient.SetSteps(static_cast<sal_uInt16>(aSize.Height())); in Paint() 79 Size(aSize.Width()- nCornerSpace,aSize.Height() - nCornerSpace- nCornerSpace)); in Paint()
|
/trunk/main/svx/source/engine3d/ |
H A D | sphere3d.cxx | 75 aSize = r3DSize; in E3dSphereObj() 107 aSize = rDefault.GetDefaultSphereSize(); in SetDefaultAttributes() 164 aSize = r3DObj.aSize; in operator =() 184 if(aSize != rNew) in SetSize() 186 aSize = rNew; in SetSize()
|
/trunk/main/basebmp/test/ |
H A D | bmpmasktest.cxx | 106 const basegfx::B2ISize aSize(10,10); in SetUp() local 107 mpDevice1bpp = createBitmapDevice( aSize, in SetUp() 110 mpDevice32bpp = createBitmapDevice( aSize, in SetUp() 114 mpMaskBmp1bpp = createBitmapDevice( aSize, in SetUp() 118 mpBmp1bpp = createBitmapDevice( aSize, in SetUp() 121 mpBmp32bpp = createBitmapDevice( aSize, in SetUp()
|
/trunk/main/sd/source/ui/view/ |
H A D | sdview4.cxx | 182 Size aSize; in InsertGraphic() local 194 aSize = pOutDev->PixelToLogic( rGraphic.GetPrefSize(), MAP_100TH_MM ); in InsertGraphic() 198 aSize = OutputDevice::LogicToLogic( rGraphic.GetPrefSize(), in InsertGraphic() 203 pNewGrafObj = new SdrGrafObj( rGraphic, Rectangle( rPos, aSize ) ); in InsertGraphic() 508 Size aSize( aSz.Width, aSz.Height ); in IMPL_LINK() local 511 if (!aSize.Width() || !aSize.Height()) in IMPL_LINK() 513 aSize.Width() = 1410; in IMPL_LINK() 514 aSize.Height() = 1000; in IMPL_LINK() 517 aRect = Rectangle( maDropPos, aSize ); in IMPL_LINK()
|
H A D | sdwindow.cxx | 494 Size aSize = PixelToLogic(GetOutputSizePixel()); in SetZoomIntegral() local 495 long nW = aSize.Width() * GetZoom() / nZoom; in SetZoomIntegral() 496 long nH = aSize.Height() * GetZoom() / nZoom; in SetZoomIntegral() 497 maWinPos.X() += (aSize.Width() - nW) / 2; in SetZoomIntegral() 498 maWinPos.Y() += (aSize.Height() - nH) / 2; in SetZoomIntegral() 1119 Size aSize = GetOutputSizePixel(); in DropScroll() local 1121 if (aSize.Width() > SCROLL_SENSITIVE * 3) in DropScroll() 1128 if ( rMousePos.X() >= aSize.Width() - SCROLL_SENSITIVE ) in DropScroll() 1134 if (aSize.Height() > SCROLL_SENSITIVE * 3) in DropScroll() 1141 if ( rMousePos.Y() >= aSize.Height() - SCROLL_SENSITIVE ) in DropScroll()
|
/trunk/main/chart2/source/controller/chartapiwrapper/ |
H A D | WrappedSymbolProperties.cxx | 428 awt::Size aSize = aDefaultSize; in lcl_correctSymbolSizeForBitmaps() local 435 if( (xProp->getPropertyValue( C2U( "Size100thMM" ) ) >>= aSize) ) in lcl_correctSymbolSizeForBitmaps() 437 if( aSize.Width == 0 && aSize.Height == 0 ) in lcl_correctSymbolSizeForBitmaps() 438 aSize = aDefaultSize; in lcl_correctSymbolSizeForBitmaps() 455 aSize = awt::Size( aNewSize.Width(), aNewSize.Height() ); in lcl_correctSymbolSizeForBitmaps() 457 if( aSize.Width == 0 && aSize.Height == 0 ) in lcl_correctSymbolSizeForBitmaps() 458 aSize = aDefaultSize; in lcl_correctSymbolSizeForBitmaps() 462 rSymbol.Size = aSize; in lcl_correctSymbolSizeForBitmaps()
|
/trunk/main/filter/source/graphicfilter/eps/ |
H A D | eps.cxx | 789 ImplBmp( &aBitmap, NULL, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 800 ImplBmp( &aBitmap, NULL, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 813 ImplBmp( &aBitmap, NULL, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 826 ImplBmp( &aBitmap, &aMask, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 839 ImplBmp( &aBitmap, &aMask, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 854 ImplBmp( &aBitmap, &aMask, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 1142 Size aSize = ( (const MetaEPSAction*) pMA )->GetSize(); in ImplWriteActions() local 2146 Size aSize = maFont.GetSize(); in ImplSetAttrForText() local 2160 aSize = maFont.GetSize(); in ImplSetAttrForText() 2161 ImplWriteDouble( aSize.Height() ); in ImplSetAttrForText() [all …]
|
/trunk/main/xmloff/source/chart/ |
H A D | PropertyMaps.cxx | 432 awt::Size aSize; in handleSpecialItem() local 433 rProperty.maValue >>= aSize; in handleSpecialItem() 436 ? aSize.Width in handleSpecialItem() 437 : aSize.Height ); in handleSpecialItem() 580 awt::Size aSize; in handleSpecialItem() local 581 rProperty.maValue >>= aSize; in handleSpecialItem() 583 ? aSize.Width in handleSpecialItem() 584 : aSize.Height, in handleSpecialItem() 586 rProperty.maValue <<= aSize; in handleSpecialItem()
|
/trunk/main/editeng/source/uno/ |
H A D | unofored.cxx | 343 Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() ); in GetCharBounds() local 344 ::std::swap( aSize.Width(), aSize.Height() ); in GetCharBounds() 362 aLast = SvxEditSourceHelper::EEToUserSpace( aLast, aSize, bIsVertical ); in GetCharBounds() 382 aSize, bIsVertical ); in GetCharBounds() 427 Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() ); in GetIndexAtPoint() local 428 ::std::swap( aSize.Width(), aSize.Height() ); in GetIndexAtPoint() 430 aSize, in GetIndexAtPoint()
|
/trunk/main/editeng/source/items/ |
H A D | paperinf.cxx | 91 Size aSize( GetPaperSize( ePaper ) ); in GetPaperSize() local 94 Swap( aSize ); in GetPaperSize() 95 return aSize; in GetPaperSize() 102 …Size aSize(eUnit == MAP_100TH_MM ? rSize : OutputDevice::LogicToLogic(rSize, eUnit, MAP_100TH_MM)); in GetSvxPaper() local 103 PaperInfo aInfo(aSize.Width(), aSize.Height()); in GetSvxPaper()
|
/trunk/main/sc/source/ui/view/ |
H A D | hdrcont.cxx | 92 Size aSize = LogicToPixel( Size( in ScHeaderControl() local 95 aSize.Width() += 4; // Platz fuer hervorgehobene Umrandung in ScHeaderControl() 96 aSize.Height() += 3; in ScHeaderControl() 97 SetSizePixel( aSize ); in ScHeaderControl() 99 nWidth = nSmallWidth = aSize.Width(); in ScHeaderControl() 111 Size aSize( nNew, GetSizePixel().Height() ); // Hoehe nicht aendern in SetWidth() local 112 SetSizePixel( aSize ); in SetWidth() 617 Size aSize = GetOutputSizePixel(); in GetMousePos() local 618 long nWinSize = bVertical ? aSize.Height() : aSize.Width(); in GetMousePos() 951 Size aSize = GetSizePixel(); in ShowDragHelp() local [all …]
|
/trunk/main/sd/source/ui/controller/ |
H A D | slidelayoutcontroller.cxx | 230 Size aSize( mpLayoutSet1->GetOutputSizePixel() ); in LayoutToolbarMenu() local 231 aSize.Width() += (mpLayoutSet1->GetColCount() + 1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 232 aSize.Height() += (mpLayoutSet1->GetLineCount() +1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 233 mpLayoutSet1->SetOutputSizePixel( aSize ); in LayoutToolbarMenu() 251 aSize = mpLayoutSet2->GetOutputSizePixel(); in LayoutToolbarMenu() 252 aSize.Width() += (mpLayoutSet2->GetColCount() + 1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 253 aSize.Height() += (mpLayoutSet2->GetLineCount() + 1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 254 mpLayoutSet2->SetOutputSizePixel( aSize ); in LayoutToolbarMenu()
|
/trunk/main/sd/source/ui/docshell/ |
H A D | docshel2.cxx | 178 Size aSize = mpDoc->GetSdPage(0, PK_STANDARD)->GetSize(); in GetVisArea() local 181 aSize = Application::GetDefaultDevice()->LogicToLogic(aSize, &aSrcMapMode, &aDstMapMode); in GetVisArea() 182 aVisArea.SetSize(aSize); in GetVisArea() 265 const Size aSize( pPage->GetSize() ); in GetPagePreviewBitmap() local 271 const Size aPixSize( aVDev.LogicToPixel( aSize ) ); in GetPagePreviewBitmap() 278 aVDev.SetOutputSize( aSize ); in GetPagePreviewBitmap() 338 pView->CompleteRedraw( &aVDev, Rectangle( aNullPt, aSize ) ); in GetPagePreviewBitmap()
|
/trunk/main/avmedia/source/macavf/ |
H A D | macavf_player.cxx | 379 awt::Size aSize( 0, 0 ); // default size in getPreferredPlayerWindowSize() local 387 aSize = awt::Size( aPrefSize.width, aPrefSize.height ); in getPreferredPlayerWindowSize() 390 return aSize; in getPreferredPlayerWindowSize() 399 const awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local 400 …OSL_TRACE( "Player::createPlayerWindow %dx%d argsLength: %d", aSize.Width, aSize.Height, aArgument… in createPlayerWindow() 409 if( (aSize.Width <= 0) || (aSize.Height <= 0) || (pParentView == NULL) ) in createPlayerWindow()
|
/trunk/main/fpicker/source/win32/filepicker/ |
H A D | PreviewCtrl.cxx | 208 const CDimension& aSize, in createInstance() argument 218 aParent, ulCorner, aSize, hInstance, bShow, bEnabled ); in createInstance() 243 const CDimension& aSize, in CFilePreview() argument 279 aSize.m_cx, in CFilePreview() 280 aSize.m_cy, in CFilePreview() 307 sal_Bool SAL_CALL CFilePreview::setSize( const CDimension& aSize ) in setSize() argument 317 aSize.m_cx, in setSize() 318 aSize.m_cy, in setSize()
|
/trunk/main/desktop/source/splash/ |
H A D | splash.cxx | 184 Size aSize = _aIntroBmp.GetSizePixel(); in initialize() local 185 SetOutputSizePixel( aSize ); in initialize() 186 _vdev.SetOutputSizePixel( aSize ); in initialize() 187 _height = aSize.Height(); in initialize() 188 _width = aSize.Width(); in initialize() 206 _tlx = sal_Int32( double( aSize.Width() ) * _fXPos ); in initialize() 207 _tly = sal_Int32( double( aSize.Height() ) * _fYPos ); in initialize() 210 _barwidth = sal_Int32( double( aSize.Width() ) * _fWidth ); in initialize() 212 _barheight = sal_Int32( double( aSize.Width() ) * _fHeight ); in initialize() 705 Size aSize = GetOutputSizePixel(); in Paint() local
|
/trunk/main/filter/source/pdf/ |
H A D | impdialog.cxx | 458 Size aSize = maCbExportEmptyPages.GetSizePixel(); in ImpPDFTabGeneralPage() local 460 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabGeneralPage() 1071 Size aSize = maRbChangesComment.GetSizePixel(); in ImpPDFTabSecurityPage() local 1073 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabSecurityPage() 1298 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1301 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1308 aSize = maCbOOoToPDFTargets.GetSizePixel(); in ImpPDFTabLinksPage() 1310 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1313 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1322 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter_impl2.cxx | 82 Size aSize( i_rSize ); in implWriteBitmapEx() local 88 if( aSize.Width() < 0 ) in implWriteBitmapEx() 90 aSize.Width() *= -1; in implWriteBitmapEx() 91 aPoint.X() -= aSize.Width(); in implWriteBitmapEx() 94 if( aSize.Height() < 0 ) in implWriteBitmapEx() 96 aSize.Height() *= -1; in implWriteBitmapEx() 97 aPoint.Y() -= aSize.Height(); in implWriteBitmapEx() 249 m_rOuterFace.DrawBitmapEx( aPoint, aSize, aBitmapEx ); in implWriteBitmapEx() 251 m_rOuterFace.DrawBitmap( aPoint, aSize, aBitmapEx.GetBitmap() ); in implWriteBitmapEx() 789 Size aSize( OutputDevice::LogicToLogic( aBitmapEx.GetPrefSize(), in playMetafile() local [all …]
|
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 …]
|
/trunk/main/sd/source/ui/slidesorter/cache/ |
H A D | SlsBitmapCompressor.cxx | 133 Size aSize (rBitmap.GetSizePixel()); in Compress() local 134 pResult->maOriginalSize = aSize; in Compress() 135 if (aSize.Width()>0 && aSize.Width()<mnWidth) in Compress() 137 int nHeight = aSize.Height() * mnWidth / aSize.Width() ; in Compress()
|
/trunk/main/sd/source/filter/html/ |
H A D | buttonset.cxx | 208 Size aSize; in getPreview() local 219 aSize.Width() += aGraphicSize.Width(); in getPreview() 221 if( aSize.Height() < aGraphicSize.Height() ) in getPreview() 222 aSize.Height() = aGraphicSize.Height(); in getPreview() 225 aSize.Width() += 3; in getPreview() 228 aDev.SetOutputSizePixel( aSize ); in getPreview() 242 rImage = Image( aDev.GetBitmapEx( Point(), aSize ) ); in getPreview()
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salvd.cxx | 165 const CGSize aSize = CGLayerGetSize( mxLayer ); in SetSize() local 166 if( (nDX == aSize.width) && (nDY == aSize.height) ) in SetSize() 250 const CGSize aSize = CGLayerGetSize( mxLayer ); in GetSize() local 251 rWidth = static_cast<long>(aSize.width); in GetSize() 252 rHeight = static_cast<long>(aSize.height); in GetSize()
|
/trunk/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()
|
/trunk/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()
|
/trunk/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()
|