Changed the entire file structure to remove the .c includes from cairo.c
[phpCairo.git] / testcases / phpCairo / extend-reflect.php
blob1759c82cb32ef8de57af9443580895df48b628b3
1 <?
2 $sur = new CairoImageSurface(FORMAT_ARGB32, 256 + 32*2, 192 + 32*2);
3 $con = new CairoContext($sur);
5 $s = new CairoImageSurface(FORMAT_ARGB32,1,1);
6 $s->createFromPng("romedalen.png");
8 $con->setSourceSurface($s,32,32);
10 $pat = $con->getSource();
11 $pat->setExtend(EXTEND_REFLECT);
12 $con->paint();
14 $sur->writeToPng("extend-reflect-php.png");