Lines Matching refs:pU
953 ImpPathCreateUser* pU = (ImpPathCreateUser*)rDrag.GetUser(); in getSpecialDragComment() local
955 mrSdrPathObject.meKind = pU->eAktKind; in getSpecialDragComment()
962 if(pU->bLine) in getSpecialDragComment()
963 aNow = pU->aLineEnd; in getSpecialDragComment()
970 if(pU->bCircle) in getSpecialDragComment()
972 mrSdrPathObject.GetModel()->TakeWinkStr(Abs(pU->nCircRelWink), aMetr); in getSpecialDragComment()
975 mrSdrPathObject.GetModel()->TakeMetricStr(pU->nCircRadius, aMetr, sal_True); in getSpecialDragComment()
1298 ImpPathCreateUser* pU=new ImpPathCreateUser; in BegCreate() local
1299 pU->eStartKind=meObjectKind; in BegCreate()
1300 pU->eAktKind=meObjectKind; in BegCreate()
1301 rStat.SetUser(pU); in BegCreate()
1307 ImpPathCreateUser* pU=(ImpPathCreateUser*)rStat.GetUser(); in MovCreate() local
1315 if (nInvent==SdrInventor && pU->eAktKind!=(SdrObjKind)nIdent) { in MovCreate()
1324 pU->eAktKind=eNewKind; in MovCreate()
1325 pU->bMixedCreate=sal_True; in MovCreate()
1326 pU->nBezierStartPoint=rXPoly.GetPointCount(); in MovCreate()
1327 if (pU->nBezierStartPoint>0) pU->nBezierStartPoint--; in MovCreate()
1342 FASTBOOL bFreeHand=IsFreeHand(pU->eAktKind); in MovCreate()
1344 …rStat.SetOrtho8Possible(pU->eAktKind!=OBJ_CARC && pU->eAktKind!=OBJ_RECT && (!pU->bMixedCreate || … in MovCreate()
1347 if (!pU->bMixedCreate && pU->eStartKind==OBJ_LINE && rXPoly.GetPointCount()>=1) { in MovCreate()
1357 if (pU->nBezierStartPoint>nActPoint) pU->nBezierStartPoint=nActPoint; in MovCreate()
1374 if (nActPoint-pU->nBezierStartPoint>=3 && ((nActPoint-pU->nBezierStartPoint)%3)==0) { in MovCreate()
1387 pU->nBezierStartPoint=nActPoint; in MovCreate()
1391 pU->ResetFormFlags(); in MovCreate()
1392 if (IsBezier(pU->eAktKind)) { in MovCreate()
1394 …pU->CalcBezier(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],rStat… in MovCreate()
1395 } else if (pU->bBezHasCtrl0) { in MovCreate()
1396 …pU->CalcBezier(rXPoly[nActPoint-1],rXPoly[nActPoint],pU->aBezControl0-rXPoly[nActPoint-1],rStat.Is… in MovCreate()
1399 if (pU->eAktKind==OBJ_CARC && nActPoint>=2) { in MovCreate()
1400 …pU->CalcCircle(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],pView… in MovCreate()
1402 if (pU->eAktKind==OBJ_LINE && nActPoint>=2) { in MovCreate()
1403 pU->CalcLine(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],pView); in MovCreate()
1405 if (pU->eAktKind==OBJ_RECT && nActPoint>=2) { in MovCreate()
1406 pU->CalcRect(rXPoly[nActPoint-1],rXPoly[nActPoint],rXPoly[nActPoint-1]-rXPoly[nActPoint-2],pView); in MovCreate()
1414 ImpPathCreateUser* pU=(ImpPathCreateUser*)rStat.GetUser(); in EndCreate() local
1422 if (!pU->bMixedCreate && pU->eStartKind==OBJ_LINE) { in EndCreate()
1427 delete pU; in EndCreate()
1433 if (!pU->bMixedCreate && IsFreeHand(pU->eStartKind)) { in EndCreate()
1438 delete pU; in EndCreate()
1447 if (pU->nBezierStartPoint>nActPoint) pU->nBezierStartPoint=nActPoint; in EndCreate()
1448 …if (IsBezier(pU->eAktKind) && nActPoint-pU->nBezierStartPoint>=3 && ((nActPoint-pU->nBezierStartPo… in EndCreate()
1459 if (nActPoint==1 && IsBezier(pU->eAktKind) && !pU->bBezHasCtrl0) { in EndCreate()
1460 pU->aBezControl0=rStat.GetNow();; in EndCreate()
1461 pU->bBezHasCtrl0=sal_True; in EndCreate()
1464 if (pU->IsFormFlag()) { in EndCreate()
1467 rXPoly.Insert(XPOLY_APPEND,pU->GetFormPoly()); in EndCreate()
1480 pU->bBezHasCtrl0=sal_False; in EndCreate()
1518 pU->ResetFormFlags(); in EndCreate()
1522 delete pU; in EndCreate()
1530 ImpPathCreateUser* pU=(ImpPathCreateUser*)rStat.GetUser(); in BckCreate() local
1564 pU->ResetFormFlags(); in BckCreate()
1570 ImpPathCreateUser* pU=(ImpPathCreateUser*)rStat.GetUser(); in BrkCreate() local
1573 delete pU; in BrkCreate()
1585 ImpPathCreateUser* pU = (ImpPathCreateUser*)rDrag.GetUser(); in TakeObjectPolyPolygon() local
1588 if(pU->IsFormFlag() && aNewPolygon.count() > 1L) in TakeObjectPolyPolygon()
1597 aNewPolygon.append(pU->GetFormPoly().getB2DPolygon()); in TakeObjectPolyPolygon()
1627 ImpPathCreateUser* pU = (ImpPathCreateUser*)rDrag.GetUser(); in TakeDragPolyPolygon() local
1629 if(pU && pU->bBezier && rDrag.IsMouseDown()) 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()