Lines Matching refs:rXPoly
1059 const XPolygon& rXPoly = aPathPolygon[(sal_uInt16)rDrag.GetHdl()->GetPolyNum()]; in getSpecialDragComment() local
1060 sal_uInt16 nPntAnz((sal_uInt16)rXPoly.GetPointCount()); in getSpecialDragComment()
1071 if(rXPoly.IsControl(nPntNum + 1)) in getSpecialDragComment()
1076 aNow -= rXPoly[nRef]; in getSpecialDragComment()
1114 if(bPt1 && rXPoly.IsControl(nPt1)) in getSpecialDragComment()
1117 if(bPt2 && rXPoly.IsControl(nPt2)) in getSpecialDragComment()
1123 aPt -= rXPoly[nPt1]; in getSpecialDragComment()
1144 aPt -= rXPoly[nPt2]; in getSpecialDragComment()
1309 XPolygon& rXPoly=aPathPolygon[aPathPolygon.Count()-1]; in MovCreate() local
1326 pU->nBezierStartPoint=rXPoly.GetPointCount(); in MovCreate()
1333 sal_uInt16 nActPoint=rXPoly.GetPointCount(); in MovCreate()
1335 rXPoly[0]=rStat.GetPos0(); in MovCreate()
1336 rXPoly[1]=rStat.GetNow(); in MovCreate()
1340 rXPoly[0]=rStat.GetPos0(); in MovCreate()
1345 Point aActMerk(rXPoly[nActPoint]); in MovCreate()
1346 rXPoly[nActPoint]=rStat.Now(); in MovCreate()
1347 if (!pU->bMixedCreate && pU->eStartKind==OBJ_LINE && rXPoly.GetPointCount()>=1) { in MovCreate()
1353 rXPoly[0]=aPt; in MovCreate()
1365 Point aPt0(rXPoly[nActPoint-1]); in MovCreate()
1375 rXPoly.PointsToBezier(nActPoint-3); in MovCreate()
1376 rXPoly.SetFlags(nActPoint-1,XPOLY_CONTROL); in MovCreate()
1377 rXPoly.SetFlags(nActPoint-2,XPOLY_CONTROL); in MovCreate()
1379 if (nActPoint>=6 && rXPoly.IsControl(nActPoint-4)) { in MovCreate()
1380 rXPoly.CalcTangent(nActPoint-3,nActPoint-4,nActPoint-2); in MovCreate()
1381 rXPoly.SetFlags(nActPoint-3,XPOLY_SMOOTH); in MovCreate()
1384 rXPoly[nActPoint+1]=rStat.Now(); in MovCreate()
1394 …pU->CalcBezier(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],rStat… in MovCreate()
1396 …pU->CalcBezier(rXPoly[nActPoint-1],rXPoly[nActPoint],pU->aBezControl0-rXPoly[nActPoint-1],rStat.Is… in MovCreate()
1400 …pU->CalcCircle(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],pView… in MovCreate()
1403 pU->CalcLine(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],pView); in MovCreate()
1406 pU->CalcRect(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],pView); in MovCreate()
1418 XPolygon& rXPoly=aPathPolygon[aPathPolygon.Count()-1]; in EndCreate() local
1419 sal_uInt16 nActPoint=rXPoly.GetPointCount()-1; in EndCreate()
1420 Point aAktMerk(rXPoly[nActPoint]); in EndCreate()
1421 rXPoly[nActPoint]=rStat.Now(); in EndCreate()
1445 if (nActPoint==0 || rStat.Now()!=rXPoly[nActPoint-1]) { in EndCreate()
1449 rXPoly.PointsToBezier(nActPoint-3); in EndCreate()
1450 rXPoly.SetFlags(nActPoint-1,XPOLY_CONTROL); in EndCreate()
1451 rXPoly.SetFlags(nActPoint-2,XPOLY_CONTROL); in EndCreate()
1453 if (nActPoint>=6 && rXPoly.IsControl(nActPoint-4)) { in EndCreate()
1454 rXPoly.CalcTangent(nActPoint-3,nActPoint-4,nActPoint-2); in EndCreate()
1455 rXPoly.SetFlags(nActPoint-3,XPOLY_SMOOTH); in EndCreate()
1465 sal_uInt16 nPtAnz0=rXPoly.GetPointCount(); in EndCreate()
1466 … rXPoly.Remove(nActPoint-1,2); // die letzten beiden Punkte entfernen und durch die Form ersetzen in EndCreate()
1467 rXPoly.Insert(XPOLY_APPEND,pU->GetFormPoly()); in EndCreate()
1468 sal_uInt16 nPtAnz1=rXPoly.GetPointCount(); in EndCreate()
1470 if (!rXPoly.IsControl(i)) rStat.NextPoint(); in EndCreate()
1472 nActPoint=rXPoly.GetPointCount()-1; in EndCreate()
1476 rXPoly[nActPoint]=rStat.GetNow(); in EndCreate()
1479 if (rXPoly.GetPointCount()>=2) { in EndCreate()
1482 rXPoly[nActPoint]=rXPoly[0]; in EndCreate()
1532 XPolygon& rXPoly=aPathPolygon[aPathPolygon.Count()-1]; in BckCreate() local
1533 sal_uInt16 nActPoint=rXPoly.GetPointCount(); in BckCreate()
1537 rXPoly.Remove(nActPoint,1); in BckCreate()
1538 if (nActPoint>=3 && rXPoly.IsControl(nActPoint-1)) { in BckCreate()
1540 rXPoly.Remove(nActPoint-1,1); in BckCreate()
1541 if (rXPoly.IsControl(nActPoint-2)) rXPoly.Remove(nActPoint-2,1); in BckCreate()
1544 nActPoint=rXPoly.GetPointCount(); in BckCreate()
1547 if (rXPoly.IsControl(nActPoint-1)) { in BckCreate()
1548 rXPoly.Remove(nActPoint-1,1); in BckCreate()
1549 if (rXPoly.IsControl(nActPoint-2)) rXPoly.Remove(nActPoint-2,1); in BckCreate()
1552 if (rXPoly.GetPointCount()<2) { in BckCreate()
2068 const XPolygon& rXPoly=aOldPathPolygon.GetObject(i); in AddToHdlList() local
2069 sal_uInt16 nPntCnt=rXPoly.GetPointCount(); in AddToHdlList()
2073 if (rXPoly.GetFlags(j)!=XPOLY_CONTROL) { in AddToHdlList()
2074 const Point& rPnt=rXPoly[j]; in AddToHdlList()
2097 const XPolygon& rXPoly = aOldPathPolygon[nPolyNum]; in GetPlusHdlCount() local
2098 sal_uInt16 nPntMax = rXPoly.GetPointCount(); in GetPlusHdlCount()
2104 if (rXPoly.GetFlags(nPnt)!=XPOLY_CONTROL) in GetPlusHdlCount()
2107 if (nPnt>0 && rXPoly.GetFlags(nPnt-1)==XPOLY_CONTROL) nCnt++; in GetPlusHdlCount()
2109 if (nPnt<nPntMax && rXPoly.GetFlags(nPnt+1)==XPOLY_CONTROL) nCnt++; in GetPlusHdlCount()
2128 const XPolygon& rXPoly = aOldPathPolygon[nPolyNum]; in GetPlusHdl() local
2129 sal_uInt16 nPntMax = rXPoly.GetPointCount(); in GetPlusHdl()
2140 if (nPnt>0 && rXPoly.GetFlags(nPnt-1)==XPOLY_CONTROL && nPlusNum==0) in GetPlusHdl()
2142 pHdl->SetPos(rXPoly[nPnt-1]); in GetPlusHdl()
2148 if (nPnt<rXPoly.GetPointCount()-1 && rXPoly.GetFlags(nPnt+1)==XPOLY_CONTROL) in GetPlusHdl()
2150 pHdl->SetPos(rXPoly[nPnt+1]); in GetPlusHdl()