/aoo4110/main/sc/source/filter/xml/ |
H A D | XMLTableShapeResizer.cxx | 233 awt::Point aPoint(aItr->xShape->getPosition()); in ResizeShapes() local 301 … Rectangle aRectangle(aPoint.X, aPoint.Y, aPoint.X + aSize.Width, aPoint.Y + aSize.Height); in ResizeShapes() 316 Point aCorePoint(aPoint.X, aPoint.Y); in ResizeShapes() 330 aPoint.X += aDifferencePoint.X(); in ResizeShapes() 331 aPoint.Y += aDifferencePoint.Y(); in ResizeShapes() 333 aItr->xShape->setPosition(aPoint); in ResizeShapes() 343 aPoint.X += aRefPoint.X; in ResizeShapes() 344 if (aPoint.X > aRec.Right()) in ResizeShapes() 346 aPoint.Y += aRefPoint.Y; in ResizeShapes() 347 if (aPoint.Y > aRec.Bottom()) in ResizeShapes() [all …]
|
/aoo4110/main/canvas/source/vcl/ |
H A D | impltools.cxx | 196 aPoint *= ::canvas::tools::mergeViewAndRenderTransform(aMatrix, in mapRealPoint2D() 200 return ::vcl::unotools::pointFromB2DPoint( aPoint ); in mapRealPoint2D() 367 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() 368 aPoint *= aTransform; in transformBitmap() 370 const int nSrcX( ::basegfx::fround( aPoint.getX() ) ); in transformBitmap() 413 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() 414 aPoint *= aTransform; in transformBitmap() 470 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() 471 aPoint *= aTransform; in transformBitmap() 492 ::basegfx::B2DPoint aPoint(x,y); in transformBitmap() [all …]
|
/aoo4110/main/drawinglayer/source/primitive3d/ |
H A D | sdrextrudeprimitive3d.cxx | 239 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(d)); in create3DDecomposition() local 240 const basegfx::B2DVector aPrev(aCandidate.getB2DPoint(nPrevInd) - aPoint); in create3DDecomposition() 292 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(nIndexA)); in create3DDecomposition() local 293 const basegfx::B3DPoint aStart(aPoint.getX(), aPoint.getY(), 0.0); in create3DDecomposition() 294 const basegfx::B3DPoint aEnd(aPoint.getX(), aPoint.getY(), getDepth()); in create3DDecomposition() 304 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(nIndexB)); in create3DDecomposition() local 305 const basegfx::B3DPoint aStart(aPoint.getX(), aPoint.getY(), 0.0); in create3DDecomposition() 306 const basegfx::B3DPoint aEnd(aPoint.getX(), aPoint.getY(), getDepth()); in create3DDecomposition() 316 const basegfx::B2DPoint aPoint(aCandidate.getB2DPoint(nIndexC)); in create3DDecomposition() local 317 const basegfx::B3DPoint aStart(aPoint.getX(), aPoint.getY(), 0.0); in create3DDecomposition() [all …]
|
/aoo4110/main/sw/source/core/access/ |
H A D | accfield.cxx | 165 static sal_Bool lcl_PointInRectangle(const awt::Point & aPoint, in lcl_PointInRectangle() argument 168 long nDiffX = aPoint.X - aRect.X; in lcl_PointInRectangle() 169 long nDiffY = aPoint.Y - aRect.Y; in lcl_PointInRectangle() 178 const ::com::sun::star::awt::Point& aPoint ) in containsPoint() 185 return lcl_PointInRectangle(aPoint, aPixBounds); in containsPoint() 189 const awt::Point& aPoint ) in getAccessibleAtPoint() argument 196 if(aPoint.X >= rc.X && aPoint.X <= rc.X + rc.Width && in getAccessibleAtPoint() 197 aPoint.Y >= rc.Y && aPoint.Y <= rc.Y + rc.Height ) in getAccessibleAtPoint() 240 awt::Point aPoint(aRect.X, aRect.Y); in getLocation() local 242 return aPoint; in getLocation()
|
/aoo4110/main/extensions/source/scanner/ |
H A D | grid.cxx | 434 Point aPoint( rEvt.GetPosPixel() ); in MouseMove() local 442 if(aPoint.X() < m_aGridArea.Left()) in MouseMove() 443 aPoint.X() = m_aGridArea.Left(); in MouseMove() 444 else if(aPoint.X() > m_aGridArea.Right()) in MouseMove() 445 aPoint.X() = m_aGridArea.Right(); in MouseMove() 448 if( aPoint.Y() < m_aGridArea.Top() ) in MouseMove() 449 aPoint.Y() = m_aGridArea.Top(); in MouseMove() 451 aPoint.Y() = m_aGridArea.Bottom(); in MouseMove() 455 m_aHandles[m_nDragIndex].maPos = aPoint; in MouseMove() 485 Point aPoint( rEvt.GetPosPixel() ); in MouseButtonDown() local [all …]
|
/aoo4110/main/sw/source/core/layout/ |
H A D | trvlfrm.cxx | 153 Point aPoint( rPoint ); in GetCrsrOfst() local 158 aPoint.X() = Max( aPoint.X(), Frm().Left() ); in GetCrsrOfst() 159 aPoint.X() = Min( aPoint.X(), Frm().Right() ); in GetCrsrOfst() 160 aPoint.Y() = Max( aPoint.Y(), Frm().Top() ); in GetCrsrOfst() 161 aPoint.Y() = Min( aPoint.Y(), Frm().Bottom() ); in GetCrsrOfst() 226 rPoint = aPoint; in GetCrsrOfst() 1160 Point aPoint = rPoint; in GetCntntPos() local 1189 aPoint = rPoint; in GetCntntPos() 1340 rPoint = aPoint; in GetCntntPos() 1386 Point aPoint( rPt ); in GetCntntPosition() local [all …]
|
/aoo4110/main/wizards/com/sun/star/wizards/form/ |
H A D | FormControlArranger.java | 537 Point aPoint = new Point(m_currentLabelPosX, m_currentLabelPosY); in insertLabel() local 541 LabelControlList[i].setPosition(aPoint); in insertLabel() 612 Point aPoint = new Point(m_currentControlPosX, m_currentControlPosY); in insertDBControl() local 615 DBControlList[i].setPosition(aPoint); in insertDBControl() 625 … DBControlList[i] = new DatabaseControl(oFormHandler, xFormName, sFieldName, nFieldType, aPoint); in insertDBControl() 643 aPoint = new Point(m_currentControlPosX, m_currentControlPosY); in insertDBControl() 644 aDBControl.setPosition(aPoint); in insertDBControl() 701 Point aPoint = DBControlList[i].getPosition(); in adjustYPositions() local 702 DBControlList[i].setPosition(new Point(aPoint.X, aPoint.Y - _diffY)); in adjustYPositions() 703 aPoint = LabelControlList[i].getPosition(); in adjustYPositions() [all …]
|
/aoo4110/main/vcl/unx/generic/printergfx/ |
H A D | common_gfx.cxx | 264 Point aPoint (leftside.front()); in JoinVerticalClipRectangles() local 278 aLastPoint = aPoint; in JoinVerticalClipRectangles() 288 Point aPoint (rightside.back()); in JoinVerticalClipRectangles() local 434 Point aPoint( 0, 0 ); in DrawPolygon() local 438 PSBinMoveTo( pPath[0], aPoint, nColumn ); in DrawPolygon() 440 PSBinLineTo( pPath[n], aPoint, nColumn ); in DrawPolygon() 483 Point aPoint( 0, 0 ); in DrawPolyPolygon() local 912 Point aPoint(nDx, nDy); in PSRMoveTo() local 913 PSPointOp (aPoint, "rmoveto"); in PSRMoveTo() 964 Point aPoint (0, 0); in PSBinCurrentPath() local [all …]
|
H A D | text_gfx.cxx | 220 Point aPoint( rPoint ); in DrawGlyphs() local 228 aPoint = Point( 0, 0 ); in DrawGlyphs() 303 if( aPoint.X() || aPoint.Y() ) in DrawGlyphs() 304 PSTranslate( aPoint ); in DrawGlyphs() 320 aPoint.X() += nTempFirstDelta; in DrawGlyphs() 324 drawGlyphs( aPoint, pGlyphIds, pUnicodes, nLen, pDeltaArray ); in DrawGlyphs() 484 Point aPoint( rPoint ); in drawVerticalizedText() local 492 pDelta[n] = pDeltaArray[n] - (aPoint.X() - rPoint.X() ); in drawVerticalizedText() 499 drawText( aPoint, pStr + nLastPos, i - nLastPos, pDelta + nLastPos ); in drawVerticalizedText() 501 aPoint.X() = (sal_Int32)(rPoint.X() + ((double)pDeltaArray[i-1] * fCos)); in drawVerticalizedText() [all …]
|
/aoo4110/main/oox/source/xls/ |
H A D | drawingbase.cxx | 215 EmuPoint aPoint = calcCellAnchorEmu( maFrom ); in calcAnchorRectEmu() local 216 if( (aPoint.X < aPageSize.Width) && (aPoint.Y < aPageSize.Height) ) in calcAnchorRectEmu() 217 aAnchorRect.setPos( aPoint ); in calcAnchorRectEmu() 247 EmuPoint aPoint = calcCellAnchorEmu( aValidTo ); in calcAnchorRectEmu() local 251 … aAnchorRect.Width = ::std::min< sal_Int64 >( aPoint.X - aAnchorRect.X + 1, aAnchorRect.Width ); in calcAnchorRectEmu() 255 … aAnchorRect.Height = ::std::min< sal_Int64 >( aPoint.Y - aAnchorRect.Y + 1, aAnchorRect.Height ); in calcAnchorRectEmu() 283 Point aPoint = getCellPosition( rModel.mnCol, rModel.mnRow ); in calcCellAnchorEmu() local 284 EmuPoint aEmuPoint( lclHmmToEmu( aPoint.X ), lclHmmToEmu( aPoint.Y ) ); in calcCellAnchorEmu()
|
/aoo4110/main/starmath/source/ |
H A D | view.cxx | 309 Point aPoint; in Paint() local 313 SetFormulaDrawPos(aPoint); in Paint() 961 Point aPoint (rPosition); in DrawTextLine() local 971 aPoint.X() = ((aPoint.X() / TabPos) + 1) * TabPos; in DrawTextLine() 976 rDevice.DrawText(aPoint, aText); in DrawTextLine() 981 rDevice.DrawText(aPoint, rLine); in DrawTextLine() 990 Point aPoint (rPosition); in DrawText() local 1025 aPoint.Y() += aSize.Height(); in DrawText() 1037 aPoint.Y() += aSize.Height(); in DrawText() 1043 aPoint.Y() += aSize.Height(); in DrawText() [all …]
|
H A D | accessibility.cxx | 208 return aPoint.X >= 0 && aPoint.Y >= 0 && in containsPoint() 209 aPoint.X < aSz.Width() && aPoint.Y < aSz.Height(); in containsPoint() 213 const awt::Point& aPoint ) in getAccessibleAtPoint() argument 218 if (containsPoint( aPoint )) in getAccessibleAtPoint() 603 Point aPos( aPoint.X, aPoint.Y ); in getIndexAtPoint() 957 return pOutDev->LogicToPixel( aPoint, aMapMode ); in LogicToPixel() 973 return OutputDevice::LogicToLogic( aPoint, in PixelToLogic() 1632 return OutputDevice::LogicToLogic( aPoint, in PixelToLogic() 1796 return aPoint.X >= 0 && aPoint.Y >= 0 && in containsPoint() 1797 aPoint.X < aSz.Width() && aPoint.Y < aSz.Height(); in containsPoint() [all …]
|
/aoo4110/main/sc/source/ui/cctrl/ |
H A D | tbzoomsliderctrl.cxx | 288 const Point aPoint = rMEvt.GetPosPixel(); in MouseButtonDown() local 296 if ( aPoint.X() >= nButtonLeftOffset && aPoint.X() <= nButtonRightOffset ) in MouseButtonDown() 301 else if ( aPoint.X() >= aSliderWindowSize.Width() - nSliderXOffset + nButtonLeftOffset && in MouseButtonDown() 302 aPoint.X() <= aSliderWindowSize.Width() - nSliderXOffset + nButtonRightOffset ) in MouseButtonDown() 306 …else if( aPoint.X() >= nSliderXOffset && aPoint.X() <= aSliderWindowSize.Width() - nSliderXOffset ) in MouseButtonDown() 308 mpImpl->mnCurrentZoom = Offset2Zoom( aPoint.X() ); in MouseButtonDown() 352 const Point aPoint = rMEvt.GetPosPixel(); in MouseMove() local 354 if ( aPoint.X() >= nSliderXOffset && aPoint.X() <= nControlWidth - nSliderXOffset ) in MouseMove() 356 mpImpl->mnCurrentZoom = Offset2Zoom( aPoint.X() ); in MouseMove()
|
/aoo4110/main/sw/source/ui/fldui/ |
H A D | fldtdlg.cxx | 181 Point aPoint; in Initialize() local 183 aPoint.X() = aRect.Right() - aSize.Width(); in Initialize() 184 aPoint.Y() = aRect.Bottom() - aSize.Height(); in Initialize() 186 aPoint = OutputToScreenPixel( aPoint ); in Initialize() 188 if ( aPos.X() > aPoint.X() ) in Initialize() 189 aPos.X() = aPoint.X() ; in Initialize() 190 if ( aPos.Y() > aPoint.Y() ) in Initialize() 191 aPos.Y() = aPoint.Y(); in Initialize()
|
/aoo4110/main/chart2/source/controller/accessibility/ |
H A D | AccessibleBase.cxx | 695 sal_Bool SAL_CALL AccessibleBase::containsPoint( const awt::Point& aPoint ) in containsPoint() argument 704 return ( aPoint.X >= aRect.X && in containsPoint() 705 aPoint.Y >= aRect.Y && in containsPoint() 706 aPoint.X < (aRect.X + aRect.Width) && in containsPoint() 707 aPoint.Y < (aRect.Y + aRect.Height) ); in containsPoint() 710 Reference< XAccessible > SAL_CALL AccessibleBase::getAccessibleAtPoint( const awt::Point& aPoint ) in getAccessibleAtPoint() argument 722 if( ( aRect.X <= aPoint.X && aPoint.X <= (aRect.X + aRect.Width) ) && in getAccessibleAtPoint() 723 ( aRect.Y <= aPoint.Y && aPoint.Y <= (aRect.Y + aRect.Height))) in getAccessibleAtPoint() 739 if( ( aRect.X <= aPoint.X && aPoint.X <= (aRect.X + aRect.Width) ) && in getAccessibleAtPoint() 740 ( aRect.Y <= aPoint.Y && aPoint.Y <= (aRect.Y + aRect.Height))) in getAccessibleAtPoint()
|
H A D | AccessibleViewForwarder.cxx | 70 Point aPoint; in LogicToPixel() local 75 aPoint = m_pWindow->LogicToPixel( rPoint, m_aMapMode ) + aTopLeft; in LogicToPixel() 77 return aPoint; in LogicToPixel() 92 Point aPoint; in PixelToLogic() local 97 aPoint = m_pWindow->PixelToLogic( rPoint - aTopLeft, m_aMapMode ); in PixelToLogic() 99 return aPoint; in PixelToLogic()
|
/aoo4110/main/sc/source/ui/unoobj/ |
H A D | shapeuno.cxx | 326 Point aPoint(aRect.TopRight()); in lcl_GetRelativePos() local 327 aUnoPoint.X -= aPoint.X(); in lcl_GetRelativePos() 328 aUnoPoint.Y -= aPoint.Y(); in lcl_GetRelativePos() 334 Point aPoint(aRect.TopLeft()); in lcl_GetRelativePos() local 335 aUnoPoint.X -= aPoint.X(); in lcl_GetRelativePos() 336 aUnoPoint.Y -= aPoint.Y(); in lcl_GetRelativePos() 394 Point aPoint; in setPropertyValue() local 411 aUnoPoint.X += aPoint.X(); in setPropertyValue() 412 aUnoPoint.Y += aPoint.Y(); in setPropertyValue() 520 aPoint.X = nPos; in setPropertyValue() [all …]
|
/aoo4110/main/dbaccess/source/ui/querydesign/ |
H A D | ConnectionLineAccess.cxx | 154 Point aPoint(_aPoint.X,_aPoint.Y); in contains() local 155 return m_pLine ? m_pLine->CheckHit(aPoint) : sal_False; in contains() 173 Point aPoint(m_pLine ? m_pLine->GetBoundingRect().TopLeft() : Point()); in getLocation() local 174 return awt::Point(aPoint.X(),aPoint.Y()); in getLocation() 180 …Point aPoint(m_pLine ? m_pLine->GetParent()->ScreenToOutputPixel(m_pLine->GetBoundingRect().TopLef… in getLocationOnScreen() local 181 return awt::Point(aPoint.X(),aPoint.Y()); in getLocationOnScreen()
|
/aoo4110/main/chart2/source/controller/dialogs/ |
H A D | res_TextSeparator.cxx | 77 Point aPoint( rWindow.GetPosPixel() ); in PositionBelowControl() local 79 aPoint.Y() += aSize.Height(); in PositionBelowControl() 81 aPoint.Y() += aBigDistanceSize.Height(); in PositionBelowControl() 84 aPoint.Y() += aDistanceSize.Height(); in PositionBelowControl() 86 m_aFT_Separator.SetPosPixel( aPoint ); in PositionBelowControl() 87 …m_aLB_Separator.SetPosPixel( Point( aPoint.X()+m_aFT_Separator.GetSizePixel().Width()+aDistanceSiz… in PositionBelowControl()
|
/aoo4110/main/chart2/source/controller/chartapiwrapper/ |
H A D | Chart2ModelContact.cxx | 251 awt::Point aPoint; in GetLegendPosition() local 257 aPoint = ToPoint( pProvider->getRectangleOfObject( aCID ) ); in GetLegendPosition() 259 return aPoint; in GetLegendPosition() 278 awt::Point aPoint; in GetTitlePosition() local 283 aPoint = ToPoint( pProvider->getRectangleOfObject( aCID ) ); in GetTitlePosition() 285 return aPoint; in GetTitlePosition() 304 awt::Point aPoint; in GetAxisPosition() local 309 aPoint = ToPoint( pProvider->getRectangleOfObject( aCID ) ); in GetAxisPosition() 311 return aPoint; in GetAxisPosition()
|
/aoo4110/main/vcl/source/control/ |
H A D | spinfld.cxx | 714 Point aPoint; in ImplCalcButtonAreas() local 717 Rectangle aArea( aPoint, pBorder->GetOutputSizePixel() ); in ImplCalcButtonAreas() 728 aPoint = pBorder->ScreenToOutputPixel( pWin->OutputToScreenPixel( aPoint ) ); in ImplCalcButtonAreas() 729 aContentUp.Move(-aPoint.X(), -aPoint.Y()); in ImplCalcButtonAreas() 730 aContentDown.Move(-aPoint.X(), -aPoint.Y()); in ImplCalcButtonAreas() 769 Point aPoint; in Resize() local 774 Rectangle aArea( aPoint, pBorder->GetOutputSizePixel() ); in Resize() 781 aPoint = pBorder->ScreenToOutputPixel( OutputToScreenPixel( aPoint ) ); in Resize() 782 aContent.Move(-aPoint.X(), -aPoint.Y()); in Resize()
|
/aoo4110/main/sd/source/ui/accessibility/ |
H A D | AccessibleTreeNode.cxx | 404 sal_Bool SAL_CALL AccessibleTreeNode::containsPoint (const awt::Point& aPoint) in containsPoint() argument 409 return (aPoint.X >= 0) in containsPoint() 410 && (aPoint.X < aBBox.Width) in containsPoint() 411 && (aPoint.Y >= 0) in containsPoint() 412 && (aPoint.Y < aBBox.Height); in containsPoint() 419 AccessibleTreeNode::getAccessibleAtPoint (const awt::Point& aPoint) in getAccessibleAtPoint() argument 433 awt::Point aChildPoint(aPoint); in getAccessibleAtPoint() 514 Point aPoint (pWindow->OutputToAbsoluteScreenPixel(Point(0,0))); in getLocationOnScreen() local 515 aLocationOnScreen.X = aPoint.X(); in getLocationOnScreen() 516 aLocationOnScreen.Y = aPoint.Y(); in getLocationOnScreen()
|
/aoo4110/test/testuno/source/fvt/uno/sc/chart/ |
H A D | ChartLegend.java | 208 Point aPoint = legend.getPosition(); in testLegendPosition() local 209 aPoint = new Point(aPoint.X + offset[0], aPoint.Y + offset[1]); in testLegendPosition() 210 legend.setPosition(aPoint); in testLegendPosition() 225 …assertEquals("Incorrect chart legend position X got in ." + fileType + " file.", aPoint.X, resultP… in testLegendPosition() 226 …assertEquals("Incorrect chart legend position Y got in ." + fileType + " file.", aPoint.Y, resultP… in testLegendPosition()
|
/aoo4110/main/svtools/source/table/ |
H A D | mousefunction.cxx | 64 Point const aPoint = i_event.GetPosPixel(); in handleMouseMove() local 70 TableCell const tableCell = i_tableControl.hitTest( aPoint ); in handleMouseMove() 85 if ( ( aPoint.X() > tableSize.Width() ) in handleMouseMove() 86 || ( aPoint.X() < columnMetrics.nStartPixel ) in handleMouseMove() 101 Point( aPoint.X(), 0 ), in handleMouseMove() 142 Point const aPoint = i_event.GetPosPixel(); in handleMouseUp() local 150 long const requestedEnd = aPoint.X(); in handleMouseUp()
|
/aoo4110/main/writerfilter/source/dmapper/ |
H A D | WrapPolygonHandler.cxx | 86 awt::Point aPoint(aIt->X + rPoint.X, aIt->Y + rPoint.Y); in move() local 87 pResult->addPoint(aPoint); in move() 103 awt::Point aPoint(Fraction(aIt->X) * rFractionX, Fraction(aIt->Y) * rFractionY); in scale() local 104 pResult->addPoint(aPoint); in scale() 195 awt::Point aPoint(mnX, mnY); in lcl_sprm() local 196 mpPolygon->addPoint(aPoint); in lcl_sprm()
|