diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-02-07 23:03:18 -0500 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-02-07 23:03:18 -0500 |
commit | 27b2cd4101dfcf7d03904204e078b2de84cce8c4 (patch) | |
tree | bc7a8c47aead3b2d86f394f32f42c1da2c0fe045 /include | |
parent | 515bdfef7e5e46f8a32d908ea49c28b0a867c263 (diff) | |
download | freetype2-27b2cd4101dfcf7d03904204e078b2de84cce8c4.tar.gz |
* src/base/ftsynth.c (FT_GlyphSlot_Slant): Add vertical slant.
* include/freetype/ftsynth.h (FT_GlyphSlot_Slant): Update it.
Diffstat (limited to 'include')
-rw-r--r-- | include/freetype/ftsynth.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/freetype/ftsynth.h b/include/freetype/ftsynth.h index feac6acf4..a1277cafc 100644 --- a/include/freetype/ftsynth.h +++ b/include/freetype/ftsynth.h @@ -72,10 +72,12 @@ FT_BEGIN_HEADER FT_EXPORT( void ) FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); - /* Slant an outline glyph by a given sine of an angle. */ + /* Slant an outline glyph by a given sine of an angle. You can apply */ + /* slant along either x- or y-axis. */ FT_EXPORT( void ) FT_GlyphSlot_Slant( FT_GlyphSlot slot, - FT_Fixed slant ); + FT_Fixed xslant, + FT_Fixed yslant ); /* */ |