Changed the entire file structure to remove the .c includes from cairo.c
[phpCairo.git] / testcases / phpCairo / fill-missed-stop.php
blobf07b62174f8233afd34870510776b485b74152f2
1 <?
2 $sur = new CairoImageSurface(FORMAT_ARGB32, 53, 53);
3 $con = new CairoContext($sur);
5 $con->setSourceRgb(1,0,0);
6 $con->translate(1,1);
7 $con->moveTo(0,0);
8 $con->lineTo(25,50);
9 $con->lineTo(25,0);
10 $con->lineTo(50,25);
11 $con->lineTo(0,25);
12 $con->closePath();
13 $con->fill();
14 $sur->writeToPng("fill-missed-stop-php.png");