diff --git a/src/hb-draw.h b/src/hb-draw.h index 89ef1b22a..3308f230f 100644 --- a/src/hb-draw.h +++ b/src/hb-draw.h @@ -45,6 +45,12 @@ HB_BEGIN_DECLS * * Current drawing state. * + * The @slant_xy is a slanting factor for synthetic oblique. If the font's + * oblique angle is not 0, this factor is used to slant the drawing. For + * fonts with uniform x and y scales, this factor is calculated as + * tan(oblique_angle). For fonts with non-uniform scales, this factor is + * calculated as tan(oblique_angle) * x_scale / y_scale, or 0 if y_scale is 0. + * * Since: 4.0.0 **/ typedef struct hb_draw_state_t {