Home
last modified time | relevance | path

Searched refs:aa_steps (Results 1 – 1 of 1) sorted by relevance

/PHP-5.5/ext/gd/
H A Dgd.c4116 long _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0; in PHP_FUNCTION() local
4132 …, &str, &str_len, &fnt, &size, &_fg, &_bg, &x, &y, &space, &width, &angle, &aa_steps) == FAILURE) { in PHP_FUNCTION()
4136 if (aa_steps != 4 && aa_steps != 16) { in PHP_FUNCTION()
4165 for (i = 0; i < aa_steps; i++) { in PHP_FUNCTION()
4166 rd = bg_rd + (double) (fg_rd - bg_rd) / aa_steps * (i + 1); in PHP_FUNCTION()
4167 gr = bg_gr + (double) (fg_gr - bg_gr) / aa_steps * (i + 1); in PHP_FUNCTION()
4168 bl = bg_bl + (double) (fg_bl - bg_bl) / aa_steps * (i + 1); in PHP_FUNCTION()
4169 al = bg_al + (double) (fg_al - bg_al) / aa_steps * (i + 1); in PHP_FUNCTION()
4175 switch (aa_steps) { in PHP_FUNCTION()
4185 …cref(NULL TSRMLS_CC, E_WARNING, "Invalid value %ld as number of steps for antialiasing", aa_steps); in PHP_FUNCTION()

Completed in 15 milliseconds