Lines Matching defs:slant
119 int slant; /* for italic/oblique */
2619 if (context->current_text_controls->slant <= -75 ||
2620 context->current_text_controls->slant >= +75) {
2621 TRACE(("ERROR: unsupported character slant angle %d\n",
2622 context->current_text_controls->slant));
2686 const int slant = context->current_text_controls->slant;
2688 TRACE(("float version: %.5f\n", tan(2.0 * M_PI * abs(slant) / 360.0)));
2689 /* The slant is negative for forward-leaning characters. */
2690 if (slant > 0) {
2691 slant_dx = (int) +(tan(2.0 * M_PI * abs(slant) / 360.0) * ROT_SHEAR_SCALE);
2692 } else if (slant < 0) {
2693 slant_dx = (int) -(tan(2.0 * M_PI * abs(slant) / 360.0) * ROT_SHEAR_SCALE);
2701 TRACE(("character slant: %d (%.5f pixels per line)\n",
2702 slant, slant_dx / (double) ROT_SHEAR_SCALE));
4773 controls->slant = 0;
4790 dst->slant = src->slant;
5010 * (I<angle>) # italic/oblique: no slant (0), lean forward (-1 though -45), lean back (+1 through +45)
6523 context->current_text_controls->slant = italic;