/aoo42x/main/vcl/source/control/ |
H A D | button.cxx | 395 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawAlignedImage() 396 aImageSize.Height() = CalcZoom( aImageSize.Height() ); in ImplDrawAlignedImage() 433 aImageSize = PixelToLogic( aImageSize, aMap100thMM ); in ImplDrawAlignedImage() 2221 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawRadioButtonState() 2438 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawRadioButton() 2439 aImageSize.Height() = CalcZoom( aImageSize.Height() ); in ImplDrawRadioButton() 2748 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in Draw() 3498 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawCheckBox() 3499 aImageSize.Height() = CalcZoom( aImageSize.Height() ); in ImplDrawCheckBox() 3692 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in Draw() [all …]
|
H A D | tabctrl.cxx | 287 Size aImageSize( 0, 0 ); in ImplGetItemSize() local 292 aImageSize.Width() += GetTextHeight()/4; in ImplGetItemSize() 294 aSize.Width() += aImageSize.Width(); in ImplGetItemSize() 295 if( aImageSize.Height() > aSize.Height() ) in ImplGetItemSize() 296 aSize.Height() = aImageSize.Height(); in ImplGetItemSize() 328 aSize.Width() += aImageSize.Width(); in ImplGetItemSize() 342 aSize.Height() = aImageSize.Height()+4; in ImplGetItemSize() 706 Size aImageSize( 0, 0 ); in ImplShowFocus() local 720 aImageSize.Width() += GetTextHeight()/4; in ImplShowFocus() 726 …aRect.Left() = aRect.Left()+aImageSize.Width()+((aTabSize.Width()-nTextWidth-aImageSize.Width())… in ImplShowFocus() [all …]
|
H A D | throbber.cxx | 179 const Size aImageSize = (*check)[0].GetSizePixel(); in initImages() local 181 if ( ( aImageSize.Width() > aWindowSizePixel.Width() ) in initImages() 182 || ( aImageSize.Height() > aWindowSizePixel.Height() ) in initImages() 188 …( aWindowSizePixel.Width() - aImageSize.Width() ) * ( aWindowSizePixel.Width() - aImageSize.Width(… in initImages() 189 …+ ( aWindowSizePixel.Height() - aImageSize.Height() ) * ( aWindowSizePixel.Height() - aImageSize… in initImages()
|
/aoo42x/main/svtools/source/control/ |
H A D | headbar.cxx | 414 aImageSize.Width() = 0; in ImplDrawItem() 415 aImageSize.Height() = 0; in ImplDrawItem() 448 nTxtPos -= aImageSize.Width(); in ImplDrawItem() 457 nTxtPos += aImageSize.Width(); in ImplDrawItem() 464 nTxtPos += aImageSize.Width(); in ImplDrawItem() 472 nTxtPos += aImageSize.Width(); in ImplDrawItem() 518 if ( aImageSize.Width() && aImageSize.Height() ) in ImplDrawItem() 523 nImagePos -= aImageSize.Width(); in ImplDrawItem() 577 nArrowX -= aImageSize.Width(); in ImplDrawItem() 579 nArrowX += aImageSize.Width(); in ImplDrawItem() [all …]
|
H A D | ctrlbox.cxx | 72 aImageSize = rStyleSettings.GetListBoxPreviewDefaultPixelSize(); in DECLARE_LIST() 74 SetUserItemSize( aImageSize ); in DECLARE_LIST() 220 aPos.Y() += ( rUDEvt.GetRect().GetHeight() - aImageSize.Height() ) / 2; in UserDraw() 222 const Rectangle aRect(aPos, aImageSize); in UserDraw()
|
H A D | valueset.cxx | 307 Size aImageSize = pItem->maImage.GetSizePixel(); in ImplFormatItem() local 310 aPos.X() += (aRectSize.Width()-aImageSize.Width())/2; in ImplFormatItem() 311 aPos.Y() += (aRectSize.Height()-aImageSize.Height())/2; in ImplFormatItem() 317 if ( (aImageSize.Width() > aRectSize.Width()) || in ImplFormatItem() 318 (aImageSize.Height() > aRectSize.Height()) ) in ImplFormatItem()
|
/aoo42x/main/vcl/source/window/ |
H A D | msgbox.cxx | 251 Size aImageSize; in ImplPosControls() local 300 aImageSize = maImage.GetSizePixel(); in ImplPosControls() 301 if ( aImageSize.Width() ) in ImplPosControls() 303 aImageSize.Width() += 4; in ImplPosControls() 304 aImageSize.Height() += 4; in ImplPosControls() 309 aImageSize ); in ImplPosControls() 347 aPageSize.Width() = aImageSize.Width(); in ImplPosControls() 350 if ( aFixedSize.Height() < aImageSize.Height() ) in ImplPosControls() 353 aPageSize.Height() = aImageSize.Height(); in ImplPosControls() 354 aFixedSize.Height() = aImageSize.Height(); in ImplPosControls() [all …]
|
/aoo42x/main/reportdesign/source/ui/report/ |
H A D | StartMarker.cxx | 246 Size aImageSize = m_aImage.GetImage().GetSizePixel(); in Resize() local 248 aImageSize.Width() = long(aImageSize.Width() * (double)rMapMode.GetScaleX()); in Resize() 249 aImageSize.Height() = long(aImageSize.Height() * (double)rMapMode.GetScaleY()); in Resize() 254 Point aPos(aImageSize.Width() + (long)(aExtraWidth + aExtraWidth), aExtraWidth); in Resize() 259 …t<sal_Int32>((LogicToPixel(Size(0,m_aText.GetTextHeight())).Height() - aImageSize.Height()) * 0.5)… in Resize() 260 m_aImage.SetPosSizePixel(aPos,aImageSize); in Resize()
|
/aoo42x/main/svtools/source/brwbox/ |
H A D | editbrowsebox.cxx | 382 Size aImageSize(aImage.GetSizePixel()); in PaintStatusCell() local 383 aImageSize.Width() = CalcZoom(aImageSize.Width()); in PaintStatusCell() 384 aImageSize.Height() = CalcZoom(aImageSize.Height()); in PaintStatusCell() 387 if ( ( aImageSize.Width() > rRect.GetWidth() ) || ( aImageSize.Height() > rRect.GetHeight() ) ) in PaintStatusCell() 390 if ( aImageSize.Width() < rRect.GetWidth() ) in PaintStatusCell() 391 aPos.X() += ( rRect.GetWidth() - aImageSize.Width() ) / 2; in PaintStatusCell() 393 if ( aImageSize.Height() < rRect.GetHeight() ) in PaintStatusCell() 394 aPos.Y() += ( rRect.GetHeight() - aImageSize.Height() ) / 2; in PaintStatusCell() 397 rDev.DrawImage( aPos, aImageSize, aImage, 0 ); in PaintStatusCell()
|
/aoo42x/main/canvas/source/tools/ |
H A D | surfaceproxy.cxx | 45 const ::basegfx::B2ISize aImageSize(mpBuffer->getWidth(),mpBuffer->getHeight()); in SurfaceProxy() local 49 const sal_Int32 aImageSizeX(aImageSize.getX()); in SurfaceProxy() 50 const sal_Int32 aImageSizeY(aImageSize.getY()); in SurfaceProxy() 75 ::basegfx::B2ISize aSize( ::std::min( aImageSize.getX()-x, in SurfaceProxy() 77 ::std::min( aImageSize.getY()-y, in SurfaceProxy()
|
/aoo42x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsButtonBar.cxx | 1041 Size aImageSize (mpTheme->GetIcon(Theme::Icon_ButtonBarLarge).GetSizePixel()); in Layout() local 1042 if (aImageSize.Width() >= maPreviewBoundingBox.GetWidth()) in Layout() 1044 aImageSize = mpTheme->GetIcon(Theme::Icon_ButtonBarMedium).GetSizePixel(); in Layout() 1045 if (aImageSize.Width() >= maPreviewBoundingBox.GetWidth()) in Layout() 1048 aImageSize = mpTheme->GetIcon(Theme::Icon_ButtonBarSmall).GetSizePixel(); in Layout() 1060 + (maPreviewBoundingBox.GetWidth()-aImageSize.Width())/2, in Layout() 1061 maPreviewBoundingBox.Bottom() - aImageSize.Height()); in Layout() 1062 maButtonArea = Rectangle(maBackgroundLocation, aImageSize); in Layout()
|
/aoo42x/main/padmin/source/ |
H A D | titlectrl.cxx | 51 Size aImageSize( m_aImage.GetSizePixel() ); in arrange() local 54 m_aImagePos.Y() = ( aCtrlSize.Height() - aImageSize.Height() ) / 2; in arrange() 56 m_aTextPos.X() = m_aImagePos.X() + aImageSize.Width() + aTextSize.Height()/2; in arrange()
|
/aoo42x/main/svtools/source/contnr/ |
H A D | imivctl1.cxx | 113 aImageSize( 32, 32 ), in SvxIconChoiceCtrl_Impl() 2247 return Rectangle( aPos, aImageSize ); in CalcBmpRect() 2289 aPos.Y() += aImageSize.Height(); in CalcTextRect() 2296 aImageSize.Width(); in CalcTextRect() 2313 aPos.X() += aImageSize.Width(); in CalcTextRect() 2336 nWidth = aImageSize.Width(); in CalcBoundingWidth() 2352 nHeight = aImageSize.Height(); in CalcBoundingHeight() 2991 Size aMinSize( aImageSize ); in GetMinGrid() 3080 nDY -= aImageSize.Height(); in SetDefaultTextSize() 3137 return aImageSize; in GetItemSize() [all …]
|
/aoo42x/main/cui/source/dialogs/ |
H A D | hangulhanjadlg.cxx | 254 Size aImageSize = GetRadioImage( GetSettings(), 0 ).GetSizePixel(); in Paint() local 255 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in Paint() 256 aImageSize.Height() = CalcZoom( aImageSize.Height() ); in Paint() 259 …aOverallRect.Left() += aImageSize.Width() + 4; // 4 is the separator between the image and the text in Paint() 298 Rectangle aImageLocation( Point( 0, 0 ), aImageSize ); in Paint() 300 aImageLocation.Top() = aPrimaryTextLocation.Top() + ( nTextHeight - aImageSize.Height() ) / 2; in Paint() 301 aImageLocation.Bottom() = aImageLocation.Top() + aImageSize.Height(); in Paint()
|
H A D | thesdlg.cxx | 607 Size aImageSize = pThis->aVendorImageFI.GetImage().GetSizePixel(); in IMPL_STATIC_LINK() local 608 if (aImageSize.Height()) in IMPL_STATIC_LINK() 610 aVendorSize.Height() = aImageSize.Height(); in IMPL_STATIC_LINK() 611 if(aVendorSize.Width() < aImageSize.Width()) in IMPL_STATIC_LINK() 612 aVendorSize.Width() = aImageSize.Width(); in IMPL_STATIC_LINK()
|
H A D | SpellDialog.cxx | 484 Size aImageSize = pThis->aVendorImageFI.GetImage().GetSizePixel(); in IMPL_STATIC_LINK() local 485 if( aImageSize.Height() ) in IMPL_STATIC_LINK() 487 aVendorSize.Height() = aImageSize.Height(); in IMPL_STATIC_LINK() 488 if(aVendorSize.Width() < aImageSize.Width()) in IMPL_STATIC_LINK() 489 aVendorSize.Width() = aImageSize.Width(); in IMPL_STATIC_LINK()
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindow.cxx | 508 Size aImageSize( m_aTypeImage.GetImage().GetSizePixel() ); in Resize() local 509 m_aTypeImage.SetSizePixel( aImageSize ); in Resize() 511 if ( nTitleHeight < aImageSize.Height() ) in Resize() 512 nTitleHeight = aImageSize.Height(); in Resize() 514 nPositionX += aImageSize.Width() + CalcZoom( 2 ); in Resize()
|
/aoo42x/main/filter/source/pdf/ |
H A D | impdialog.cxx | 1530 Size aImageSize( aWarnImage.GetSizePixel() ); in ImplErrorDialog() local 1532 aImageSize.Width() += 6; in ImplErrorDialog() 1533 aImageSize.Height() += 6; in ImplErrorDialog() 1535 maFI.SetPosSizePixel( Point( 5, 5 ), aImageSize ); in ImplErrorDialog() 1539 maProcessText.SetPosSizePixel( Point( aImageSize.Width() + 10, 5 ), in ImplErrorDialog() 1540 … Size( aDlgSize.Width() - aImageSize.Width() - 15, aImageSize.Height() ) ); in ImplErrorDialog() 1542 Point aErrorLBPos( 5, aImageSize.Height() + 10 ); in ImplErrorDialog()
|
/aoo42x/main/sd/source/ui/view/ |
H A D | outlview.cxx | 1957 Size aImageSize( pInfo->mpOutDev->PixelToLogic( maSlideImage.GetSizePixel() ) ); in IMPL_LINK() local 1991 const float fImageRatio = (float)aImageSize.Height() / (float)aImageSize.Width(); in IMPL_LINK() 1992 aImageSize.Width() = (long)( fImageRatio * fImageHeight ); in IMPL_LINK() 1993 aImageSize.Height() = (long)( fImageHeight ); in IMPL_LINK() 1996 aImagePos.X() += aOutSize.Width() - aImageSize.Width() - aOffset.Width() ; in IMPL_LINK() 1997 aImagePos.Y() += (aOutSize.Height() - aImageSize.Height()) / 2; in IMPL_LINK() 1999 pInfo->mpOutDev->DrawImage( aImagePos, aImageSize, maSlideImage ); in IMPL_LINK()
|
/aoo42x/main/sw/source/ui/uiview/ |
H A D | view2.cxx | 2283 Size aImageSize( rImg.GetSizePixel() ); in SwMergeSourceWarningBox_Impl() local 2284 aImageSize.Width() += 4; in SwMergeSourceWarningBox_Impl() 2285 aImageSize.Height() += 4; in SwMergeSourceWarningBox_Impl() 2286 aWarnImage.SetSizePixel( aImageSize ); in SwMergeSourceWarningBox_Impl() 2288 aImageSize.Width() += aWarnImage.GetPosPixel().X(); in SwMergeSourceWarningBox_Impl() 2290 aSz.Width() += aImageSize.Width(); in SwMergeSourceWarningBox_Impl() 2294 aPos.X() += aImageSize.Width(); in SwMergeSourceWarningBox_Impl() 2298 aPos.X() += aImageSize.Width(); in SwMergeSourceWarningBox_Impl() 2301 aPos.X() += aImageSize.Width(); in SwMergeSourceWarningBox_Impl()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | basedlgs.cxx | 863 Size aImageSize = aInfoImage.GetSizePixel(); in SetPage() local 864 aImageSize.Width() += 4; in SetPage() 865 aImageSize.Height() += 4; in SetPage() 866 pImpl->m_pInfoImage->SetSizePixel( aImageSize ); in SetPage()
|
/aoo42x/main/svtools/source/toolpanel/ |
H A D | paneltabbar.cxx | 639 const Size aImageSize( aItemImage.GetSizePixel() ); in impl_renderItemContent() local 647 … aImagePos.X() = aRenderArea.Left() + ( aRenderArea.GetWidth() - aImageSize.Width() ) / 2; in impl_renderItemContent() 653 … aImagePos.Y() = aRenderArea.Top() + ( aRenderArea.GetHeight() - aImageSize.Height() ) / 2; in impl_renderItemContent() 666 aRenderArea.Top() += aImageSize.Height() + ITEM_ICON_TEXT_DISTANCE; in impl_renderItemContent() 672 aRenderArea.Left() += aImageSize.Width() + ITEM_ICON_TEXT_DISTANCE; in impl_renderItemContent()
|
/aoo42x/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 552 Size aImageSize = aImage.GetSizePixel(); in DrawRow() local 553 if ( ( aImageSize.Width() <= ICON_WIDTH ) && ( aImageSize.Height() <= ICON_HEIGHT ) ) in DrawRow() 554 …DrawImage( Point( aPos.X()+((ICON_WIDTH-aImageSize.Width())/2), aPos.Y()+((ICON_HEIGHT-aImageSize.… in DrawRow()
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | ctrlbox.hxx | 164 Size aImageSize; member in ColorListBox 193 Size GetImageSize() const { return aImageSize; } in GetImageSize()
|
/aoo42x/main/sfx2/source/sidebar/ |
H A D | SidebarController.cxx | 1170 const Size aImageSize (mpCloseIndicator->GetSizePixel()); in UpdateCloseIndicator() local 1173 aWindowSize.Width() - TabBar::GetDefaultWidth() - aImageSize.Width(), in UpdateCloseIndicator() 1174 (aWindowSize.Height() - aImageSize.Height())/2)); in UpdateCloseIndicator()
|