| 752 | } |
| 753 | |
| 754 | int renderPolygonTiledGD(imageObj *img, shapeObj *p, imageObj *tile) |
| 755 | { |
| 756 | gdImagePtr ip, tp; |
| 757 | |
| 758 | if(!img || !p || !tile) return MS_FAILURE; |
| 759 | if(!(ip = MS_IMAGE_GET_GDIMAGEPTR(img))) return MS_FAILURE; |
| 760 | if(!(tp = MS_IMAGE_GET_GDIMAGEPTR(tile))) return MS_FAILURE; |
| 761 | gdImageColorTransparent(tp,0); |
| 762 | gdImageSetTile(ip, tp); |
| 763 | imageFilledPolygon(ip, p, gdTiled); |
| 764 | return MS_SUCCESS; |
| 765 | } |
| 766 | |
| 767 | |
| 768 | int initializeRasterBufferGD(rasterBufferObj *rb, int width, int height, int mode) { |
nothing calls this directly
no test coverage detected