Lines Matching refs:wshading
7670 if ((RTS_Debug->wshading == TRUE)
7672 WShading_Emulate (pImage, &wshading->ptr, *transferred,
8127 if ((RTS_Debug->wshading == TRUE) && (scan.scantype == ST_NORMAL))
14028 RTS_Debug->wshading = TRUE;
14145 wshading = malloc (sizeof (struct st_shading));
14146 if (wshading != NULL)
14147 memset (wshading, 0, sizeof (struct st_shading));
14185 if (wshading != NULL)
14187 if (wshading->rates != NULL)
14188 free (wshading->rates);
14190 free (wshading);
14191 wshading = NULL;
14412 if ((wshading->rates != NULL) && (chnptr != NULL))
14414 if (*chnptr < wshading->count)
14431 chncolor *= wshading->rates[*chnptr];
14441 if (*chnptr >= wshading->count)
14553 wshading->ptr = 0;
14554 wshading->count = bytes_per_line / bytes_per_channel;
14556 if (wshading->rates != NULL)
14558 free (wshading->rates);
14559 wshading->rates = NULL;
14561 wshading->rates =
14562 (double *) malloc (sizeof (double) * wshading->count);
14565 for (x = 0; x < wshading->count; x++)
14593 for (x = 0; x < wshading->count; x++)
14599 *(wshading->rates + x) = colors[chn] / prueba;
14625 for (x = 0; x < myscancfg->coord.height * wshading->count; x++)
14631 sumatorio *= wshading->rates[chn];
14640 if (chn == wshading->count)
14656 for (x = 0; x < wshading->count; x++)
14658 snprintf (texto, 1024, "%f", wshading->rates[x]);