/trunk/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 1186 Rectangle aRect( pClone->GetSnapRect() ); in CreateAnimObj() local 1194 aOffset.Height() = (aMaxSizeLog.Height() - aRect.GetHeight()) / 2; in CreateAnimObj() 1198 aOffset.Height() = aMaxSizeLog.Height() - aRect.GetHeight(); in CreateAnimObj() 1202 aOffset.Width() = (aMaxSizeLog.Width() - aRect.GetWidth()) / 2; in CreateAnimObj() 1206 aOffset.Width() = (aMaxSizeLog.Width() - aRect.GetWidth()) / 2; in CreateAnimObj() 1211 aOffset.Width() = (aMaxSizeLog.Width() - aRect.GetWidth()) / 2; in CreateAnimObj() 1212 aOffset.Height() = aMaxSizeLog.Height() - aRect.GetHeight(); in CreateAnimObj() 1216 aOffset.Width() = aMaxSizeLog.Width() - aRect.GetWidth(); in CreateAnimObj() 1220 aOffset.Width() = aMaxSizeLog.Width() - aRect.GetWidth(); in CreateAnimObj() 1225 aOffset.Width() = aMaxSizeLog.Width() - aRect.GetWidth(); in CreateAnimObj() [all …]
|
/trunk/main/editeng/source/uno/ |
H A D | unoedprx.cxx | 767 aRect = aBulletInfo.aBounds; // better than nothing in GetCharBounds() 772 if( aStringWrap.GetCharacterBounds( aIndex.GetBulletOffset(), aRect ) ) in GetCharBounds() 773 aRect.Move( aBulletInfo.aBounds.Left(), aBulletInfo.aBounds.Top() ); in GetCharBounds() 796 if( !aStringWrap.GetCharacterBounds( aIndex.GetFieldOffset(), aRect ) ) in GetCharBounds() 797 aRect = aStartRect; in GetCharBounds() 799 aRect.Move( aStartRect.Left(), aStartRect.Top() ); in GetCharBounds() 804 return aRect; in GetCharBounds() 818 Rectangle aRect( mrTextForwarder->GetParaBounds( nPara ) ); in GetParaBounds() local 820 aRect.Union( aBulletInfo.aBounds ); in GetParaBounds() 822 return aRect; in GetParaBounds() [all …]
|
/trunk/main/accessibility/source/extended/ |
H A D | accessiblelistboxentry.cxx | 133 Rectangle aRect; in GetBoundingBox_Impl() local 137 aRect = getListBox()->GetBoundingRect( pEntry ); in GetBoundingBox_Impl() 142 Point aTopLeft = aRect.TopLeft(); in GetBoundingBox_Impl() 144 aRect = Rectangle( aTopLeft, aRect.GetSize() ); in GetBoundingBox_Impl() 148 return aRect; in GetBoundingBox_Impl() 153 Rectangle aRect; in GetBoundingBoxOnScreen_Impl() local 157 aRect = getListBox()->GetBoundingRect( pEntry ); in GetBoundingBoxOnScreen_Impl() 158 Point aTopLeft = aRect.TopLeft(); in GetBoundingBoxOnScreen_Impl() 160 aRect = Rectangle( aTopLeft, aRect.GetSize() ); in GetBoundingBoxOnScreen_Impl() 163 return aRect; in GetBoundingBoxOnScreen_Impl() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | aquaprintview.mm | 35 NSRect aRect = { NSZeroPoint, [pInfoPrinter->getPrintInfo() paperSize] }; 36 if( (self = [super initWithFrame: aRect]) != nil ) 58 NSRect aRect = { NSMakePoint( page % nWidth, page / nWidth), aPaperSize }; 59 return aRect; 62 -(NSPoint)locationOfPrintRect: (NSRect)aRect 64 (void)aRect;
|
/trunk/main/embeddedobj/source/general/ |
H A D | docholder.cxx | 1137 awt::Rectangle DocumentHolder::CalculateBorderedArea( const awt::Rectangle& aRect ) in CalculateBorderedArea() argument 1139 return awt::Rectangle( aRect.X + m_aBorderWidths.Left + HATCH_BORDER_WIDTH, in CalculateBorderedArea() 1140 aRect.Y + m_aBorderWidths.Top + HATCH_BORDER_WIDTH, in CalculateBorderedArea() 1141 aRect.Width - m_aBorderWidths.Left - m_aBorderWidths.Right - 2*HATCH_BORDER_WIDTH, in CalculateBorderedArea() 1146 awt::Rectangle DocumentHolder::AddBorderToArea( const awt::Rectangle& aRect ) in AddBorderToArea() argument 1148 return awt::Rectangle( aRect.X - m_aBorderWidths.Left - HATCH_BORDER_WIDTH, in AddBorderToArea() 1149 aRect.Y - m_aBorderWidths.Top - HATCH_BORDER_WIDTH, in AddBorderToArea() 1274 void SAL_CALL DocumentHolder::requestPositioning( const awt::Rectangle& aRect ) in requestPositioning() argument 1281 awt::Rectangle aObjRect = CalculateBorderedArea( aRect ); in requestPositioning() 1292 awt::Rectangle aResult( aRect ); in calcAdjustedRectangle() [all …]
|
/trunk/main/avmedia/source/macavf/ |
H A D | macavf_window.cxx | 141 NSRect aRect = [mpView frame]; in setPosSize() local 143 aRect.size.width = Width; in setPosSize() 145 aRect.size.height = Height; in setPosSize() 147 [mpView setFrameSize: aRect.size]; in setPosSize() 158 NSRect aRect = [mpView frame]; in getPosSize() local 160 aRet.Width = aRect.size.width; in getPosSize() 161 aRet.Height = aRect.size.height; in getPosSize()
|
/trunk/main/svx/source/unodraw/ |
H A D | unoshape.cxx | 753 aRect.Justify(); in GetBitmap() 1247 Point aPt( aRect.Left(), aRect.Top() ); in getPosition() 1300 Size aObjSize( aRect.getWidth(), aRect.getHeight() ); in getSize() 1321 Rectangle aRect( in setSize() local 1330 Fraction aWdt(aLocalSize.Width(),aRect.Right()-aRect.Left()); in setSize() 1331 Fraction aHgt(aLocalSize.Height(),aRect.Bottom()-aRect.Top()); in setSize() 2332 Rectangle aRect; in setPropertyValueImpl() local 2333 aRect.SetPos(aTopLeft); in setPropertyValueImpl() 2334 aRect.SetSize(aObjSize); in setPropertyValueImpl() 2772 Size aObjSize( aRect.GetWidth(), aRect.GetHeight() ); in getPropertyValueImpl() [all …]
|
/trunk/main/sw/source/ui/docvw/ |
H A D | AnnotationMenuButton.cxx | 128 const Rectangle aRect( Rectangle( Point( 0, 0 ), PixelToLogic( GetSizePixel() ) ) ); in Paint() local 129 DrawRect( aRect ); in Paint() 149 DrawGradient( aRect, aGradient ); in Paint() 155 DrawRect( aRect ); in Paint() 166 DrawText( aRect , in Paint() 173 Rectangle aSymbolRect( aRect ); in Paint()
|
/trunk/main/vcl/unx/gtk/window/ |
H A D | gtkobject.cxx | 117 GdkRectangle aRect; in UnionClipRegion() local 118 aRect.x = nX; in UnionClipRegion() 119 aRect.y = nY; in UnionClipRegion() 120 aRect.width = nWidth; in UnionClipRegion() 121 aRect.height = nHeight; in UnionClipRegion() 123 gdk_region_union_with_rect( m_pRegion, &aRect ); in UnionClipRegion()
|
/trunk/main/vcl/aqua/source/window/ |
H A D | salframe.cxx | 212 const NSRect aRect = { NSZeroPoint, NSMakeSize( maGeometry.nWidth, maGeometry.nHeight )}; in initWindowAndView() local 213 …mnTrackingRectTag = [mpNSView addTrackingRect: aRect owner: mpNSView userData: nil assumeInside: N… in initWindowAndView() 1456 NSRect aRect = [pScreen visibleFrame]; in GetWorkArea() local 1457 CocoaToVCL( aRect ); in GetWorkArea() 1458 rRect.nLeft = static_cast<long>(aRect.origin.x); in GetWorkArea() 1459 rRect.nTop = static_cast<long>(aRect.origin.y); in GetWorkArea() 1460 rRect.nRight = static_cast<long>(aRect.origin.x + aRect.size.width - 1); in GetWorkArea() 1461 rRect.nBottom = static_cast<long>(aRect.origin.y + aRect.size.height - 1); in GetWorkArea() 1758 NSRect aRect = NSMakeRect( nX, nY, nWidth, nHeight); in UnionClipRegion() local 1759 VCLToCocoa( aRect, false ); in UnionClipRegion() [all …]
|
H A D | salmenu.cxx | 893 NSRect aRect = [pNSWin frame]; in GetMenuBarButtonRectPixel() local 894 aRect.origin = [pNSWin convertBaseToScreen: NSMakePoint( 0, 0 )]; in GetMenuBarButtonRectPixel() 897 static_cast<AquaSalFrame*>(i_pReferenceFrame)->CocoaToVCL( aRect.origin ); in GetMenuBarButtonRectPixel() 898 aRect.origin.x -= i_pReferenceFrame->maGeometry.nX; in GetMenuBarButtonRectPixel() 899 aRect.origin.y -= i_pReferenceFrame->maGeometry.nY + aRect.size.height; in GetMenuBarButtonRectPixel() 901 return Rectangle( Point(static_cast<long int>(aRect.origin.x), in GetMenuBarButtonRectPixel() 902 static_cast<long int>(aRect.origin.y) in GetMenuBarButtonRectPixel() 904 Size( static_cast<long int>(aRect.size.width), in GetMenuBarButtonRectPixel() 905 static_cast<long int>(aRect.size.height) in GetMenuBarButtonRectPixel()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | shapeuno.cxx | 326 Point aPoint(aRect.TopRight()); in lcl_GetRelativePos() 334 Point aPoint(aRect.TopLeft()); in lcl_GetRelativePos() 398 aPoint = aRect.TopRight(); in setPropertyValue() 399 aEndPoint = aRect.BottomLeft(); in setPropertyValue() 403 aPoint = aRect.TopLeft(); in setPropertyValue() 404 aEndPoint = aRect.BottomRight(); in setPropertyValue() 534 Point aPoint(aRect.TopRight()); in setPropertyValue() 535 Point aEndPoint(aRect.BottomLeft()); in setPropertyValue() 546 Point aPoint(aRect.TopLeft()); in setPropertyValue() 615 Point aPoint(aRect.TopRight()); in setPropertyValue() [all …]
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | textlayoutdevice.cxx | 285 Rectangle aRect; in getTextBoundRect() local 288 aRect, in getTextBoundRect() 295 if(!aRect.IsEmpty()) in getTextBoundRect() 298 aRect.Left(), aRect.Top(), in getTextBoundRect() 299 aRect.Right(), aRect.Bottom()); in getTextBoundRect()
|
/trunk/main/sw/source/core/inc/ |
H A D | noteurl.hxx | 39 SwRect aRect; member in SwURLNote 42 : aURL( rURL ), aTarget( rTarget ), aRect( rRect ) in SwURLNote() 46 const SwRect& GetRect() const { return aRect; } in GetRect() 48 { return aRect == rSwURLNote.aRect; } in operator ==()
|
/trunk/main/sw/source/ui/misc/ |
H A D | insrule.cxx | 144 Rectangle aRect = rUDEvt.GetRect(); in UserDraw() local 147 Point aBLPos = aRect.TopLeft(); in UserDraw() 160 Size aWinSize = aRect.GetSize(); in UserDraw() 181 pDev->SetClipRegion(aRect); in UserDraw() 197 int nRectHeight = aRect.GetHeight(); in UserDraw() 206 aPos.X() += (aRect.GetWidth() - aSize.Width()) / 2; in UserDraw()
|
/trunk/main/sw/source/core/layout/ |
H A D | layact.cxx | 361 SwRect aRect( pTmp->GetUpper()->PaintArea() ); in PaintCntnt() local 363 if ( !_PaintCntnt( pCnt, pPage, aRect ) ) in PaintCntnt() 1580 if ( !pImp->GetShell()->AddPaintRect( aRect ) ) in FormatLayout() 1777 SwRect aRect( pTab->GetUpper()->PaintArea() ); in FormatLayoutTab() local 1799 if ( !pImp->GetShell()->AddPaintRect( aRect ) ) in FormatLayoutTab() 2379 Rectangle aRect( 0, 0, 5, 5 ); in ShowIdle() local 2380 aRect = pWin->PixelToLogic( aRect ); in ShowIdle() 2385 pWin->DrawRect( aRect ); in ShowIdle() 2607 Rectangle aRect( 0, 0, 5, 5 ); in SwLayIdle() local 2608 aRect = pImp->GetShell()->GetWin()->PixelToLogic( aRect ); in SwLayIdle() [all …]
|
H A D | trvlfrm.cxx | 660 SwRect aRect( pStart->Frm() ); in lcl_UpDown() local 1333 aPoint.Y() = aRect.Top(); in GetCntntPos() 1335 aPoint.Y() = aRect.Bottom(); in GetCntntPos() 1337 aPoint.X() = aRect.Left(); in GetCntntPos() 1339 aPoint.X() = aRect.Right(); in GetCntntPos() 1418 if ( aAct.Y() < aRect.Top() ) in GetCntntPosition() 1419 aAct.Y() = aRect.Top(); in GetCntntPosition() 1421 aAct.Y() = aRect.Bottom(); in GetCntntPosition() 1422 if ( aAct.X() < aRect.Left() ) in GetCntntPosition() 1423 aAct.X() = aRect.Left(); in GetCntntPosition() [all …]
|
/trunk/main/svtools/source/brwbox/ |
H A D | datwin.hxx | 49 Rectangle aRect; member in ButtonFrame 64 :aRect( rPt, rSz ) in ButtonFrame() 65 ,aInnerRect( Point( aRect.Left()+1, aRect.Top()+1 ), in ButtonFrame() 66 Size( aRect.GetWidth()-2, aRect.GetHeight()-2 ) ) in ButtonFrame()
|
/trunk/main/svx/source/accessibility/ |
H A D | charmapacc.cxx | 111 Rectangle aRect(aOutPos,aScrollBar); in getAccessibleAtPoint() local 113 if ( aRect.IsInside(VCLPoint(aPoint)) ) in getAccessibleAtPoint() 173 Rectangle aRect = pWindow->GetWindowExtentsRelative( NULL ); in implGetBounds() local 174 aBounds = AWTRectangle( aRect ); in implGetBounds() 814 Rectangle aRect( mpParent->maRect ); in implGetBounds() local 818 aRect.Intersection( aParentRect ); in implGetBounds() 820 aRet.X = aRect.Left(); in implGetBounds() 821 aRet.Y = aRect.Top(); in implGetBounds() 822 aRet.Width = aRect.GetWidth(); in implGetBounds() 823 aRet.Height = aRect.GetHeight(); in implGetBounds()
|
/trunk/main/sw/source/core/text/ |
H A D | txtpaint.cxx | 89 Rectangle aRect( rRect.SVRect() ); in _ChgClip() local 95 aRect.Bottom() += 40; in _ChgClip() 100 if ( aRect == pOut->GetClipRegion().GetBoundRect() ) in _ChgClip() 111 const Region aClipRegion( aRect ); in _ChgClip() 123 pOut->DrawRect( aRect ); in _ChgClip()
|
/trunk/main/vcl/unx/generic/window/ |
H A D | salframe.cxx | 1500 Rectangle aRect; in Center() local 1501 pFrame->GetPosSize( aRect ); in Center() 2203 Rectangle aRect; in ShowFullScreen() local 2213 maGeometry.nY = aRect.Top(); in ShowFullScreen() 2240 if( !aRect.IsEmpty() ) in ShowFullScreen() 2241 SetPosSize( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), in ShowFullScreen() 3624 XRectangle aRect = { 0, 0, 0, 0 }; in HandleExposeEvent() local 3629 aRect.x = pEvent->xexpose.x; in HandleExposeEvent() 3630 aRect.y = pEvent->xexpose.y; in HandleExposeEvent() 3631 aRect.width = pEvent->xexpose.width; in HandleExposeEvent() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | WW8TableInfo.cxx | 592 SwRect aRect = aTableCellInfo.getRect(); in processSwTableByLayout() local 600 aRect.Top(), aRect.Bottom(), aRect.Left(), aRect.Right()); in processSwTableByLayout() 615 insertTableNodeInfo(&rNode, pTable, pTableBox, 0, 0, 1, & aRect); in processSwTableByLayout() 1144 SwRect aRect = aCellIt->getRect(); in addShadowCells() local 1158 aRect.Top(*aRowSpanIt); in addShadowCells() 1160 insert(aRect, NULL, &nFmtFrmWidth); in addShadowCells() 1188 bBeginningOfCell = (aRect.Left() != aCellIt->left()); in addShadowCells() 1189 aRect = aCellIt->getRect(); in addShadowCells() 1500 CellInfo::CellInfo(const SwRect & aRect, WW8TableNodeInfo * pNodeInfo) in CellInfo() argument 1501 : m_aRect(aRect), m_pNodeInfo(pNodeInfo), m_nFmtFrmWidth(0) in CellInfo()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 287 Rectangle aRect( ReadRectangle() ); in ReadRecordParams() local 288 aRect.Justify(); in ReadRecordParams() 289 pOut->DrawArc( aRect, aStart, aEnd ); in ReadRecordParams() 298 aRect.Justify(); in ReadRecordParams() 303 pOut->DrawEllipse( aRect ); in ReadRecordParams() 313 Rectangle aRect( ReadRectangle() ); in ReadRecordParams() local 314 aRect.Justify(); in ReadRecordParams() 315 pOut->DrawChord( aRect, aStart, aEnd ); in ReadRecordParams() 426 Rectangle aRect; in ReadRecordParams() local 450 aRect = Rectangle( aPt1, aPt2 ); in ReadRecordParams() [all …]
|
/trunk/main/svtools/source/misc/ |
H A D | imap2.cxx | 131 AppendCERNCoords( aRect.TopLeft(), aStr ); in WriteCERN() 132 AppendCERNCoords( aRect.BottomRight(), aStr ); in WriteCERN() 150 AppendNCSACoords( aRect.TopLeft(), aStr ); in WriteNCSA() 151 AppendNCSACoords( aRect.BottomRight(), aStr ); in WriteNCSA() 421 const Rectangle aRect( aTopLeft, aBottomRight ); in ImpReadCERNLine() local 423 …IMapRectangleObject* pObj = new IMapRectangleObject( aRect, aURL, String(), String(), String(), St… in ImpReadCERNLine() 599 const Rectangle aRect( aTopLeft, aBottomRight ); in ImpReadNCSALine() local 601 …IMapRectangleObject* pObj = new IMapRectangleObject( aRect, aURL, String(), String(), String(), St… in ImpReadNCSALine()
|
/trunk/main/sw/source/core/access/ |
H A D | acccontext.cxx | 829 const awt::Rectangle & aRect) in lcl_PointInRectangle() argument 831 long nDiffX = aPoint.X - aRect.X; in lcl_PointInRectangle() 832 long nDiffY = aPoint.Y - aRect.Y; in lcl_PointInRectangle() 835 nDiffX >= 0 && nDiffX < aRect.Width && nDiffY >= 0 && in lcl_PointInRectangle() 836 nDiffY < aRect.Height; in lcl_PointInRectangle() 963 awt::Rectangle aRect = getBoundsImpl(sal_True); in getLocation() local 964 awt::Point aPoint(aRect.X, aRect.Y); in getLocation() 974 awt::Rectangle aRect = getBoundsImpl(sal_False); in getLocationOnScreen() local 976 Point aPixPos(aRect.X, aRect.Y); in getLocationOnScreen() 989 awt::Rectangle aRect = getBoundsImpl(sal_False); in getSize() local [all …]
|