diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-23 14:58:51 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-23 14:58:51 +0000 |
commit | 66f499d9516f60a650a114a865687f4eb9ffaadd (patch) | |
tree | 542273eb682dc25404cb77bb1a85fffc15a8afe3 /unicode/src/lib/freetype/freetype.pas | |
parent | 0d954628b4a8640d71643af095bf3ba205f33a43 (diff) | |
download | usdx-66f499d9516f60a650a114a865687f4eb9ffaadd.tar.gz usdx-66f499d9516f60a650a114a865687f4eb9ffaadd.tar.xz usdx-66f499d9516f60a650a114a865687f4eb9ffaadd.zip |
some missing freetype functions added to headers
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1859 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | unicode/src/lib/freetype/freetype.pas | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/unicode/src/lib/freetype/freetype.pas b/unicode/src/lib/freetype/freetype.pas index dd8a141e..6aaa3b59 100644 --- a/unicode/src/lib/freetype/freetype.pas +++ b/unicode/src/lib/freetype/freetype.pas @@ -55,7 +55,7 @@ uses const {$IF Defined(MSWINDOWS)} - ft_lib = 'libfreetype-6.dll'; + ft_lib = 'freetype6.dll'; {$ELSEIF Defined(DARWIN)} ft_lib = 'libfreetype.dylib'; {$LINKLIB libfreetype} @@ -1813,6 +1813,12 @@ const pixel_height : FT_UInt ) : FT_Error; cdecl; external ft_lib name 'FT_Set_Pixel_Sizes'; +const + FT_ANGLE_PI = 180 shl 16; + FT_ANGLE_2PI = FT_ANGLE_PI * 2; + FT_ANGLE_PI2 = FT_ANGLE_PI div 2; + FT_ANGLE_PI4 = FT_ANGLE_PI div 4; + implementation |