Home
last modified time | relevance | path

Searched refs:aImageSize (Results 1 – 25 of 30) sorted by relevance

12

/trunk/main/vcl/source/control/
H A Dbutton.cxx395 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 Dtabctrl.cxx287 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 Dthrobber.cxx181 const Size aImageSize = (*check)[0].GetSizePixel(); in initImages() local
183 if ( ( aImageSize.Width() > aWindowSizePixel.Width() ) in initImages()
184 || ( aImageSize.Height() > aWindowSizePixel.Height() ) in initImages()
190 …( aWindowSizePixel.Width() - aImageSize.Width() ) * ( aWindowSizePixel.Width() - aImageSize.Width(… in initImages()
191 …+ ( aWindowSizePixel.Height() - aImageSize.Height() ) * ( aWindowSizePixel.Height() - aImageSize in initImages()
/trunk/main/svtools/source/control/
H A Dheadbar.cxx414 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 Dctrlbox.cxx72 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 Dvalueset.cxx307 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()
/trunk/main/vcl/source/window/
H A Dmsgbox.cxx251 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 …]
/trunk/main/reportdesign/source/ui/report/
H A DStartMarker.cxx246 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()
/trunk/main/svtools/source/brwbox/
H A Deditbrowsebox.cxx382 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()
/trunk/main/canvas/source/tools/
H A Dsurfaceproxy.cxx45 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()
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsButtonBar.cxx1041 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()
/trunk/main/padmin/source/
H A Dtitlectrl.cxx51 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()
/trunk/main/svtools/source/contnr/
H A Dimivctl1.cxx113 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 …]
/trunk/main/cui/source/dialogs/
H A Dhangulhanjadlg.cxx254 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 Dthesdlg.cxx607 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 DSpellDialog.cxx484 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()
/trunk/main/dbaccess/source/ui/querydesign/
H A DTableWindow.cxx508 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()
/trunk/main/filter/source/pdf/
H A Dimpdialog.cxx1530 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()
/trunk/main/sd/source/ui/view/
H A Doutlview.cxx1957 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()
/trunk/main/sw/source/ui/uiview/
H A Dview2.cxx2283 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()
/trunk/main/sfx2/source/dialog/
H A Dbasedlgs.cxx863 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()
/trunk/main/svtools/source/toolpanel/
H A Dpaneltabbar.cxx639 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()
/trunk/main/desktop/source/deployment/gui/
H A Ddp_gui_extlistbox.cxx552 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()
/trunk/main/svtools/inc/svtools/
H A Dctrlbox.hxx164 Size aImageSize; member in ColorListBox
193 Size GetImageSize() const { return aImageSize; } in GetImageSize()
/trunk/main/sfx2/source/sidebar/
H A DSidebarController.cxx1170 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()

Completed in 209 milliseconds

12