Lines Matching refs:basegfx
524 basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat& rDrag) const;
541 basegfx::B2DPolyPolygon TakeObjectPolyPolygon(const SdrDragStat& rDrag) const;
542 basegfx::B2DPolyPolygon TakeDragPolyPolygon(const SdrDragStat& rDrag) const;
543 …basegfx::B2DPolyPolygon getModifiedPolyPolygon() const { return aPathPolygon.getB2DPolyPolygon();… in getModifiedPolyPolygon()
885 basegfx::B2DPolyPolygon aTempPolyPolygon(aPathPolygon.getB2DPolyPolygon()); in endPathDrag()
890 basegfx::B2DPolygon aCandidate(aTempPolyPolygon.getB2DPolygon(nPoly)); in endPathDrag()
1163 basegfx::B2DPolyPolygon ImpPathForDragAndCreate::getSpecialDragPoly(const SdrDragStat& rDrag) const in getSpecialDragPoly()
1168 return basegfx::B2DPolyPolygon(); in getSpecialDragPoly()
1577 basegfx::B2DPolyPolygon ImpPathForDragAndCreate::TakeObjectPolyPolygon(const SdrDragStat& rDrag) co… in TakeObjectPolyPolygon()
1579 basegfx::B2DPolyPolygon aRetval(aPathPolygon.getB2DPolyPolygon()); in TakeObjectPolyPolygon()
1586 …basegfx::B2DPolygon aNewPolygon(aRetval.count() ? aRetval.getB2DPolygon(aRetval.count() - 1L) : ba… in TakeObjectPolyPolygon()
1594 const basegfx::B2DPoint aSavedPrevCtrlPoint(aNewPolygon.getPrevControlPoint(nChangeIndex)); in TakeObjectPolyPolygon()
1619 basegfx::B2DPolyPolygon ImpPathForDragAndCreate::TakeDragPolyPolygon(const SdrDragStat& rDrag) const in TakeDragPolyPolygon()
1621 basegfx::B2DPolyPolygon aRetval; in TakeDragPolyPolygon()
1632 basegfx::B2DPolygon aHelpline; in TakeDragPolyPolygon()
1633 aHelpline.append(basegfx::B2DPoint(pU->aBezCtrl2.X(), pU->aBezCtrl2.Y())); in TakeDragPolyPolygon()
1634 aHelpline.append(basegfx::B2DPoint(pU->aBezEnd.X(), pU->aBezEnd.Y())); in TakeDragPolyPolygon()
1689 SdrPathObj::SdrPathObj(SdrObjKind eNewKind, const basegfx::B2DPolyPolygon& rPathPoly) in SdrPathObj()
1703 sal_Bool ImpIsLine(const basegfx::B2DPolyPolygon& rPolyPolygon) in ImpIsLine()
1708 Rectangle ImpGetBoundRect(const basegfx::B2DPolyPolygon& rPolyPolygon) in ImpGetBoundRect()
1710 basegfx::B2DRange aRange(basegfx::tools::getRange(rPolyPolygon)); in ImpGetBoundRect()
1721 const basegfx::B2DPolygon aPoly(GetPathPoly().getB2DPolygon(0L)); in ImpForceLineWink()
1722 const basegfx::B2DPoint aB2DPoint0(aPoly.getB2DPoint(0L)); in ImpForceLineWink()
1723 const basegfx::B2DPoint aB2DPoint1(aPoly.getB2DPoint(1L)); in ImpForceLineWink()
1812 basegfx::B2DPolygon aCandidate(maPathPolygon.getB2DPolygon(a)); in ImpForceKind()
1821 basegfx::tools::openWithGeometryChange(aCandidate); in ImpForceKind()
1825 basegfx::tools::closeWithGeometryChange(aCandidate); in ImpForceKind()
1899 const basegfx::B2DPolygon aPoly(GetPathPoly().getB2DPolygon(0L)); in TakeObjNameSingul()
1900 const basegfx::B2DPoint aB2DPoint0(aPoly.getB2DPoint(0L)); in TakeObjNameSingul()
1901 const basegfx::B2DPoint aB2DPoint1(aPoly.getB2DPoint(1L)); in TakeObjNameSingul()
2019 basegfx::B2DPolyPolygon SdrPathObj::TakeXorPoly() const in TakeXorPoly()
2228 basegfx::B2DPolyPolygon SdrPathObj::getSpecialDragPoly(const SdrDragStat& rDrag) const in getSpecialDragPoly()
2230 basegfx::B2DPolyPolygon aRetval; in getSpecialDragPoly()
2277 const basegfx::B2DPolygon aCandidate(GetPathPoly().getB2DPolygon(0)); in EndCreate()
2283 …const basegfx::B2DVector aDistVector(aCandidate.getB2DPoint(aCandidate.count() - 1) - aCandidate.g… in EndCreate()
2313 basegfx::B2DPolyPolygon SdrPathObj::TakeCreatePoly(const SdrDragStat& rDrag) const in TakeCreatePoly()
2315 basegfx::B2DPolyPolygon aRetval; in TakeCreatePoly()
2327 basegfx::B2DPolyPolygon SdrPathObj::getObjectPolyPolygon(const SdrDragStat& rDrag) const in getObjectPolyPolygon()
2329 basegfx::B2DPolyPolygon aRetval; in getObjectPolyPolygon()
2339 basegfx::B2DPolyPolygon SdrPathObj::getDragPolyPolygon(const SdrDragStat& rDrag) const in getDragPolyPolygon()
2341 basegfx::B2DPolyPolygon aRetval; in getDragPolyPolygon()
2358 … maPathPolygon.transform(basegfx::tools::createTranslateB2DHomMatrix(rSiz.Width(), rSiz.Height())); in NbcMove()
2366 basegfx::B2DHomMatrix aTrans(basegfx::tools::createTranslateB2DHomMatrix(-rRef.X(), -rRef.Y())); in NbcResize()
2367 aTrans = basegfx::tools::createScaleTranslateB2DHomMatrix( in NbcResize()
2378 …const basegfx::B2DHomMatrix aTrans(basegfx::tools::createRotateAroundPoint(rRef.X(), rRef.Y(), -nW… in NbcRotate()
2387 …basegfx::B2DHomMatrix aTrans(basegfx::tools::createTranslateB2DHomMatrix(-rRefPnt.X(), -rRefPnt.Y(… in NbcShear()
2411 …basegfx::B2DHomMatrix aTrans(basegfx::tools::createTranslateB2DHomMatrix(-rRefPnt1.X(), -rRefPnt1.… in NbcMirror()
2485 const basegfx::B2DPoint aB2DPoint(GetPathPoly().getB2DPolygon(nPoly).getB2DPoint(nPnt)); in GetSnapPoint()
2514 const basegfx::B2DPolygon aPoly(GetPathPoly().getB2DPolygon(nPoly)); in GetPoint()
2515 const basegfx::B2DPoint aPoint(aPoly.getB2DPoint(nPnt)); in GetPoint()
2528 basegfx::B2DPolygon aNewPolygon(GetPathPoly().getB2DPolygon(nPoly)); in NbcSetPoint()
2529 aNewPolygon.setB2DPoint(nPnt, basegfx::B2DPoint(rPnt.X(), rPnt.Y())); in NbcSetPoint()
2560 const basegfx::B2DPoint aTestPoint(rPos.X(), rPos.Y()); in NbcInsPointOld()
2564 …basegfx::tools::getSmallestDistancePointToPolyPolygon(GetPathPoly(), aTestPoint, nSmallestPolyInde… in NbcInsPointOld()
2587 basegfx::B2DPolygon aNewPoly; in NbcInsPoint()
2588 const basegfx::B2DPoint aPoint(rPos.X(), rPos.Y()); in NbcInsPoint()
2598 const basegfx::B2DPoint aTestPoint(rPos.X(), rPos.Y()); in NbcInsPoint()
2602 …basegfx::tools::getSmallestDistancePointToPolyPolygon(GetPathPoly(), aTestPoint, nSmallestPolyInde… in NbcInsPoint()
2603 basegfx::B2DPolygon aCandidate(GetPathPoly().getB2DPolygon(nSmallestPolyIndex)); in NbcInsPoint()
2656 basegfx::B2DCubicBezier aBezierA, aBezierB; in NbcInsPoint()
2657 const basegfx::B2DCubicBezier aBezier( in NbcInsPoint()
2669 const basegfx::B2DVector aOffset(aTestPoint - aBezierA.getEndPoint()); in NbcInsPoint()
2699 const basegfx::B2DPolyPolygon aLocalPolyPolygon(GetPathPoly()); in RipPoint()
2706 const basegfx::B2DPolygon aCandidate(aLocalPolyPolygon.getB2DPolygon(nPoly)); in RipPoint()
2715 basegfx::B2DPolygon aNewPolygon(basegfx::tools::makeStartPoint(aCandidate, nPnt)); in RipPoint()
2716 SetPathPoly(basegfx::B2DPolyPolygon(aNewPolygon)); in RipPoint()
2727 basegfx::B2DPolygon aSplitPolyA(aCandidate, 0L, nPnt + 1L); in RipPoint()
2728 SetPathPoly(basegfx::B2DPolyPolygon(aSplitPolyA)); in RipPoint()
2731 basegfx::B2DPolygon aSplitPolyB(aCandidate, nPnt, nPointCount - nPnt); in RipPoint()
2732 pNewObj->SetPathPoly(basegfx::B2DPolyPolygon(aSplitPolyB)); in RipPoint()
2763 pPath->SetPathPoly(basegfx::tools::adaptiveSubdivideByAngle(pPath->GetPathPoly())); in DoConvertToPolyObj()
2771 pPath->SetPathPoly(basegfx::tools::expandToCurve(pPath->GetPathPoly())); in DoConvertToPolyObj()
2806 void SdrPathObj::NbcSetPathPoly(const basegfx::B2DPolyPolygon& rPathPoly) in NbcSetPathPoly()
2816 void SdrPathObj::SetPathPoly(const basegfx::B2DPolyPolygon& rPathPoly) in SetPathPoly()
2876 sal_Bool SdrPathObj::TRGetBaseGeometry(basegfx::B2DHomMatrix& rMatrix, basegfx::B2DPolyPolygon& rPo… in TRGetBaseGeometry()
2880 basegfx::B2DTuple aScale(1.0, 1.0); in TRGetBaseGeometry()
2881 basegfx::B2DTuple aTranslate(0.0, 0.0); in TRGetBaseGeometry()
2886 basegfx::B2DHomMatrix aMoveToZeroMatrix; in TRGetBaseGeometry()
2896 const basegfx::B2DRange aPolyRangeNoCurve(basegfx::tools::getRange(rPolyPolygon)); in TRGetBaseGeometry()
2913 basegfx::B2DHomMatrix aObjectMatrix; in TRGetBaseGeometry()
2918 basegfx::B2DHomMatrix aInvObjectMatrix(aObjectMatrix); in TRGetBaseGeometry()
2928 const basegfx::B2DRange aCorrectedRangeNoCurve(basegfx::tools::getRange(rPolyPolygon)); in TRGetBaseGeometry()
2942 const basegfx::B2DRange aPolyRangeNoCurve(basegfx::tools::getRange(rPolyPolygon)); in TRGetBaseGeometry()
2960 aTranslate -= basegfx::B2DTuple(GetAnchorPos().X(), GetAnchorPos().Y()); in TRGetBaseGeometry()
2981 basegfx::B2DHomMatrix aTwipsToMM; in TRGetBaseGeometry()
2996 rMatrix = basegfx::tools::createScaleShearXRotateTranslateB2DHomMatrix( in TRGetBaseGeometry()
2998 basegfx::fTools::equalZero(fShearX) ? 0.0 : tan(fShearX), in TRGetBaseGeometry()
2999 basegfx::fTools::equalZero(fRotate) ? 0.0 : -fRotate, in TRGetBaseGeometry()
3008 void SdrPathObj::TRSetBaseGeometry(const basegfx::B2DHomMatrix& rMatrix, const basegfx::B2DPolyPoly… in TRSetBaseGeometry()
3011 basegfx::B2DTuple aScale; in TRSetBaseGeometry()
3012 basegfx::B2DTuple aTranslate; in TRSetBaseGeometry()
3018 if(basegfx::fTools::less(aScale.getX(), 0.0) && basegfx::fTools::less(aScale.getY(), 0.0)) in TRSetBaseGeometry()
3026 basegfx::B2DPolyPolygon aNewPolyPolygon(rPolyPolygon); in TRSetBaseGeometry()
3051 basegfx::B2DHomMatrix aMMToTwips; in TRSetBaseGeometry()
3070 aTranslate += basegfx::B2DTuple(GetAnchorPos().X(), GetAnchorPos().Y()); in TRSetBaseGeometry()
3075 basegfx::B2DHomMatrix aTransform; in TRSetBaseGeometry()
3080 if(basegfx::fTools::less(aScale.getX(), 0.0) || basegfx::fTools::less(aScale.getY(), 0.0)) in TRSetBaseGeometry()
3083 basegfx::fTools::less(aScale.getX(), 0.0) ? -1.0 : 1.0, in TRSetBaseGeometry()
3084 basegfx::fTools::less(aScale.getY(), 0.0) ? -1.0 : 1.0); in TRSetBaseGeometry()
3087 if(!basegfx::fTools::equalZero(fShearX)) in TRSetBaseGeometry()
3094 if(!basegfx::fTools::equalZero(fRotate)) in TRSetBaseGeometry()
3111 const basegfx::B2DRange aCurrentRange(basegfx::tools::getRange(aNewPolyPolygon)); in TRSetBaseGeometry()