Lines Matching refs:halftone
3301 char *mode, *halftone, *gamma, *edge, *lightcolor, *adf_fsu;
3437 halftone = s->val[OPT_HALFTONE].s;
3481 if (strcmp(halftone, M_BILEVEL) == 0)
3483 s->halftone = 1;
3486 else if (strcmp(halftone, M_BAYER) == 0)
3488 s->halftone = 2;
3491 else if (strcmp(halftone, M_SPIRAL) == 0)
3493 s->halftone = 3;
3496 else if (strcmp(halftone, M_DISPERSED) == 0)
3498 s->halftone = 4;
3501 else if (strcmp(halftone, M_ERRDIFFUSION) == 0)
3503 s->halftone = 5;
3515 if (strcmp(halftone, M_BILEVEL) == 0)
3517 s->halftone = 1;
3520 else if (strcmp(halftone, M_BAYER) == 0)
3522 s->halftone = 2;
3525 else if (strcmp(halftone, M_SPIRAL) == 0)
3527 s->halftone = 3;
3530 else if (strcmp(halftone, M_DISPERSED) == 0)
3532 s->halftone = 4;
3535 else if (strcmp(halftone, M_ERRDIFFUSION) == 0)
3537 s->halftone = 5;
3752 wp.wdb.ht_pattern[1] = s->halftone;