/aoo41x/main/tools/inc/tools/ |
H A D | gen.hxx | 172 return (nB > rPoint.nB); in IsAbove() 177 return (nB < rPoint.nB); in IsBelow() 182 return (nA < rPoint.nA); in IsLeft() 187 return (nA > rPoint.nA); in IsRight() 192 nA += rPoint.nA; in operator +=() 193 nB += rPoint.nB; in operator +=() 199 nA -= rPoint.nA; in operator -=() 200 nB -= rPoint.nB; in operator -=() 595 nRight += rPoint.X() - nLeft; in SetPos() 598 nLeft = rPoint.X(); in SetPos() [all …]
|
/aoo41x/main/vcl/unx/generic/printergfx/ |
H A D | text_gfx.cxx | 166 const Point& rPoint, in drawGlyphs() argument 194 const Point& rPoint, in DrawGlyphs() argument 220 Point aPoint( rPoint ); in DrawGlyphs() 225 PSTranslate (rPoint); in DrawGlyphs() 336 const Point& rPoint, in DrawText() argument 394 PSTranslate (rPoint); in DrawText() 403 nCurrentPointX = rPoint.X(); in DrawText() 404 nCurrentPointY = rPoint.Y(); in DrawText() 484 Point aPoint( rPoint ); in drawVerticalizedText() 584 PSMoveTo (rPoint); in LicenseWarning() [all …]
|
H A D | common_gfx.cxx | 403 PSMoveTo (rPoint); in DrawPixel() 404 PSLineTo (Point (rPoint.X ()+1, rPoint.Y ())); in DrawPixel() 405 PSLineTo (Point (rPoint.X ()+1, rPoint.Y ()+1)); in DrawPixel() 406 PSLineTo (Point (rPoint.X (), rPoint.Y ()+1)); in DrawPixel() 879 nChar = psp::getValueOf (rPoint.X(), pPSCommand); in PSPointOp() 892 PrinterGfx::PSTranslate (const Point& rPoint) in PSTranslate() argument 894 PSPointOp (rPoint, "translate"); in PSTranslate() 898 PrinterGfx::PSMoveTo (const Point& rPoint) in PSMoveTo() argument 900 PSPointOp (rPoint, "moveto"); in PSMoveTo() 904 PrinterGfx::PSLineTo (const Point& rPoint) in PSLineTo() argument [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | trvlfrm.cxx | 153 Point aPoint( rPoint ); in GetCrsrOfst() 226 rPoint = aPoint; in GetCrsrOfst() 306 Point aOldPoint = rPoint; in GetCrsrOfst() 402 rPoint = *pPoint; in GetCrsrOfst() 499 rPoint = *pPoint; in GetCrsrOfst() 1160 Point aPoint = rPoint; in GetCntntPos() 1189 aPoint = rPoint; in GetCntntPos() 1308 bVert ? rPoint.X() : rPoint.Y() ) > 0 ) in GetCntntPos() 1318 bVert ? rPoint.X() : rPoint.Y() ) < 0 ) in GetCntntPos() 1340 rPoint = aPoint; in GetCntntPos() [all …]
|
/aoo41x/main/vcl/source/helper/ |
H A D | canvastools.cxx | 468 return geometry::RealPoint2D( rPoint.X(), in point2DFromPoint() 506 return ::Point( FRound( rPoint.getX() ), in pointFromB2DPoint() 507 FRound( rPoint.getY() ) ); in pointFromB2DPoint() 526 return ::Point( rPoint.getX(), in pointFromB2IPoint() 527 rPoint.getY() ); in pointFromB2IPoint() 546 return ::basegfx::B2DPoint( rPoint.X(), in b2DPointFromPoint() 547 rPoint.Y() ); in b2DPointFromPoint() 566 return ::basegfx::B2IPoint( rPoint.X(), in b2IPointFromPoint() 567 rPoint.Y() ); in b2IPointFromPoint() 604 return Point( rPoint.X, in pointFromIntegerPoint2D() [all …]
|
/aoo41x/main/canvas/source/directx/ |
H A D | dx_impltools.cxx | 184 return Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.X), in implGdiPlusPointFromRealPoint2D() 185 static_cast<Gdiplus::REAL>(rPoint.Y) ); in implGdiPlusPointFromRealPoint2D() 216 const ::basegfx::B2DPoint& rPoint( rPoly.getB2DPoint( nCurrPoint ) ); in graphicsPathFromB2DPolygon() local 234 const ::basegfx::B2DPoint& rPoint( rPoly.getB2DPoint(0) ); in graphicsPathFromB2DPolygon() local 283 const ::basegfx::B2DPoint& rPoint( rPoly.getB2DPoint( nCurrPoint ) ); in graphicsPathFromB2DPolygon() local 284 … rPoints[nCurrPoint] = Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.getX()), in graphicsPathFromB2DPolygon() 315 return implGdiPlusPointFromRealPoint2D( rPoint ); in gdiPlusPointFromRealPoint2D() 344 geometry::RealPoint2D realPoint2DFromGdiPlusPointF( const Gdiplus::PointF& rPoint ) in realPoint2DFromGdiPlusPointF() argument 346 return geometry::RealPoint2D( rPoint.X, rPoint.Y ); in realPoint2DFromGdiPlusPointF() 356 ::basegfx::B2DPoint b2dPointFromGdiPlusPointF( const Gdiplus::PointF& rPoint ) in b2dPointFromGdiPlusPointF() argument [all …]
|
/aoo41x/main/starmath/source/ |
H A D | rect.cxx | 568 aRef.X() = rPoint.X(); in OrientedDist() 570 if (rPoint.Y() > GetBottom()) in OrientedDist() 572 else if (rPoint.Y() < GetTop()) in OrientedDist() 575 aRef.Y() = rPoint.Y(); in OrientedDist() 579 Point aDist (aRef - rPoint); in OrientedDist() 590 return rPoint.Y() >= GetTop() in IsInsideRect() 591 && rPoint.Y() <= GetBottom() in IsInsideRect() 592 && rPoint.X() >= GetLeft() in IsInsideRect() 593 && rPoint.X() <= GetRight(); in IsInsideRect() 599 return rPoint.Y() >= GetTop() in IsInsideItalicRect() [all …]
|
/aoo41x/main/svtools/source/filter/wmf/ |
H A D | wmfwr.hxx | 138 void WritePointXY(const Point & rPoint); 139 void WritePointYX(const Point & rPoint); 163 …sal_Bool WMFRecord_Escape_Unicode( const Point& rPoint, const String& rStr, const sal_Int32 * pDXA… 164 void WMFRecord_ExtTextOut(const Point & rPoint, const String & rString, const sal_Int32 * pDXAry); 166 void TrueExtTextOut(const Point & rPoint, const String & rString, 168 void TrueTextOut(const Point & rPoint, const ByteString& rString); 169 void WMFRecord_LineTo(const Point & rPoint); 170 void WMFRecord_MoveTo(const Point & rPoint); 183 void WMFRecord_SetPixel(const Point & rPoint, const Color & rColor); 188 void WMFRecord_SetWindowOrg(const Point & rPoint); [all …]
|
H A D | wmfwr.cxx | 321 void WMFWriter::WritePointXY(const Point & rPoint) in WritePointXY() argument 654 aPolyPoly.Move( rPoint.X(), rPoint.Y() ); in WMFRecord_Escape_Unicode() 674 WMFRecord_TextOut(rPoint, rString); in WMFRecord_ExtTextOut() 686 WritePointYX( rPoint ); in TrueExtTextOut() 723 WritePointYX(rPoint); in WMFRecord_LineTo() 730 WritePointYX(rPoint); in WMFRecord_MoveTo() 861 WritePointYX(rPoint); in WMFRecord_SetPixel() 913 WritePointYX(rPoint); in WMFRecord_SetWindowOrg() 963 WritePointYX(rPoint); in WMFRecord_StretchDIB() 977 TrueTextOut(rPoint, aString); in WMFRecord_TextOut() [all …]
|
/aoo41x/main/basegfx/source/polygon/ |
H A D | b3dpolygontools.cxx | 868 if(bWithBorder && isPointOnPolygon(rCandidate, rPoint, true)) in isInside() 899 const bool bCompZB(fTools::more(aCurrentPoint.getZ(), rPoint.getZ())); in isInside() 917 aCurrentPoint.getY() - (aCurrentPoint.getZ() - rPoint.getZ()) * in isInside() 921 if(fTools::more(fCompare, rPoint.getY())) in isInside() 940 const bool bCompZB(fTools::more(aCurrentPoint.getZ(), rPoint.getZ())); in isInside() 958 aCurrentPoint.getX() - (aCurrentPoint.getZ() - rPoint.getZ()) * in isInside() 962 if(fTools::more(fCompare, rPoint.getX())) in isInside() 999 aCurrentPoint.getX() - (aCurrentPoint.getY() - rPoint.getY()) * in isInside() 1003 if(fTools::more(fCompare, rPoint.getX())) in isInside() 1108 if(isPointOnLine(aCurrentPoint, aNextPoint, rPoint, bWithPoints)) in isPointOnPolygon() [all …]
|
H A D | b2dpolygon.cxx | 783 void append(const basegfx::B2DPoint& rPoint) in append() argument 786 const CoordinateData2D aCoordinate(rPoint); in append() 801 CoordinateData2D aCoordinate(rPoint); in insert() 911 insert(nCount, rPoint, 1); in appendBezierSegment() 1278 mpPolygon->insert(nIndex, rPoint, nCount); in insert() 1286 mpPolygon->insert(mpPolygon->count(), rPoint, nCount); in append() 1290 void B2DPolygon::append(const B2DPoint& rPoint) in append() argument 1292 mpPolygon->append(rPoint); in append() 1400 const B2DPoint& rPoint) in appendBezierSegment() argument 1403 const B2DVector aNewPrevVector(rPrevControlPoint - rPoint); in appendBezierSegment() [all …]
|
/aoo41x/main/sc/source/ui/Accessibility/ |
H A D | AccessibleText.cxx | 67 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const; 68 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const; 124 return pWindow->LogicToPixel( rPoint, rMapMode ); in LogicToPixel() 139 return pWindow->PixelToLogic( rPoint, rMapMode ); in PixelToLogic() 220 Point aPoint( rPoint ); in LogicToPixel() 242 Point aPoint( mpWindow->PixelToLogic( rPoint, rMapMode ) ); in PixelToLogic() 339 Point aPoint1( pWindow->PixelToLogic( rPoint ) ); in PixelToLogic() 642 return mpWindow->LogicToPixel( rPoint, rMapMode ); in LogicToPixel() 653 return mpWindow->PixelToLogic( rPoint, rMapMode ); in PixelToLogic() 1832 return mpWindow->LogicToPixel( rPoint, rMapMode ); in LogicToPixel() [all …]
|
H A D | AccessibleDocumentPagePreview.cxx | 96 uno::Reference<XAccessible> GetAt(const awt::Point& rPoint) const; 280 ScPointFound(const Point& rPoint) : maPoint(rPoint, Size(0, 0)), mnParagraphs(0) {} in ScPointFound() 296 ScPointFound aPointFound(Point(rPoint.X, rPoint.Y)); in GetAt() 309 xAccessible = aItr->mpTextHelper->GetAt(rPoint); in GetAt() 531 virtual Point LogicToPixel (const Point& rPoint) const; 533 virtual Point PixelToLogic (const Point& rPoint) const; 594 aPoint = pWin->LogicToPixel(rPoint, maMapMode) + aRect.TopLeft(); in LogicToPixel() 1043 ScShapePointFound(const awt::Point& rPoint) : maPoint(VCLPoint(rPoint)) {} in ScShapePointFound() 1593 if (containsPoint(rPoint)) in getAccessibleAtPoint() 1632 xAccessible = GetNotesChilds()->GetAt(rPoint); in getAccessibleAtPoint() [all …]
|
/aoo41x/main/vcl/inc/ |
H A D | printergfx.hxx | 293 void PSTranslate (const Point& rPoint); 294 void PSMoveTo (const Point& rPoint); 297 void PSLineTo(const Point& rPoint ); 298 void PSPointOp (const Point& rPoint, const sal_Char* pOperator); 313 void drawVerticalizedText (const Point& rPoint, 317 void drawText (const Point& rPoint, 321 void drawGlyphs( const Point& rPoint, 352 void DrawPixel (const Point& rPoint) in DrawPixel() argument 353 { DrawPixel (rPoint, maLineColor); } in DrawPixel() 409 void DrawText (const Point& rPoint, [all …]
|
/aoo41x/main/basegfx/source/tools/ |
H A D | canvastools.cxx | 460 return geometry::RealPoint2D( rPoint.getX(), in point2DFromB2DPoint() 461 rPoint.getY() ); in point2DFromB2DPoint() 490 return ::basegfx::B2DPoint( rPoint.X, in b2DPointFromRealPoint2D() 491 rPoint.Y ); in b2DPointFromRealPoint2D() 520 return geometry::IntegerPoint2D( rPoint.getX(), in integerPoint2DFromB2IPoint() 538 return ::basegfx::B2IPoint( rPoint.X, in b2IPointFromIntegerPoint2D() 539 rPoint.Y ); in b2IPointFromIntegerPoint2D() 556 return awt::Point( rPoint.getX(), in awtPointFromB2IPoint() 557 rPoint.getY() ); in awtPointFromB2IPoint() 583 return ::basegfx::B2IPoint( rPoint.X, in b2IPointFromAwtPoint() [all …]
|
/aoo41x/main/sw/source/core/bastyp/ |
H A D | swrect.cxx | 183 sal_Bool SwRect::IsInside( const Point& rPoint ) const in IsInside() 185 return (Left() <= rPoint.X()) in IsInside() 186 && (Top() <= rPoint.Y()) in IsInside() 187 && (Right() >= rPoint.X()) in IsInside() 188 && (Bottom()>= rPoint.Y()); in IsInside() 193 sal_Bool SwRect::IsNear( const Point& rPoint, long nTolerance ) const in IsNear() argument 195 return IsInside(rPoint) || in IsNear() 196 (((Left() - nTolerance) <= rPoint.X()) in IsNear() 197 && ((Top() - nTolerance) <= rPoint.Y()) in IsNear() 198 && ((Right() + nTolerance) >= rPoint.X()) in IsNear() [all …]
|
/aoo41x/main/chart2/source/controller/dialogs/ |
H A D | tp_ChartType.cxx | 101 void setPosition( const Point& rPoint ); 163 void setPosition( const Point& rPoint ); 205 m_aCB_3DLook.SetPosPixel(rPoint); in setPosition() 208 Point aLBPos(rPoint); in setPosition() 260 void setPosition( const Point& rPoint ); 290 m_aCB_XValueSorting.SetPosPixel(rPoint); in setPosition() 316 void setPosition( const Point& rPoint ); 376 long nDiffY = rPoint.Y() - aOld.Y(); in setPosition() 377 long nDiffX = rPoint.X() - aOld.X(); in setPosition() 678 long nDiffY = rPoint.Y() - aOld.Y(); in setPosition() [all …]
|
/aoo41x/main/sc/source/filter/xml/ |
H A D | XMLTableShapeResizer.cxx | 131 awt::Point& rPoint, awt::Size& rSize, in GetNewShapeSizePos() argument 149 rPoint.X += aRefPoint.X; in GetNewShapeSizePos() 152 if (rPoint.X < rStartRect.Left()) in GetNewShapeSizePos() 153 …rPoint.X = rStartRect.Left() + 2; // increment by 2 100th_mm because the cellwidth is internal in … in GetNewShapeSizePos() 157 if (rPoint.X > rStartRect.Right()) in GetNewShapeSizePos() 160 rPoint.Y += aRefPoint.Y; in GetNewShapeSizePos() 161 if (rPoint.Y > rStartRect.Bottom()) in GetNewShapeSizePos() 162 …rPoint.Y = rStartRect.Bottom() - 2; // decrement by 2 100th_mm because the cellheight is internal … in GetNewShapeSizePos() 165 rSize.Width = -(rEndX - rPoint.X); in GetNewShapeSizePos() 168 rSize.Width = rEndX - rPoint.X; in GetNewShapeSizePos() [all …]
|
/aoo41x/main/cppcanvas/source/mtfrenderer/ |
H A D | pointaction.cxx | 85 PointAction::PointAction( const ::basegfx::B2DPoint& rPoint, in PointAction() argument 88 maPoint( rPoint ), in PointAction() 96 PointAction::PointAction( const ::basegfx::B2DPoint& rPoint, in PointAction() argument 100 maPoint( rPoint ), in PointAction() 168 ActionSharedPtr PointActionFactory::createPointAction( const ::basegfx::B2DPoint& rPoint, in createPointAction() argument 172 return ActionSharedPtr( new PointAction( rPoint, rCanvas, rState ) ); in createPointAction() 175 ActionSharedPtr PointActionFactory::createPointAction( const ::basegfx::B2DPoint& rPoint, in createPointAction() argument 180 return ActionSharedPtr( new PointAction( rPoint, rCanvas, rState, rColor ) ); in createPointAction()
|
/aoo41x/main/tools/source/generic/ |
H A D | poly.cxx | 1427 mpPoly->mpPointAry[mnSize-1] = rPoint; in Input() 1477 return rPoint.Y() < mnLow ? EDGE_TOP : in VisibleSide() 1486 long md = rPoint.X() - lx; in EdgeSection() 1487 long mn = rPoint.Y() - ly; in EdgeSection() 1549 int nOutside = VisibleSide( rPoint ); in Input() 1553 maFirstPoint = rPoint; in Input() 1556 mrNextFilter.Input( rPoint ); in Input() 1558 else if ( rPoint == maLastPoint ) in Input() 1564 mrNextFilter.Input( rPoint ); in Input() 1574 maLastPoint = rPoint; in Input() [all …]
|
H A D | gen.cxx | 322 sal_Bool Rectangle::IsInside( const Point& rPoint ) const in IsInside() 330 if ( (rPoint.X() < nLeft) || (rPoint.X() > nRight) ) in IsInside() 335 if ( (rPoint.X() > nLeft) || (rPoint.X() < nRight) ) in IsInside() 340 if ( (rPoint.Y() < nTop) || (rPoint.Y() > nBottom) ) in IsInside() 345 if ( (rPoint.Y() > nTop) || (rPoint.Y() < nBottom) ) in IsInside()
|
/aoo41x/main/svx/source/accessibility/ |
H A D | GraphCtlAccessibleContext.cxx | 205 return (rPoint.X >= 0) in containsPoint() 206 && (rPoint.X < aSize.Width) in containsPoint() 207 && (rPoint.Y >= 0) in containsPoint() 208 && (rPoint.Y < aSize.Height); in containsPoint() 221 Point aPnt( rPoint.X, rPoint.Y ); in getAccessibleAtPoint() 982 Point SvxGraphCtrlAccessibleContext::LogicToPixel (const Point& rPoint) const in LogicToPixel() 987 return mpControl->LogicToPixel (rPoint) + aBBox.TopLeft(); in LogicToPixel() 991 return rPoint; in LogicToPixel() 1007 Point SvxGraphCtrlAccessibleContext::PixelToLogic (const Point& rPoint) const in PixelToLogic() 1010 return mpControl->PixelToLogic (rPoint); in PixelToLogic() [all …]
|
/aoo41x/main/basegfx/inc/basegfx/point/ |
H A D | b2dpoint.hxx | 75 B2DPoint(const B2DPoint& rPoint) in B2DPoint() argument 76 : B2DTuple(rPoint) in B2DPoint() 84 B2DPoint(const ::basegfx::B2IPoint& rPoint) in B2DPoint() argument 85 : B2DTuple(rPoint) in B2DPoint() 119 B2DPoint& operator=( const ::basegfx::B2DTuple& rPoint ); 142 B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint );
|
/aoo41x/main/sfx2/source/menu/ |
H A D | mnumgr.cxx | 426 sal_uInt16 SfxPopupMenuManager::Execute( const Point& rPoint, Window* pWindow, va_list pArgs, const… in IMPL_LINK_INLINE_END() 432 sal_uInt16 nId = pPopMenu->Execute( pWindow, rPoint ); in IMPL_LINK_INLINE_END() 443 sal_uInt16 SfxPopupMenuManager::Execute( const Point& rPoint, Window* pWindow, const SfxPoolItem *p… in Execute() argument 450 return (Execute( rPoint, pWindow, pArgs, pArg1 )); in Execute() 525 …enuManager::Popup( const ResId& rResId, SfxViewFrame* pFrame,const Point& rPoint, Window* pWindow ) in Popup() argument 557 aEvent.ExecutePosition.X = rPoint.X(); in Popup() 558 aEvent.ExecutePosition.Y = rPoint.Y(); in Popup() 577 …er::ExecutePopup( const ResId& rResId, SfxViewFrame* pFrame, const Point& rPoint, Window* pWindow ) in ExecutePopup() argument 607 aEvent.ExecutePosition.X = rPoint.X(); in ExecutePopup() 608 aEvent.ExecutePosition.Y = rPoint.Y(); in ExecutePopup() [all …]
|
/aoo41x/main/svx/source/table/ |
H A D | celleditsource.cxx | 829 Point CellEditSourceImpl::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) in LogicToPixel() argument 842 return pForwarder->LogicToPixel( rPoint, rMapMode ); in LogicToPixel() 847 Point aPoint1( rPoint ); in LogicToPixel() 861 Point CellEditSourceImpl::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) in PixelToLogic() argument 874 return pForwarder->PixelToLogic( rPoint, rMapMode ); in PixelToLogic() 880 Point aPoint1( mpWindow->PixelToLogic( rPoint, aMapMode ) ); in PixelToLogic() 1010 Point CellEditSource::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const in LogicToPixel() argument 1012 return mpImpl->LogicToPixel( rPoint, rMapMode ); in LogicToPixel() 1017 Point CellEditSource::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const in PixelToLogic() argument 1019 return mpImpl->PixelToLogic( rPoint, rMapMode ); in PixelToLogic()
|