Lines Matching refs:nFirst
955 sal_uInt16 nQuad, sal_uInt16 nFirst) in GenBezArc() argument
958 pPoints[nFirst ] = rCenter; in GenBezArc()
959 pPoints[nFirst+3] = rCenter; in GenBezArc()
972 pPoints[nFirst].X() += nRx; pPoints[nFirst+3].Y() += nRy; in GenBezArc()
976 pPoints[nFirst].Y() += nRy; pPoints[nFirst+3].X() += nRx; in GenBezArc()
978 pPoints[nFirst+1] = pPoints[nFirst]; in GenBezArc()
979 pPoints[nFirst+2] = pPoints[nFirst+3]; in GenBezArc()
983 pPoints[nFirst+1].Y() += nYHdl; pPoints[nFirst+2].X() += nXHdl; in GenBezArc()
987 pPoints[nFirst+1].X() += nXHdl; pPoints[nFirst+2].Y() += nYHdl; in GenBezArc()
990 SubdivideBezier(nFirst, sal_False, (double)nStart / 900); in GenBezArc()
992 SubdivideBezier(nFirst, sal_True, (double)(nEnd-nStart) / (900-nStart)); in GenBezArc()
993 SetFlags(nFirst+1, XPOLY_CONTROL); in GenBezArc()
994 SetFlags(nFirst+2, XPOLY_CONTROL); in GenBezArc()
1118 void XPolygon::PointsToBezier(sal_uInt16 nFirst) in PointsToBezier() argument
1126 if ( nFirst > pImpXPolygon->nPoints - 4 || IsControl(nFirst) || in PointsToBezier()
1127 IsControl(nFirst+1) || IsControl(nFirst+2) || IsControl(nFirst+3) ) in PointsToBezier()
1132 fTx1 = pPoints[nFirst+1].X(); in PointsToBezier()
1133 fTy1 = pPoints[nFirst+1].Y(); in PointsToBezier()
1134 fTx2 = pPoints[nFirst+2].X(); in PointsToBezier()
1135 fTy2 = pPoints[nFirst+2].Y(); in PointsToBezier()
1136 fX0 = pPoints[nFirst ].X(); in PointsToBezier()
1137 fY0 = pPoints[nFirst ].Y(); in PointsToBezier()
1138 fX3 = pPoints[nFirst+3].X(); in PointsToBezier()
1139 fY3 = pPoints[nFirst+3].Y(); in PointsToBezier()
1141 nPart1Length = CalcDistance(nFirst, nFirst+1); in PointsToBezier()
1142 nPart2Length = nPart1Length + CalcDistance(nFirst+1, nFirst+2); in PointsToBezier()
1143 nFullLength = nPart2Length + CalcDistance(nFirst+2, nFirst+3); in PointsToBezier()
1180 pPoints[nFirst+1] = Point((long) fX1, (long) fY1); in PointsToBezier()
1181 pPoints[nFirst+2] = Point((long) fX2, (long) fY2); in PointsToBezier()
1182 SetFlags(nFirst+1, XPOLY_CONTROL); in PointsToBezier()
1183 SetFlags(nFirst+2, XPOLY_CONTROL); in PointsToBezier()