/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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 ==()
|
/aoo41x/main/sc/source/ui/Accessibility/ |
H A D | AccessibleCsvControl.cxx | 514 if( aRect.X >= nWidth ) in getCharacterBounds() 516 if( aRect.X + aRect.Width > nWidth ) in getCharacterBounds() 517 aRect.Width = nWidth - aRect.X; in getCharacterBounds() 518 return aRect; in getCharacterBounds() 1593 Rectangle aRect( implGetBoundingBox() ); in GetBoundingBoxOnScreen() local 1594 aRect.SetPos( implGetAbsPos( aRect.TopLeft() ) ); in GetBoundingBoxOnScreen() 1595 return aRect; in GetBoundingBoxOnScreen() 1655 aRect.Intersection( aClipRect ); in implGetBoundingBox() 1656 if( (aRect.GetWidth() <= 0) || (aRect.GetHeight() <= 0) ) in implGetBoundingBox() 1657 aRect.SetSize( Size( -1, -1 ) ); in implGetBoundingBox() [all …]
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/main/vcl/source/window/ |
H A D | toolbox.cxx | 1907 Rectangle aReg( aRect ); in ImplCalcItem() 1936 aReg = aRect; in ImplCalcItem() 1948 aReg = aRect; in ImplCalcItem() 1960 aReg = aRect; in ImplCalcItem() 3285 aRect.Top() = aRect.Bottom() - aRect.getHeight()/3; in ImplDrawMenubutton() 3287 aRect.Left() = aRect.Right() - aRect.getWidth()/3; in ImplDrawMenubutton() 3294 aRect = aInnerRect; in ImplDrawMenubutton() 3296 aRect.Bottom() = aRect.Top() + aRect.getHeight()/3; in ImplDrawMenubutton() 3298 aRect.Right() = aRect.Left() + aRect.getWidth()/3; in ImplDrawMenubutton() 3866 aRect.SetPos( AbsoluteScreenToOutputPixel( aRect.TopLeft() ) ); in ImplDrawFloatwinBorder() [all …]
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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() 1582 if ( !pImp->GetShell()->AddPaintRect( aRect ) ) in FormatLayout() 1779 SwRect aRect( pTab->GetUpper()->PaintArea() ); in FormatLayoutTab() local 1801 if ( !pImp->GetShell()->AddPaintRect( aRect ) ) in FormatLayoutTab() 2381 Rectangle aRect( 0, 0, 5, 5 ); in ShowIdle() local 2382 aRect = pWin->PixelToLogic( aRect ); in ShowIdle() 2387 pWin->DrawRect( aRect ); in ShowIdle() 2609 Rectangle aRect( 0, 0, 5, 5 ); in SwLayIdle() local 2610 aRect = pImp->GetShell()->GetWin()->PixelToLogic( aRect ); in SwLayIdle() [all …]
|
/aoo41x/main/vcl/source/components/ |
H A D | display.cxx | 105 Rectangle aRect; in getPropertyValue() local 108 aRect = Application::GetScreenPosSizePixel( mnDisplay ); in getPropertyValue() 112 aRect = Application::GetWorkAreaPosSizePixel( mnDisplay ); in getPropertyValue() 121 …return Any( com::sun::star::awt::Rectangle( aRect.Left(), aRect.Top(), aRect.getWidth(), aRect.get… in getPropertyValue()
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/main/svtools/source/toolpanel/ |
H A D | tabbargeometry.cxx | 66 … ::basegfx::B2DRange aRect( io_rRect.Left(), io_rRect.Top(), io_rRect.Right(), io_rRect.Bottom() ); in lcl_transform() 67 aRect.transform( i_rTransformation ); in lcl_transform() 68 io_rRect.Left() = long( aRect.getMinX() ); in lcl_transform() 69 io_rRect.Top() = long( aRect.getMinY() ); in lcl_transform() 70 io_rRect.Right() = long( aRect.getMaxX() ); in lcl_transform() 71 io_rRect.Bottom() = long( aRect.getMaxY() ); in lcl_transform()
|