Lines Matching defs:ins

260   XmuScanline *z, *p, *Z, *P, *ins, *top;
283 ins = XmuNewScanline(dst->scanline->y, 0, 0);
285 XmuScanlineCopy(ins, dst->scanline);
309 if (ins->y >= top->y
311 || (ins->y <= P->y && !XmuScanlineEqu(ins, P))))
314 XmuScanlineOr(q, ins);
316 XmuScanlineXor(q, ins);
319 && (top->y == p->y || top->y > ins->y
323 || XmuScanlineEqu(ins, top)))
330 if (ins->y != p->y && p->y != P->y)
332 XmuScanlineCopy(ins, p);
333 ins->y = p->y;
363 if (top->y == ins->y && top->y != z->y)
368 if (ins->y != z->y)
370 XmuScanlineCopy(ins, z);
371 ins->y = z->y;
378 else if (ins->y != z->y)
380 XmuScanlineCopy(ins, z);
381 ins->y = z->y;
396 else if (ins->y > top->y && !XmuValidScanline(z)
397 && XmuValidScanline(ins))
399 XmuScanlineCopy(top, ins);
400 top->y = ins->y;
404 XmuDestroyScanline(ins);
869 XmuSegment *z, *p, ins;
881 ins.x1 = src->x1;
882 ins.x2 = src->x2;
889 XmuSegment *q = XmuNewSegment(ins.x1, ins.x2);
897 else if (ins.x2 < z->x1)
899 XmuSegment *q = XmuNewSegment(ins.x1, ins.x2);
913 else if (ins.x2 <= z->x2)
915 z->x1 = XmuMin(z->x1, ins.x1);
918 else if (ins.x1 <= z->x2)
920 ins.x1 = XmuMin(z->x1, ins.x1);
923 z->x1 = ins.x1;
924 z->x2 = ins.x2;
1028 XmuSegment *p, *z, ins;
1040 ins.x1 = src->x1;
1041 ins.x2 = src->x2;
1046 if (!XmuValidSegment((&ins)))
1048 if (!z || ins.x2 < z->x1)
1050 XmuSegment *q = XmuNewSegment(ins.x1, ins.x2);
1059 else if (ins.x2 == z->x1)
1061 z->x1 = ins.x1;
1064 else if (ins.x1 < z->x2)
1066 if (ins.x1 < z->x1)
1068 tmp1 = ins.x2;
1070 ins.x2 = XmuMax(ins.x2, z->x2);
1072 z->x1 = ins.x1;
1073 ins.x1 = XmuMin(tmp1, tmp2);
1075 else if (ins.x1 > z->x1)
1077 tmp1 = ins.x1;
1078 ins.x1 = XmuMin(ins.x2, z->x2);
1079 ins.x2 = XmuMax(z->x2, ins.x2);
1082 else /* ins.x1 == z->x1 */
1084 if (ins.x2 < z->x2)
1086 z->x1 = ins.x2;
1091 ins.x1 = z->x2;
1102 else if (ins.x1 == z->x2)
1104 ins.x1 = z->x1;
1137 XmuSegment *z, *p, *Z, ins;
1149 ins.x1 = Z->x1;
1150 ins.x2 = Z->x2;
1155 while (!XmuValidSegment((&ins)))
1159 ins.x1 = Z->x1;
1160 ins.x2 = Z->x2;
1164 XmuSegment *q = XmuNewSegment(ins.x1, ins.x2);
1177 else if (ins.x2 < z->x1)
1179 XmuSegment *r = XmuNewSegment(ins.x1, ins.x2);
1197 ins.x1 = Z->x1;
1198 ins.x2 = Z->x2;
1202 else if (ins.x2 <= z->x2)
1204 z->x1 = XmuMin(z->x1, ins.x1);
1210 ins.x1 = Z->x1;
1211 ins.x2 = Z->x2;
1215 else if (ins.x1 <= z->x2)
1217 ins.x1 = XmuMin(z->x1, ins.x1);
1220 z->x1 = ins.x1;
1221 z->x2 = ins.x2;
1350 XmuSegment *z, *p, *Z, ins;
1369 ins.x1 = Z->x1;
1370 ins.x2 = Z->x2;
1375 while (!XmuValidSegment((&ins)))
1379 ins.x1 = Z->x1;
1380 ins.x2 = Z->x2;
1384 XmuSegment *q = XmuNewSegment(ins.x1, ins.x2);
1395 else if (ins.x2 < z->x1)
1397 XmuSegment *q = XmuNewSegment(ins.x1, ins.x2);
1408 ins.x1 = Z->x1;
1409 ins.x2 = Z->x2;
1412 else if (ins.x2 == z->x1)
1414 z->x1 = ins.x1;
1417 ins.x1 = Z->x1;
1418 ins.x2 = Z->x2;
1421 else if (ins.x1 < z->x2)
1423 if (ins.x1 == z->x1)
1425 if (ins.x2 < z->x2)
1427 z->x1 = ins.x2;
1430 ins.x1 = Z->x1;
1431 ins.x2 = Z->x2;
1436 ins.x1 = z->x2;
1450 XmuSegment *q = XmuNewSegment(XmuMin(ins.x1, z->x1),
1451 XmuMax(z->x1, ins.x1));
1458 ins.x1 = z->x2;
1459 z->x1 = ins.x2;
1465 tmp1 = ins.x2;
1467 ins.x2 = XmuMax(ins.x2, z->x2);
1468 z->x2 = XmuMax(z->x1, ins.x1);
1469 z->x1 = XmuMin(ins.x1, z->x1);
1470 ins.x1 = XmuMin(tmp1, tmp2);
1474 else if (ins.x1 == z->x2)
1476 ins.x1 = z->x1;