Lines Matching refs:nCenter
1033 void XPolygon::CalcSmoothJoin(sal_uInt16 nCenter, sal_uInt16 nDrag, sal_uInt16 nPnt) in CalcSmoothJoin() argument
1051 Point aDiff = pPoints[nDrag] - pPoints[nCenter]; in CalcSmoothJoin()
1052 double fDiv = CalcDistance(nCenter, nDrag); in CalcSmoothJoin()
1056 double fRatio = CalcDistance(nCenter, nPnt) / fDiv; in CalcSmoothJoin()
1058 if ( GetFlags(nCenter) == XPOLY_SMOOTH || !IsControl(nDrag) ) in CalcSmoothJoin()
1063 pPoints[nPnt] = pPoints[nCenter] - aDiff; in CalcSmoothJoin()
1080 void XPolygon::CalcTangent(sal_uInt16 nCenter, sal_uInt16 nPrev, sal_uInt16 nNext) in CalcTangent() argument
1088 const Point& rCenter = pImpXPolygon->pPointAry[nCenter]; in CalcTangent()
1092 double fNextLen = CalcDistance(nCenter, nNext) / fAbsLen; in CalcTangent()
1093 double fPrevLen = CalcDistance(nCenter, nPrev) / fAbsLen; in CalcTangent()
1096 if ( GetFlags(nCenter) == XPOLY_SYMMTR ) in CalcTangent()