Changed the entire file structure to remove the .c includes from cairo.c
[phpCairo.git] / testcases / phpCairo / large-font.php
blob0de831e3d4564f06b959b6d6bca0df6f3c1007f5
1 <?
2 $width = 800;
3 $height = 800;
4 $sur = new CairoImageSurface(FORMAT_ARGB32, $width, $height);
5 $con = new CairoContext($sur);
6 $con->setSourceRgb(1,1,1);
7 $con->paint();
8 $con->selectFontFace("Bitstream Vera Sans");
9 $con->setFontSize(10000);
10 $con->setSourceRgb(0,0,0);
11 $con->moveTo(-5000, 5000);
12 $con->showText("xW");
14 $sur->writeToPng("large-font-php.png");