Lines Matching defs:iphase
905 int iphase;
1022 for (iphase = (pGC->lineStyle == LineDoubleDash); iphase >= 0; iphase--) {
1027 if (iphase == 1) {
1037 for (i = 0; i < polyArcs[iphase].narcs; i++) {
1040 arcData = &polyArcs[iphase].arcs[i];
1052 if (polyArcs[iphase].arcs[i].render) {
1055 if (polyArcs[iphase].arcs[i].selfJoin &&
1056 cap[iphase] < polyArcs[iphase].arcs[i].cap)
1057 cap[iphase]++;
1058 while (cap[iphase] < polyArcs[iphase].arcs[i].cap) {
1062 arcIndex = polyArcs[iphase].caps[cap[iphase]].arcIndex;
1063 end = polyArcs[iphase].caps[cap[iphase]].end;
1064 arcData0 = &polyArcs[iphase].arcs[arcIndex];
1070 ++cap[iphase];
1072 while (join[iphase] < polyArcs[iphase].arcs[i].join) {
1078 joinp = &polyArcs[iphase].joins[join[iphase]];
1096 ++join[iphase];
1807 int iphase;
1809 for (iphase = ((pGC->lineStyle == LineDoubleDash) ? 1 : 0);
1810 iphase >= 0; iphase--) {
1811 if (arcs[iphase].narcs > 0)
1812 free(arcs[iphase].arcs);
1813 if (arcs[iphase].njoins > 0)
1814 free(arcs[iphase].joins);
1815 if (arcs[iphase].ncaps > 0)
1816 free(arcs[iphase].caps);
1884 int iphase, prevphase = 0, joinphase;
1925 for (iphase = 0; iphase < (isDoubleDash ? 2 : 1); iphase++) {
1926 arcs[iphase].njoins = 0;
1927 arcs[iphase].joins = 0;
1928 joinSize[iphase] = 0;
1930 arcs[iphase].ncaps = 0;
1931 arcs[iphase].caps = 0;
1932 capSize[iphase] = 0;
1934 arcs[iphase].narcs = 0;
1935 arcs[iphase].arcs = 0;
1936 arcSize[iphase] = 0;
1939 iphase = 0;
1946 iphase = iphase ? 0 : 1;
1960 iphaseStart = iphase;
1969 if (iphase == 0 || isDoubleDash)
1970 addCap(&arcs[iphase].caps, &arcs[iphase].ncaps,
1971 &capSize[iphase], RIGHT_END, 0);
2038 selfJoin = data[i].selfJoin && (iphase == 0 || isDoubleDash);
2071 if (iphase == 0 || isDoubleDash) {
2095 arc = addArc(&arcs[iphase].arcs, &arcs[iphase].narcs,
2096 &arcSize[iphase], &xarc);
2104 addCap(&arcs[iphase].caps,
2105 &arcs[iphase].ncaps,
2106 &capSize[iphase], RIGHT_END,
2107 arc - arcs[iphase].arcs);
2111 addCap(&arcs[iphase].caps,
2112 &arcs[iphase].ncaps,
2113 &capSize[iphase], LEFT_END,
2114 arc - arcs[iphase].arcs);
2117 arc->cap = arcs[iphase].ncaps;
2118 arc->join = arcs[iphase].njoins;
2124 prevphase = iphase;
2129 iphase = iphase ? 0 : 1;
2138 prevphase = iphase;
2139 if (!isDoubleDash && iphase == 1)
2151 arc = addArc(&arcs[iphase].arcs, &arcs[iphase].narcs,
2152 &arcSize[iphase], &parcs[i]);
2155 arc->join = arcs[iphase].njoins;
2156 arc->cap = arcs[iphase].ncaps;
2158 prevphase = iphase;
2162 if (iphase == 0 || isDoubleDash)
2163 nextk = arcs[iphase].narcs;
2168 iphase = iphaseStart;
2183 (prevphase == 0 || isDoubleDash) && (iphase == 0 || isDoubleDash)) {
2184 joinphase = iphase;
2202 LEFT_END, k, prevphase, RIGHT_END, nextk, iphase);
2218 iphase = iphaseStart;
2221 nextk = arcs[iphase].narcs;
2225 iphase = iphaseStart;
2237 if ((iphase == 0 || isDoubleDash) &&
2239 addCap(&arcs[iphase].caps, &arcs[iphase].ncaps,
2240 &capSize[iphase], RIGHT_END, nextk);
2249 for (iphase = 0; iphase < (isDoubleDash ? 2 : 1); iphase++)
2250 if (arcs[iphase].narcs > 0) {
2251 arcs[iphase].arcs[arcs[iphase].narcs - 1].render = 1;
2252 arcs[iphase].arcs[arcs[iphase].narcs - 1].join =
2253 arcs[iphase].njoins;
2254 arcs[iphase].arcs[arcs[iphase].narcs - 1].cap = arcs[iphase].ncaps;