diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-01 19:54:10 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-01 20:03:14 +0200 |
commit | 30453e94b28971558b68c3ca08c0cfca057ff507 (patch) | |
tree | 9ce6014f0b40806a2bd6806ad261d19dafe81f69 /src/gd.c | |
parent | d79ea8f1cb3a24f97c79e1b18ae472293180a5a5 (diff) | |
download | libgd-30453e94b28971558b68c3ca08c0cfca057ff507.tar.gz |
Test and document filling behavior of self-intersecting polygons
Diffstat (limited to 'src/gd.c')
-rw-r--r-- | src/gd.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3467,8 +3467,8 @@ BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c) * * Parameters: * im - The image. - * p - The vertices. - * n - The number of vertices as array of <gdPoint>s. + * p - The vertices as array of <gdPoint>s. + * n - The number of vertices. * c - The color * * See also: @@ -3506,6 +3506,10 @@ BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c) * * Draws a filled polygon * + * The polygon is filled using the even-odd fillrule what can leave unfilled + * regions inside of self-intersecting polygons. This behavior might change in + * a future version. + * * Parameters: * im - The image. * p - The vertices as array of <gdPoint>s. |