Lines Matching refs:nPntMax

79 inline sal_uInt16 GetPrevPnt(sal_uInt16 nPnt, sal_uInt16 nPntMax, FASTBOOL bClosed)  in GetPrevPnt()  argument
84 nPnt=nPntMax; in GetPrevPnt()
90 inline sal_uInt16 GetNextPnt(sal_uInt16 nPnt, sal_uInt16 nPntMax, FASTBOOL bClosed) in GetNextPnt() argument
93 if (nPnt>nPntMax || (bClosed && nPnt>=nPntMax)) nPnt=0; in GetNextPnt()
105 sal_uInt16 nPntMax; // Maximaler Index member
173 nPntMax=nPntAnz-1; // Maximaler Index in ImpSdrPathDragData()
175 bEndPnt=!bClosed && nPnt==nPntMax; // Gedraggter Punkt ist der Endpunkt einer Polyline in ImpSdrPathDragData()
178 bEndPnt=(nPntAnz<3) || nPnt==nPntMax-1; in ImpSdrPathDragData()
182 if (!bBegPnt) nPrevPnt=GetPrevPnt(nPnt,nPntMax,bClosed); in ImpSdrPathDragData()
183 if (!bEndPnt) nNextPnt=GetNextPnt(nPnt,nPntMax,bClosed); in ImpSdrPathDragData()
185 bNextIsEndPnt=bEndPnt || (!bClosed && nNextPnt==nPntMax); in ImpSdrPathDragData()
188 if (!bPrevIsBegPnt) nPrevPrevPnt=GetPrevPnt(nPrevPnt,nPntMax,bClosed); in ImpSdrPathDragData()
189 if (!bNextIsEndPnt) nNextNextPnt=GetNextPnt(nNextPnt,nPntMax,bClosed); in ImpSdrPathDragData()
1090 sal_uInt16 nPntMax(nPntAnz - 1); in getSpecialDragComment() local
1094 sal_Bool bPt2(nPntNum < nPntMax); in getSpecialDragComment()
1107 nPt1 = nPntMax; in getSpecialDragComment()
1109 if(nPntNum < nPntMax) in getSpecialDragComment()
2098 sal_uInt16 nPntMax = rXPoly.GetPointCount(); in GetPlusHdlCount() local
2099 if (nPntMax>0) in GetPlusHdlCount()
2101 nPntMax--; in GetPlusHdlCount()
2102 if (nPnt<=nPntMax) in GetPlusHdlCount()
2106 if (nPnt==0 && IsClosed()) nPnt=nPntMax; in GetPlusHdlCount()
2108 if (nPnt==nPntMax && IsClosed()) nPnt=0; in GetPlusHdlCount()
2109 if (nPnt<nPntMax && rXPoly.GetFlags(nPnt+1)==XPOLY_CONTROL) nCnt++; in GetPlusHdlCount()
2129 sal_uInt16 nPntMax = rXPoly.GetPointCount(); in GetPlusHdl() local
2131 if (nPntMax>0) in GetPlusHdl()
2133 nPntMax--; in GetPlusHdl()
2134 if (nPnt<=nPntMax) in GetPlusHdl()
2139 if (nPnt==0 && IsClosed()) nPnt=nPntMax; in GetPlusHdl()
2147 if (nPnt==nPntMax && IsClosed()) nPnt=0; in GetPlusHdl()