Need gdImageClearAntiAliased function

Issue #114 new
Remi created an issue

We have a gdImageSetAntiAliased to enable Antialiasing.

But no way to disable it.

BGD_DECLARE(void) gdImageClearAntiAliased (gdImagePtr im)
{
    im->AA = 0;
}

Comments (1)

  1. Remi reporter

    Perhaps, also add getter

    BGD_DECLARE(int) gdImageIsAntiAliased (gdImagePtr im)
    {
        return (im->AA);
    }
    
    BGD_DECLARE(int) gdImageGetAntiAliased (gdImagePtr im)
    {
        return (im->AA_color);
    }
    
  2. Log in to comment