mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[draw] Document slant_xy
This commit is contained in:
1 parent
da4758e791
commit
bd05b260af
1 file changed
+6
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user