Lines Matching refs:WIDTH

24 #define WIDTH	640  macro
59 rx1[i]=rand() % (WIDTH/2); in InitRandomPoints()
60 rx2[i]=WIDTH/2+rx1[i]; in InitRandomPoints()
121 af=((float)rx1[i]/(float)(WIDTH/2)); in InitRandomPoints()
165 SetClipNoBorder (screen,0,0,WIDTH-1,HEIGHT-1); in ClearScreen()
169 stepx=1.0f/(WIDTH/2); in ClearScreen()
172 for (x=WIDTH/2; x<WIDTH; x++) { in ClearScreen()
182 hlineRGBA(screen, 0, WIDTH, 20-1, 255,255,255,255); in ClearScreen()
183 hlineRGBA(screen, 0, WIDTH, 60-1, 255,255,255,255); in ClearScreen()
184 hlineRGBA(screen, 0, WIDTH, (HEIGHT-40)/2+40+1, 255,255,255,255); in ClearScreen()
185 hlineRGBA(screen, 0, WIDTH, (HEIGHT-40)/2+60-1, 255,255,255,255); in ClearScreen()
186 vlineRGBA(screen, WIDTH/2, 20, HEIGHT, 255,255,255,255); in ClearScreen()
190 stringRGBA (screen, WIDTH/2-4*strlen(titletext),10-4,titletext,255,255,255,255); in ClearScreen()
192 stringRGBA (screen, WIDTH/4-4*strlen(titletext),50-4,titletext,255,255,255,255); in ClearScreen()
194 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),50-4,titletext,255,255,255,255); in ClearScreen()
196 stringRGBA (screen, WIDTH/4-4*strlen(titletext),(HEIGHT-40)/2+50-4,titletext,255,255,255,255); in ClearScreen()
198 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),(HEIGHT-40)/2+50-4,titletext,255,255,255,255); in ClearScreen()
213 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestPixel()
219 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestPixel()
225 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestPixel()
231 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestPixel()
233 if (rx1[i] < (WIDTH/6)) { in TestPixel()
235 } else if (rx1[i] < (WIDTH/3) ) { in TestPixel()
253 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkPixel()
262 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkPixel()
264 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkPixel()
268 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkPixel()
278 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkPixel()
280 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkPixel()
293 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestHline()
299 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestHline()
305 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestHline()
311 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestHline()
313 if (rx1[i] < (WIDTH/6)) { in TestHline()
315 } else if (rx1[i] < (WIDTH/3) ) { in TestHline()
333 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkHline()
342 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkHline()
344 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkHline()
348 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkHline()
358 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkHline()
360 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkHline()
374 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestVline()
380 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestVline()
386 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestVline()
392 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestVline()
394 if (rx1[i] < (WIDTH/6)) { in TestVline()
396 } else if (rx1[i] < (WIDTH/3) ) { in TestVline()
414 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkVline()
423 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkVline()
425 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkVline()
429 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkVline()
439 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkVline()
441 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkVline()
455 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestRectangle()
461 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestRectangle()
467 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestRectangle()
473 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestRectangle()
475 if (rx1[i] < (WIDTH/6)) { in TestRectangle()
477 } else if (rx1[i] < (WIDTH/3) ) { in TestRectangle()
495 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkRectangle()
504 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkRectangle()
506 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkRectangle()
510 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkRectangle()
520 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkRectangle()
522 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkRectangle()
535 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestRoundedRectangle()
541 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestRoundedRectangle()
547 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestRoundedRectangle()
553 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestRoundedRectangle()
555 if (rx1[i] < (WIDTH/6)) { in TestRoundedRectangle()
557 } else if (rx1[i] < (WIDTH/3) ) { in TestRoundedRectangle()
575 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkRoundedRectangle()
584 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkRoundedRectangle()
586 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkRoundedRectangle()
590 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkRoundedRectangle()
600 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkRoundedRectangle()
602 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkRoundedRectangle()
615 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestRoundedBox()
621 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestRoundedBox()
627 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestRoundedBox()
633 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestRoundedBox()
635 if (rx1[i] < (WIDTH/6)) { in TestRoundedBox()
637 } else if (rx1[i] < (WIDTH/3) ) { in TestRoundedBox()
655 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkRoundedBox()
664 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkRoundedBox()
666 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkRoundedBox()
670 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkRoundedBox()
680 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkRoundedBox()
682 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkRoundedBox()
695 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestBoxTwo()
701 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestBoxTwo()
707 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestBoxTwo()
713 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestBoxTwo()
715 if (rx1[i] < (WIDTH/6)) { in TestBoxTwo()
717 } else if (rx1[i] < (WIDTH/3) ) { in TestBoxTwo()
735 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkBoxTwo()
744 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkBoxTwo()
746 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkBoxTwo()
750 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkBoxTwo()
760 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkBoxTwo()
762 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkBoxTwo()
776 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestBox()
782 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestBox()
788 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestBox()
794 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestBox()
796 if (rx1[i] < (WIDTH/6)) { in TestBox()
798 } else if (rx1[i] < (WIDTH/3) ) { in TestBox()
816 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkBox()
825 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkBox()
827 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkBox()
831 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkBox()
841 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkBox()
843 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkBox()
857 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestLine()
863 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestLine()
869 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestLine()
875 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestLine()
877 if (rx1[i] < (WIDTH/6)) { in TestLine()
879 } else if (rx1[i] < (WIDTH/3) ) { in TestLine()
897 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkLine()
906 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkLine()
908 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkLine()
912 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkLine()
922 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkLine()
924 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkLine()
938 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestAALine()
944 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestAALine()
950 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestAALine()
956 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestAALine()
958 if (rx1[i] < (WIDTH/6)) { in TestAALine()
960 } else if (rx1[i] < (WIDTH/3) ) { in TestAALine()
978 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkAALine()
987 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAALine()
989 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAALine()
993 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkAALine()
1003 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAALine()
1005 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAALine()
1019 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestThickLine()
1025 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestThickLine()
1031 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestThickLine()
1037 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestThickLine()
1039 if (rx1[i] < (WIDTH/6)) { in TestThickLine()
1041 } else if (rx1[i] < (WIDTH/3) ) { in TestThickLine()
1059 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkThickLine()
1068 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkThickLine()
1070 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkThickLine()
1074 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkThickLine()
1084 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkThickLine()
1086 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkThickLine()
1101 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestThickLineAccuracy()
1102 cx = WIDTH/4; in TestThickLineAccuracy()
1111 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestThickLineAccuracy()
1112 cx = WIDTH/2 + WIDTH/4; in TestThickLineAccuracy()
1121 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestThickLineAccuracy()
1122 cx = WIDTH/2 + WIDTH/4; in TestThickLineAccuracy()
1131 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestThickLineAccuracy()
1132 cx = WIDTH/4; in TestThickLineAccuracy()
1135 if (rx1[i] < (WIDTH/6)) { in TestThickLineAccuracy()
1137 } else if (rx1[i] < (WIDTH/3) ) { in TestThickLineAccuracy()
1158 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestCircle()
1164 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestCircle()
1170 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestCircle()
1176 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestCircle()
1178 if (rx1[i] < (WIDTH/6)) { in TestCircle()
1180 } else if (rx1[i] < (WIDTH/3) ) { in TestCircle()
1198 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkCircle()
1207 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkCircle()
1209 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkCircle()
1213 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkCircle()
1223 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkCircle()
1225 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkCircle()
1238 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestAACircle()
1244 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestAACircle()
1250 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestAACircle()
1256 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestAACircle()
1258 if (rx1[i] < (WIDTH/6)) { in TestAACircle()
1260 } else if (rx1[i] < (WIDTH/3) ) { in TestAACircle()
1278 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkAACircle()
1287 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAACircle()
1289 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAACircle()
1293 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkAACircle()
1303 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAACircle()
1305 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAACircle()
1318 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestFilledCircle()
1324 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestFilledCircle()
1330 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestFilledCircle()
1336 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestFilledCircle()
1338 if (rx1[i] < (WIDTH/6)) { in TestFilledCircle()
1340 } else if (rx1[i] < (WIDTH/3) ) { in TestFilledCircle()
1358 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkFilledCircle()
1367 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledCircle()
1369 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledCircle()
1373 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkFilledCircle()
1383 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledCircle()
1385 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledCircle()
1398 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestEllipse()
1404 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestEllipse()
1410 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestEllipse()
1416 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestEllipse()
1418 if (rx1[i] < (WIDTH/6)) { in TestEllipse()
1420 } else if (rx1[i] < (WIDTH/3) ) { in TestEllipse()
1438 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkEllipse()
1447 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkEllipse()
1449 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkEllipse()
1453 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkEllipse()
1463 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkEllipse()
1465 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkEllipse()
1478 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestAAEllipse()
1484 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestAAEllipse()
1490 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestAAEllipse()
1496 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestAAEllipse()
1498 if (rx1[i] < (WIDTH/6)) { in TestAAEllipse()
1500 } else if (rx1[i] < (WIDTH/3) ) { in TestAAEllipse()
1518 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkAAEllipse()
1527 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAAEllipse()
1529 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAAEllipse()
1533 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkAAEllipse()
1543 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAAEllipse()
1545 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAAEllipse()
1558 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestFilledEllipse()
1564 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestFilledEllipse()
1570 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestFilledEllipse()
1576 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestFilledEllipse()
1578 if (rx1[i] < (WIDTH/6)) { in TestFilledEllipse()
1580 } else if (rx1[i] < (WIDTH/3) ) { in TestFilledEllipse()
1598 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkFilledEllipse()
1607 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledEllipse()
1609 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledEllipse()
1613 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkFilledEllipse()
1623 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledEllipse()
1625 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledEllipse()
1638 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestArc()
1644 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestArc()
1650 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestArc()
1656 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestArc()
1658 if (rx1[i] < (WIDTH/6)) { in TestArc()
1660 } else if (rx1[i] < (WIDTH/3) ) { in TestArc()
1678 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkArc()
1687 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkArc()
1689 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkArc()
1693 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkArc()
1703 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkArc()
1705 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkArc()
1718 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestPie()
1724 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestPie()
1730 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestPie()
1736 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestPie()
1738 if (rx1[i] < (WIDTH/6)) { in TestPie()
1740 } else if (rx1[i] < (WIDTH/3) ) { in TestPie()
1758 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkPie()
1767 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkPie()
1769 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkPie()
1773 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkPie()
1783 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkPie()
1785 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkPie()
1798 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestFilledPie()
1804 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestFilledPie()
1810 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestFilledPie()
1816 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestFilledPie()
1818 if (rx1[i] < (WIDTH/6)) { in TestFilledPie()
1820 } else if (rx1[i] < (WIDTH/3) ) { in TestFilledPie()
1838 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkFilledPie()
1847 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledPie()
1849 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledPie()
1853 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkFilledPie()
1863 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledPie()
1865 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledPie()
1878 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestTrigon()
1884 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestTrigon()
1890 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestTrigon()
1896 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestTrigon()
1898 if (rx1[i] < (WIDTH/6)) { in TestTrigon()
1900 } else if (rx1[i] < (WIDTH/3) ) { in TestTrigon()
1922 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkTrigon()
1931 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTrigon()
1933 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTrigon()
1937 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkTrigon()
1947 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTrigon()
1949 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTrigon()
1969 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestTexturedTrigon()
1976 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestTexturedTrigon()
1983 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestTexturedTrigon()
1989 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestTexturedTrigon()
1991 if (rx1[i] < (WIDTH/6)) { in TestTexturedTrigon()
1993 } else if (rx1[i] < (WIDTH/3) ) { in TestTexturedTrigon()
2025 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkTexturedTrigon()
2034 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTexturedTrigon()
2036 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTexturedTrigon()
2041 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkTexturedTrigon()
2051 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTexturedTrigon()
2053 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTexturedTrigon()
2068 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestSquarePolygon()
2075 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestSquarePolygon()
2082 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestSquarePolygon()
2089 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestSquarePolygon()
2091 if (rx1[i] < (WIDTH/6)) { in TestSquarePolygon()
2093 } else if (rx1[i] < (WIDTH/3) ) { in TestSquarePolygon()
2116 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkSquarePolygon()
2125 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkSquarePolygon()
2127 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkSquarePolygon()
2131 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkSquarePolygon()
2141 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkSquarePolygon()
2143 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkSquarePolygon()
2156 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestPolygon()
2162 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestPolygon()
2168 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestPolygon()
2174 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestPolygon()
2176 if (rx1[i] < (WIDTH/6)) { in TestPolygon()
2178 } else if (rx1[i] < (WIDTH/3) ) { in TestPolygon()
2204 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkPolygon()
2213 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkPolygon()
2215 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkPolygon()
2219 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkPolygon()
2229 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkPolygon()
2231 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkPolygon()
2244 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestAAPolygon()
2250 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestAAPolygon()
2256 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestAAPolygon()
2262 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestAAPolygon()
2264 if (rx1[i] < (WIDTH/6)) { in TestAAPolygon()
2266 } else if (rx1[i] < (WIDTH/3) ) { in TestAAPolygon()
2292 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkAAPolygon()
2301 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAAPolygon()
2303 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAAPolygon()
2307 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkAAPolygon()
2317 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkAAPolygon()
2319 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkAAPolygon()
2333 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestFilledPolygon()
2339 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestFilledPolygon()
2345 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestFilledPolygon()
2351 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestFilledPolygon()
2353 if (rx1[i] < (WIDTH/6)) { in TestFilledPolygon()
2355 } else if (rx1[i] < (WIDTH/3) ) { in TestFilledPolygon()
2381 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkFilledPolygon()
2390 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledPolygon()
2392 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledPolygon()
2396 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkFilledPolygon()
2406 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledPolygon()
2408 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledPolygon()
2421 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestFilledSquarePolygon()
2428 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestFilledSquarePolygon()
2435 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestFilledSquarePolygon()
2442 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestFilledSquarePolygon()
2444 if (rx1[i] < (WIDTH/6)) { in TestFilledSquarePolygon()
2446 } else if (rx1[i] < (WIDTH/3) ) { in TestFilledSquarePolygon()
2469 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkFilledSquarePolygon()
2479 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledSquarePolygon()
2481 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledSquarePolygon()
2485 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkFilledSquarePolygon()
2496 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkFilledSquarePolygon()
2498 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkFilledSquarePolygon()
2514 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestTexturedPolygon()
2522 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestTexturedPolygon()
2529 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestTexturedPolygon()
2537 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestTexturedPolygon()
2567 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkTexturedPolygon()
2576 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTexturedPolygon()
2578 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTexturedPolygon()
2582 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkTexturedPolygon()
2593 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTexturedPolygon()
2595 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTexturedPolygon()
2615 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestTexturedSquarePolygon()
2622 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestTexturedSquarePolygon()
2630 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestTexturedSquarePolygon()
2644 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestTexturedSquarePolygon()
2646 if (rx1[i] < (WIDTH/6)) { in TestTexturedSquarePolygon()
2648 } else if (rx1[i] < (WIDTH/3) ) { in TestTexturedSquarePolygon()
2679 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkTexturedSquarePolygon()
2689 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTexturedSquarePolygon()
2691 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTexturedSquarePolygon()
2695 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkTexturedSquarePolygon()
2706 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkTexturedSquarePolygon()
2708 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkTexturedSquarePolygon()
2723 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in TestBezier()
2729 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestBezier()
2735 SetClip(screen,WIDTH/2,80+(HEIGHT-80)/2,WIDTH,HEIGHT); in TestBezier()
2741 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestBezier()
2743 if (rx1[i] < (WIDTH/6)) { in TestBezier()
2745 } else if (rx1[i] < (WIDTH/3) ) { in TestBezier()
2771 SetClip(screen,0,60,WIDTH/2,60+(HEIGHT-80)/2); in BenchmarkBezier()
2780 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkBezier()
2782 stringRGBA (screen, WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkBezier()
2786 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkBezier()
2796 SetClip(screen,0,0,WIDTH-1,HEIGHT-1); in BenchmarkBezier()
2798 stringRGBA (screen, 3*WIDTH/4-4*strlen(titletext),30-4,titletext,255,255,255,255); in BenchmarkBezier()
2855 if ( (screen=SDL_SetVideoMode(WIDTH,HEIGHT,video_bpp,videoflags)) == NULL ) { in main()
2856 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()