Lines Matching defs:bord
888 int bord = startBord;
891 dest->MoveTo (getPoint(getEdge(bord).st).x);
894 while (bord >= 0)
896 int nPiece = ebData[bord].pieceID;
897 int nPath = ebData[bord].pathID;
902 dest->LineTo (getPoint(getEdge(bord).en).x);
903 bord = swdData[bord].suivParc;
911 dest->LineTo (getPoint(getEdge(bord).en).x);
912 bord = swdData[bord].suivParc;
921 dest->LineTo (getPoint(getEdge(bord).en).x);
922 bord = swdData[bord].suivParc;
926 bord = ReFormeLineTo (bord, curBord, dest, from);
930 bord = ReFormeArcTo (bord, curBord, dest, from);
934 bord = ReFormeCubicTo (bord, curBord, dest, from);
943 bord = ReFormeLineTo (bord, curBord, dest, from);
947 bord = ReFormeBezierTo (bord, curBord, dest, from);
952 bord = ReFormeBezierTo (bord, curBord, dest, from);
957 dest->LineTo (getPoint(getEdge(bord).en).x);
958 bord = swdData[bord].suivParc;
960 if (bord >= 0 && getPoint(getEdge(bord).st).totalDegree() > 2 ) {
962 } else if ( bord >= 0 && getPoint(getEdge(bord).st).oldDegree > 2 && getPoint(getEdge(bord).st).totalDegree() == 2) {
968 int prevEdge=getPoint(getEdge(bord).st).incidentEdge[FIRST];
969 int nextEdge=getPoint(getEdge(bord).st).incidentEdge[LAST];
970 if ( getEdge(prevEdge).en != getEdge(bord).st ) {
993 Shape::ReFormeLineTo (int bord, int /*curBord*/, Path * dest, Path * /*orig*/)
995 int nPiece = ebData[bord].pieceID;
996 int nPath = ebData[bord].pathID;
997 double /*ts=ebData[bord].tSt, */ te = ebData[bord].tEn;
998 Geom::Point nx = getPoint(getEdge(bord).en).x;
999 bord = swdData[bord].suivParc;
1000 while (bord >= 0)
1002 if (getPoint(getEdge(bord).st).totalDegree() > 2
1003 || getPoint(getEdge(bord).st).oldDegree > 2)
1007 if (ebData[bord].pieceID == nPiece && ebData[bord].pathID == nPath)
1009 if (fabs (te - ebData[bord].tSt) > 0.0001)
1011 nx = getPoint(getEdge(bord).en).x;
1012 te = ebData[bord].tEn;
1018 bord = swdData[bord].suivParc;
1023 return bord;
1027 Shape::ReFormeArcTo (int bord, int /*curBord*/, Path * dest, Path * from)
1029 int nPiece = ebData[bord].pieceID;
1030 int nPath = ebData[bord].pathID;
1031 double ts = ebData[bord].tSt, te = ebData[bord].tEn;
1032 // double px=pts[getEdge(bord).st].x,py=pts[getEdge(bord).st].y;
1033 Geom::Point nx = getPoint(getEdge(bord).en).x;
1034 bord = swdData[bord].suivParc;
1035 while (bord >= 0)
1037 if (getPoint(getEdge(bord).st).totalDegree() > 2
1038 || getPoint(getEdge(bord).st).oldDegree > 2)
1042 if (ebData[bord].pieceID == nPiece && ebData[bord].pathID == nPath)
1044 if (fabs (te - ebData[bord].tSt) > 0.0001)
1048 nx = getPoint(getEdge(bord).en).x;
1049 te = ebData[bord].tEn;
1055 bord = swdData[bord].suivParc;
1101 return bord;
1105 Shape::ReFormeCubicTo (int bord, int /*curBord*/, Path * dest, Path * from)
1107 int nPiece = ebData[bord].pieceID;
1108 int nPath = ebData[bord].pathID;
1109 double ts = ebData[bord].tSt, te = ebData[bord].tEn;
1110 Geom::Point nx = getPoint(getEdge(bord).en).x;
1111 bord = swdData[bord].suivParc;
1112 while (bord >= 0)
1114 if (getPoint(getEdge(bord).st).totalDegree() > 2
1115 || getPoint(getEdge(bord).st).oldDegree > 2)
1119 if (ebData[bord].pieceID == nPiece && ebData[bord].pathID == nPath)
1121 if (fabs (te - ebData[bord].tSt) > 0.0001)
1125 nx = getPoint(getEdge(bord).en).x;
1126 te = ebData[bord].tEn;
1132 bord = swdData[bord].suivParc;
1147 return bord;
1151 Shape::ReFormeBezierTo (int bord, int /*curBord*/, Path * dest, Path * from)
1153 int nPiece = ebData[bord].pieceID;
1154 int nPath = ebData[bord].pathID;
1155 double ts = ebData[bord].tSt, te = ebData[bord].tEn;
1157 Geom::Point px = getPoint(getEdge(bord).st).x;
1158 Geom::Point nx = getPoint(getEdge(bord).en).x;
1186 bord = swdData[bord].suivParc;
1188 return bord;
1191 bord = swdData[bord].suivParc;
1192 while (bord >= 0)
1194 if (getPoint(getEdge(bord).st).totalDegree() > 2
1195 || getPoint(getEdge(bord).st).oldDegree > 2)
1199 if (ebData[bord].pathID == nPath)
1201 if (ebData[bord].pieceID < inBezier
1202 || ebData[bord].pieceID >= inBezier + nbInterm)
1204 if (ebData[bord].pieceID == pe
1205 && fabs (te - ebData[bord].tSt) > 0.0001)
1207 if (ebData[bord].pieceID != pe
1208 && (ebData[bord].tSt > 0.0001 && ebData[bord].tSt < 0.9999))
1210 if (ebData[bord].pieceID != pe && (te > 0.0001 && te < 0.9999))
1212 nx = getPoint(getEdge(bord).en).x;
1213 te = ebData[bord].tEn;
1214 pe = ebData[bord].pieceID;
1220 bord = swdData[bord].suivParc;
1390 return bord;