blob: 8246c8c6394bd07f3282a4733ed5f5cfbe02e816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/**
* add test case for gdImageEllipse
*/
#include "gd.h"
#include "gdtest.h"
int main()
{
gdImagePtr im;
int white = 0;
im = gdImageCreateTrueColor(2200, 2200);
white = gdImageColorAllocate(im, 255, 255, 255);
gdImageEllipse(im, 1100, 1100, 2200, 2200, white);
gdAssertImageEqualsToFile("gdimageellipse/bug00169_exp.png", im);
gdImageDestroy(im);
return gdNumFailures();
}
|