Home
last modified time | relevance | path

Searched refs:rPoint (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/trunk/main/tools/inc/tools/
H A Dgen.hxx172 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 …]
/trunk/main/vcl/unx/generic/printergfx/
H A Dtext_gfx.cxx166 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 Dcommon_gfx.cxx403 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 …]
/trunk/main/sw/source/core/layout/
H A Dtrvlfrm.cxx153 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 …]
/trunk/main/vcl/source/helper/
H A Dcanvastools.cxx468 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 …]
/trunk/main/canvas/source/directx/
H A Ddx_impltools.cxx184 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 …]
/trunk/main/starmath/source/
H A Drect.cxx568 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 …]
/trunk/main/basegfx/source/polygon/
H A Db3dpolygontools.cxx868 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 Db2dpolygon.cxx783 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 …]
/trunk/main/svtools/source/filter/wmf/
H A Dwmfwr.hxx138 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 Dwmfwr.cxx321 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 …]
/trunk/main/sc/source/ui/Accessibility/
H A DAccessibleText.cxx67 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 DAccessibleDocumentPagePreview.cxx96 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 …]
/trunk/main/basegfx/source/tools/
H A Dcanvastools.cxx460 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 …]
/trunk/main/vcl/inc/
H A Dprintergfx.hxx293 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 …]
/trunk/main/chart2/source/controller/dialogs/
H A Dtp_ChartType.cxx101 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 …]
/trunk/main/sw/source/core/bastyp/
H A Dswrect.cxx183 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 …]
/trunk/main/sc/source/filter/xml/
H A DXMLTableShapeResizer.cxx131 awt::Point& rPoint, awt::Size& rSize, in GetNewShapeSizePos() argument
149 rPoint.X += aRefPoint.X; in GetNewShapeSizePos()
152 if (rPoint.X < rStartRect.Left()) in GetNewShapeSizePos()
153rPoint.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()
162rPoint.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 …]
/trunk/main/tools/source/generic/
H A Dpoly.cxx1427 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 Dgen.cxx322 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()
/trunk/main/cppcanvas/source/mtfrenderer/
H A Dpointaction.cxx85 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()
/trunk/main/svx/source/accessibility/
H A DGraphCtlAccessibleContext.cxx205 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 …]
/trunk/main/sfx2/source/menu/
H A Dmnumgr.cxx426 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 …]
/trunk/main/basegfx/inc/basegfx/point/
H A Db2dpoint.hxx76 B2DPoint(const B2DPoint& rPoint) in B2DPoint() argument
77 : B2DTuple(rPoint) in B2DPoint()
85 B2DPoint(const ::basegfx::B2IPoint& rPoint) in B2DPoint() argument
86 : B2DTuple(rPoint) in B2DPoint()
120 BASEGFX_DLLPUBLIC B2DPoint& operator=( const ::basegfx::B2DTuple& rPoint );
143 BASEGFX_DLLPUBLIC B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint );
/trunk/main/svx/source/table/
H A Dcelleditsource.cxx829 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()

Completed in 166 milliseconds

12345678910>>...12