Home
last modified time | relevance | path

Searched refs:aBoundRect (Results 1 – 25 of 47) sorted by relevance

12

/AOO41X/main/sw/source/ui/frmdlg/
H A Dfrmmgr.cxx283 SwRect aBoundRect; in ValidateMetrics() local
288 pOwnSh->CalcBoundRect( aBoundRect, eAnchorType, in ValidateMetrics()
302 Point aPos(aBoundRect.Pos()); in ValidateMetrics()
306 Size aSize(aBoundRect.SSize()); in ValidateMetrics()
310 aBoundRect.Chg( aPos, aSize ); in ValidateMetrics()
319 rVal.nMinHPos = aBoundRect.Left(); in ValidateMetrics()
320 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics()
324 if (rVal.nHPos + rVal.nWidth > aBoundRect.Right()) in ValidateMetrics()
328 rVal.nHPos -= ((rVal.nHPos + rVal.nWidth) - aBoundRect.Right()); in ValidateMetrics()
332 rVal.nWidth = aBoundRect.Right() - rVal.nHPos; in ValidateMetrics()
[all …]
/AOO41X/main/sw/source/ui/shells/
H A Ddrwbassh.cxx824 SwRect aBoundRect; in IMPL_LINK() local
839 pSh->CalcBoundRect( aBoundRect, eAnchorType, in IMPL_LINK()
854 Point aPos(aBoundRect.Pos()); in IMPL_LINK()
858 Size aSize(aBoundRect.SSize()); in IMPL_LINK()
862 aBoundRect.Chg( aPos, aSize ); in IMPL_LINK()
871 pValidation->nMinHPos = aBoundRect.Left(); in IMPL_LINK()
872 pValidation->nMinVPos = aBoundRect.Top(); in IMPL_LINK()
876 if (pValidation->nHPos + pValidation->nWidth > aBoundRect.Right()) in IMPL_LINK()
880 … pValidation->nHPos -= ((pValidation->nHPos + pValidation->nWidth) - aBoundRect.Right()); in IMPL_LINK()
884 pValidation->nWidth = aBoundRect.Right() - pValidation->nHPos; in IMPL_LINK()
[all …]
/AOO41X/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx75 Rectangle aBoundRect; member
81 Rectangle aBoundRect; member
87 Rectangle aBoundRect; member
314 aCharacterData.aBoundRect.Union( aOutlineIter->GetBoundRect() ); in GetTextAreaOutline()
321 sal_Int32 nM = - aCharacterData.aBoundRect.Left() + nHeight; in GetTextAreaOutline()
323 aCharacterData.aBoundRect.Move( nM, 0 ); in GetTextAreaOutline()
326 … nHeight += aCharacterData.aBoundRect.GetWidth() + ( rFWData.nSingleLineHeight / 5 ); in GetTextAreaOutline()
327 aSingleCharacterUnion.Union( aCharacterData.aBoundRect ); in GetTextAreaOutline()
340 …utlineIter->Move( ( aSingleCharacterUnion.GetWidth() - aCharacterIter->aBoundRect.GetWidth() ) / 2… in GetTextAreaOutline()
399 Rectangle aBoundRect( rPolyPoly.GetBoundRect() ); in GetTextAreaOutline() local
[all …]
H A DEnhancedCustomShape3d.cxx508 …const Rectangle aBoundRect(basegfx::fround(aTempRange.getMinX()), basegfx::fround(aTempRange.getMi… in Create3DObject() local
509 aBoundRect2d.Union( aBoundRect ); in Create3DObject()
544 if ( aSnapRect != aBoundRect ) in Create3DObject()
549 … double fXScale = (double)aBoundRect.GetWidth() / (double)aSnapRect.GetWidth(); in Create3DObject()
550 … double fYScale = (double)aBoundRect.GetHeight() / (double)aSnapRect.GetHeight(); in Create3DObject()
552 …Point aPt( (sal_Int32)( (double)( aBoundRect.Left() - aSnapRect.Left() )* (double)aBmpSize.Width()… in Create3DObject()
553 …(sal_Int32)( (double)( aBoundRect.Top() - aSnapRect.Top() ) * (double)aBmpSize.Height() / (double)… in Create3DObject()
/AOO41X/main/vcl/source/gdi/
H A Dprint2.cxx590 … Rectangle aBoundRect( const_cast<OutputDevice&>(rOut).ImplGetTextBoundRect( *pSalLayout ) ); in ImplCalcActionBounds() local
591 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds()
621 … Rectangle aBoundRect( const_cast<OutputDevice&>(rOut).ImplGetTextBoundRect( *pSalLayout ) ); in ImplCalcActionBounds() local
622 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds()
1171 Rectangle aBoundRect( aCurr->aBounds ); in RemoveTransparenciesFromMetaFile() local
1172 aBoundRect.Intersection( aOutputRect ); in RemoveTransparenciesFromMetaFile()
1174 const double fBmpArea( (double) aBoundRect.GetWidth() * aBoundRect.GetHeight() ); in RemoveTransparenciesFromMetaFile()
1188 if( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in RemoveTransparenciesFromMetaFile()
1190 Point aDstPtPix( aBoundRect.TopLeft() ); in RemoveTransparenciesFromMetaFile()
1204 while( aDstPtPix.Y() <= aBoundRect.Bottom() ) in RemoveTransparenciesFromMetaFile()
[all …]
H A Doutdev4.cxx892 const Rectangle aBoundRect( rPolyPoly.GetBoundRect() ); in DrawGradient() local
897 Rectangle aRect( ImplLogicToDevicePixel( aBoundRect ) ); in DrawGradient()
937 const Rectangle aBoundRect( aPolyPoly.GetBoundRect() ); in DrawGradient() local
941 aDstRect.Intersection( aBoundRect ); in DrawGradient()
979 pVDev->DrawGradient( aBoundRect, aGradient ); in DrawGradient()
984 pVDev->DrawGradient( aBoundRect, aGradient ); in DrawGradient()
/AOO41X/main/cui/source/dialogs/
H A Dcuicharmap.cxx189 Rectangle aBoundRect; in Paint() local
190 if( !GetTextBoundRect( aBoundRect, aText ) || aBoundRect.IsEmpty() ) in Paint()
195 aBoundRect += aPoint; in Paint()
198 int nYLDelta = aBoundRect.Top(); in Paint()
199 int nYHDelta = aSize.Height() - aBoundRect.Bottom(); in Paint()
208 aPoint.X() = -aBoundRect.Left() in Paint()
209 + (aSize.Width() - aBoundRect.GetWidth()) / 2; in Paint()
214 int nXLDelta = aBoundRect.Left(); in Paint()
215 int nXHDelta = aSize.Width() - aBoundRect.Right(); in Paint()
/AOO41X/main/svtools/source/contnr/
H A Dimivctl1.cxx2062 Rectangle aBoundRect( GetEntryBoundRect( pEntry )); in SetEntryPos() local
2063 pView->Invalidate( aBoundRect ); in SetEntryPos()
2068 if( rPos != aBoundRect.TopLeft() ) in SetEntryPos()
2075 aBoundRect.SetPos( rPos ); in SetEntryPos()
2076 pEntry->aRect = aBoundRect; in SetEntryPos()
3037 Rectangle aBoundRect; in CalcMaxTextRect() local
3040 aBoundRect = pEntry->aRect; in CalcMaxTextRect()
3042 aBoundRect = pEntry->aGridRect; in CalcMaxTextRect()
3048 aBoundRect.Top() = aBmpRect.Bottom(); in CalcMaxTextRect()
3049 aBoundRect.Top() += VER_DIST_BMP_STRING; in CalcMaxTextRect()
[all …]
/AOO41X/main/svx/source/dialog/
H A Dcharmap.cxx353 Rectangle aBoundRect; in DrawChars_Impl() local
369 if( GetTextBoundRect( aBoundRect, aCharStr ) && !aBoundRect.IsEmpty() ) in DrawChars_Impl()
374 aPointTxTy.X() = x - aBoundRect.Left() in DrawChars_Impl()
375 + (nX - aBoundRect.GetWidth() + 1) / 2; in DrawChars_Impl()
378 aBoundRect += aPointTxTy; in DrawChars_Impl()
381 int nYLDelta = aBoundRect.Top() - y; in DrawChars_Impl()
382 int nYHDelta = (y + nY) - aBoundRect.Bottom(); in DrawChars_Impl()
389 int nXLDelta = aBoundRect.Left() - x; in DrawChars_Impl()
390 int nXHDelta = (x + nX) - aBoundRect.Right(); in DrawChars_Impl()
/AOO41X/main/filter/source/svg/
H A Dsvgfontexport.cxx265 Rectangle aBoundRect; in implEmbedGlyph() local
269 if( !rOut.GetTextBoundRect( aBoundRect, rCellStr ) ) in implEmbedGlyph()
270 aBoundRect = Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( rCellStr ), 0 ) ); in implEmbedGlyph()
275aBoundRect = Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( sal_Unicode( ' ' ) ), 0 ) ); in implEmbedGlyph()
277 …dAttribute( XML_NAMESPACE_NONE, "horiz-adv-x", ::rtl::OUString::valueOf( aBoundRect.GetWidth() ) ); in implEmbedGlyph()
H A Dsvgexport.cxx889 ::com::sun::star::awt::Rectangle aBoundRect; in implExportShape()
892 xShapePropSet->getPropertyValue( B2UCONST( "BoundRect" ) ) >>= aBoundRect; in implExportShape()
894 const Point aTopLeft( aBoundRect.X, aBoundRect.Y ); in implExportShape()
895 const Size aSize( aBoundRect.Width, aBoundRect.Height ); in implExportShape()
/AOO41X/main/filter/source/msfilter/
H A Dmsdffimp.cxx553 Rectangle aBoundRect( aPolyPoly.GetBoundRect() ); in SolveSolver() local
554 if ( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in SolveSolver()
567 … double fXRel = rPoint.X() - aBoundRect.Left(); in SolveSolver()
568 … double fYRel = rPoint.Y() - aBoundRect.Top(); in SolveSolver()
569 … sal_Int32 nWidth = aBoundRect.GetWidth(); in SolveSolver()
572 … sal_Int32 nHeight= aBoundRect.GetHeight(); in SolveSolver()
1146 …Size aBitmapSizePixel( static_cast< sal_Int32 >( ( rObjData.aBoundRect.GetWidth() / 2540.0 ) * 90.… in ApplyRectangularGradientAsBitmap()
1147 … static_cast< sal_Int32 >( ( rObjData.aBoundRect.GetHeight() / 2540.0 ) * 90.0 ) ); in ApplyRectangularGradientAsBitmap()
1355 if ( rObjData.aBoundRect.IsEmpty() )// size of object needed to be able in ApplyFillAttributes()
4090 …pRet = ImportOLE( GetPropertyValue( DFF_Prop_pictureId ), aGraf, rObjData.aBoundRect, aVisArea, rO… in ImportGraphic()
[all …]
/AOO41X/main/svx/source/svdraw/
H A Dsvdview.cxx540 Rectangle aBoundRect(pHitObj->GetCurrentBoundRect()); in PickAnything() local
545 aBoundRect = pHitObj->GetSnapRect(); in PickAnything()
558 …if( (aLocalLogicPosition.X() >= aBoundRect.Left() - nTolerance && aLocalLogicPosition.X() <= aBoun… in PickAnything()
559 …|| (aLocalLogicPosition.X() >= aBoundRect.Right() - nTolerance && aLocalLogicPosition.X() <= aBoun… in PickAnything()
560 …|| (aLocalLogicPosition.Y() >= aBoundRect.Top() - nTolerance && aLocalLogicPosition.Y() <= aBoundR… in PickAnything()
561 …|| (aLocalLogicPosition.Y() >= aBoundRect.Bottom() - nTolerance && aLocalLogicPosition.Y() <= aBou… in PickAnything()
H A Dsvdoattr.cxx143 Rectangle aBoundRect = GetLastBoundRect(); in Notify() local
150 SendUserCall(SDRUSERCALL_CHGATTR, aBoundRect); in Notify()
H A Dsvdxcgv.cxx730 const Rectangle aBoundRect( pObj->GetCurrentBoundRect() ); in GetObjGraphic() local
747 aMtf.Move(-aBoundRect.Left(), -aBoundRect.Top()); in GetObjGraphic()
750 aMtf.SetPrefSize( aBoundRect.GetSize() ); in GetObjGraphic()
H A Dsvdoashp.cxx2100 Rectangle aBoundRect( aPoly.GetBoundRect() ); in ImpCheckCustomGluePointsAreAdded() local
2101 sal_Int32 nXDiff = aBoundRect.Left() - aRect.Left(); in ImpCheckCustomGluePointsAreAdded()
2102 sal_Int32 nYDiff = aBoundRect.Top() - aRect.Top(); in ImpCheckCustomGluePointsAreAdded()
3403 Rectangle aBoundRect( aPol.GetBoundRect() ); in TRGetBaseGeometry() local
3405 Point aRef1( ( aBoundRect.Left() + aBoundRect.Right() ) >> 1, aBoundRect.Top() ); in TRGetBaseGeometry()
3425 Rectangle aBoundRect( aPol.GetBoundRect() ); in TRGetBaseGeometry() local
3427 Point aRef1( aBoundRect.Left(), ( aBoundRect.Top() + aBoundRect.Bottom() ) >> 1 ); in TRGetBaseGeometry()
/AOO41X/main/filter/source/flash/
H A Dswfexporter.cxx576 … com::sun::star::awt::Rectangle aBoundRect;//(aPosition.X, aPosition.Y, aSize.Width, aSize.Height); in exportShape() local
577 … xPropSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("BoundRect") ) ) >>= aBoundRect; in exportShape()
580 pShapeInfo->mnX = aBoundRect.X; in exportShape()
581 pShapeInfo->mnY = aBoundRect.Y; in exportShape()
582 pShapeInfo->mnWidth = aBoundRect.Width; in exportShape()
583 pShapeInfo->mnHeight = aBoundRect.Height; in exportShape()
/AOO41X/main/avmedia/source/java/
H A DPlayerWindow.java62 com.sun.star.awt.Rectangle aBoundRect = (com.sun.star.awt.Rectangle) aArgs[ 1 ]; in PlayerWindow() local
65 … maFrame.setPosSize( aBoundRect.X, aBoundRect.Y, aBoundRect.Width, aBoundRect.Height, (short) 0 ); in PlayerWindow()
/AOO41X/main/svx/source/unodraw/
H A Dunoshtxt.cxx542 Rectangle aBoundRect( pTextObj->GetCurrentBoundRect() ); in SetupOutliner() local
546 maTextOffset = aPaintRect.TopLeft() - aBoundRect.TopLeft(); in SetupOutliner()
565 Rectangle aBoundRect( pTextObj->GetCurrentBoundRect() ); in UpdateOutliner() local
569 maTextOffset = aPaintRect.TopLeft() - aBoundRect.TopLeft(); in UpdateOutliner()
787 Rectangle aBoundRect( pTextObj->GetCurrentBoundRect() ); in CreateViewForwarder() local
790 return new SvxDrawOutlinerViewForwarder( rOutlView, aBoundRect.TopLeft() ); in CreateViewForwarder()
H A Dunoshap2.cxx2018 Rectangle aBoundRect( aPol.GetBoundRect() ); in getPosition() local
2020 Point aRef1( ( aBoundRect.Left() + aBoundRect.Right() ) >> 1, aBoundRect.Top() ); in getPosition()
2040 Rectangle aBoundRect( aPol.GetBoundRect() ); in getPosition() local
2042 Point aRef1( aBoundRect.Left(), ( aBoundRect.Top() + aBoundRect.Bottom() ) >> 1 ); in getPosition()
/AOO41X/main/vcl/unx/headless/
H A Dsvpgdi.cxx177 const Rectangle& aBoundRect = aRectangles[0]; in setClipRegion() local
180 … basegfx::B2IRange(aBoundRect.Left(),aBoundRect.Top(),aBoundRect.Right(),aBoundRect.Bottom()) ); in setClipRegion()
/AOO41X/main/sc/source/filter/excel/
H A Dxeescher.cxx961 ::com::sun::star::awt::Rectangle aBoundRect; in XclExpChartObj()
962 aShapeProp.GetProperty( aBoundRect, CREATE_OUSTRING( "BoundRect" ) ); in XclExpChartObj()
963 …Rectangle aChartRect( Point( aBoundRect.X, aBoundRect.Y ), Size( aBoundRect.Width, aBoundRect.Heig… in XclExpChartObj()
/AOO41X/main/sc/source/ui/docshell/
H A Ddocsh4.cxx1907 Rectangle aBoundRect = GetVisArea( ASPECT_THUMBNAIL ); in Draw() local
1910 aDocument.SnapVisArea( aBoundRect ); in Draw()
1911 aTmpData.SetScreen( aBoundRect ); in Draw()
1912 ScPrintFunc::DrawToDev( &aDocument, pDev, 1.0, aBoundRect, &aTmpData, sal_True ); in Draw()
1916 Rectangle aBoundRect = SfxObjectShell::GetVisArea(); in Draw() local
1919 aDocument.SnapVisArea( aBoundRect ); in Draw()
1920 aTmpData.SetScreen( aBoundRect ); in Draw()
1921 ScPrintFunc::DrawToDev( &aDocument, pDev, 1.0, aBoundRect, &aTmpData, sal_True ); in Draw()
/AOO41X/main/sd/source/ui/view/
H A Dsdview4.cxx597 Rectangle aBoundRect(pRec->aRect); in LockRedraw() local
606 aBoundRect.Union(pRec->aRect); in LockRedraw()
617 CompleteRedraw(pCurrentOut, Region(aBoundRect)); in LockRedraw()
/AOO41X/main/svtools/source/misc/
H A Dimap.cxx1024 Rectangle aBoundRect; in GetBoundRect() local
1028 aBoundRect.Union( ( (IMapObject*) maList.GetObject( i ) )->GetBoundRect() ); in GetBoundRect()
1030 return aBoundRect; in GetBoundRect()

12