Source

gd-libgd / src / tests / gdimagefilledellipse / bug00010.c

/* $Id$ */
#include "gd.h"
#include "gdtest.h"

#define exp_img "bug00010_exp.png"

int main()
{
 	gdImagePtr im;
 	int error = 0;

	im = gdImageCreateTrueColor(100,100);
	gdImageFilledEllipse(im, 50,50, 70, 90, 0x50FFFFFF);
	if (!gdAssertImageEqualsToFile(exp_img, im)) {
		error = 1;
	}

 	gdImageDestroy(im);
 	return error;
}